Now with a modern web interface and a macOS app
March 15, 2026 · Oliver Kümmel
TL;DR
My OM-1 Macro Focus Stacking Pipeline is now available as a native macOS app. Instead of typing commands in Terminal, there's a web interface with previews, live progress and much simpler installation.
From command line to app
In my previous article, I explained how I use Python scripts to create focus stacks from OM-1 RAW series automatically. It worked — but let's call it developer-friendly.
The problems were familiar:
- Typing commands into Terminal
- Setting up a Python environment
- Very little visual feedback
- Rather intimidating for anyone who isn't into this sort of thing
The answer: version 4.0.
What's new?
A proper web interface
Instead of a black Terminal window, there's now a responsive web interface with:
- Thumbnail previews of detected image sequences
- Checkbox selection for the series you want to process
- Live progress and real-time logs
- Statistics such as processing time and success rate
A native macOS app
The pipeline now comes as an actual .app:
# Before:
cd ~/Projects/stacking
source venv/bin/activate
python3 macro_stacking.py --watch /Volumes/SD-CARD
# Now:
# Double-click "OM-1 Stacking Pipeline.app" — that's it.
Installation is straightforward:
- Download the DMG
- Move the app to
/Applications - Double-click it; your browser opens automatically
Performance improvements
Smarter image handling:
- Uses out-of-camera JPEGs when available, avoiding unnecessary conversions
- Converts RAW files only when needed
- Caches thumbnails so subsequent scans are much faster
For comparison, these were my measurements during development:
Before (v3): 10 images → about 90 seconds
Now (v4): 10 images → about 15 seconds
Better Helicon integration
The pipeline talks to Helicon Focus through its command-line interface:
# Configuration in ~/.stacking_config.yaml
helicon_method: C # Pyramid method
helicon_radius: 8 # Adjustable radius
helicon_smoothing: 4 # Smoother transitions
In my tests, Method C took longer but produced noticeably better results than the older focus-stack approach.
The new workflow
1. Insert the SD card
The app looks for mounted SD cards containing a DCIM folder.
2. Review your sequences
For every detected sequence, it generates a thumbnail from the first image and shows:
- Number of images
- When the sequence was shot
- Duration of the sequence
3. Select and stack
Choose sequences with checkboxes or use Select All and Select None. A live log shows exactly what's happening:
[21:35:42] → Series 1: 12 images
[21:35:43] ✓ Series 1: Prepared 12 images (8 OOC JPG, 4 converted)
[21:35:44] → Series 1: Stacking with Helicon Focus (Method C)...
[21:36:07] ✓ Series 1: Stack created in 23.4s → stack_20260315_213542.jpg
4. Done
The finished stacks end up in ~/Pictures/Stacked/, with:
- EXIF metadata, including date, image count and software
- Sensible filenames such as
stack_YYYYMMDD_HHMMSS.jpg - A macOS notification when processing finishes
Technical details
Architecture
Web UI (HTML/CSS/JavaScript)
- Thumbnails
- Live updates via WebSocket
|
Flask + SocketIO backend
- Series detection
- Image processing
- Progress tracking
|
Processing pipeline
- ImageMagick (RAW to JPG)
- Helicon Focus (stacking)
- exiftool (metadata)
Building the macOS app with py2app
I'm using py2app to build the application:
# setup.py
setup(
app=['macro_stacking_web_v4.1.py'],
options={'py2app': {
'packages': ['flask', 'flask_socketio', 'PIL'],
'iconfile': 'resources/app_icon.icns',
'plist': {
'CFBundleName': 'OM-1 Stacking Pipeline',
'LSApplicationCategoryType': 'public.app-category.photography',
}
}}
)
Build it with:
python3 setup.py py2app
The result is a standalone application of roughly 50 MB, bundling Python and its dependencies. The snippet above illustrates the build configuration; it isn't a complete standalone setup.py file.
Thumbnail caching
Each thumbnail gets a cache key derived from:
- Filename
- File size
- Modification time
cache_key = f"{filename}_{size}_{mtime}"
cache_hash = hashlib.md5(cache_key.encode()).hexdigest()[:16]
# Example destination:
# ~/.stacking_cache/thumbnails/<cache_hash>.jpg
This means I don't have to regenerate all the thumbnails every time I insert the same card.
Version 3 versus version 4
| Feature | v3 (CLI/Tkinter) | v4 (Web + app) |
|---|---|---|
| Installation | Python, pip, virtual environment | DMG, drag and drop |
| Interface | Terminal or Tkinter | Web browser |
| Thumbnails | Slow, no cache | Fast, cached |
| Progress | Text output | Live log and progress bar |
| Controls | Mostly keyboard | Point and click |
| Portability | Python required | Standalone app |
| Updates | git pull |
Auto-update planned |
A real example: mushroom macro
My setup:
- OM-1 and M.Zuiko 60 mm Macro
- Focus bracketing: 15 images, step 3
- Handheld
- RAW + JPEG
The workflow:
- Shoot: roughly 30 seconds for 15 frames
- Insert SD card: 5 seconds
- Launch app: 2 seconds; the browser opens
- Select sequence: 3 seconds
- Stack: 18 seconds using Helicon Method C
- Done: import the result into Lightroom
In that particular test, the whole process took about a minute from shooting to a finished stack.
The difference is visible too:
Single frame at the middle focus plane:
- Sharp area around 2 mm
- Foreground and background blurred
Stacked result:
- Sharp area around 15 mm
- Much more of the subject sharp from front to back
- No noticeable ghosting artifacts in this example
These are observations from this example, not guaranteed timings or optical results for every subject.
Installation and setup
Requirements
# Homebrew tools
brew install imagemagick exiftool
# Helicon Focus (trial or license)
# Download: https://www.heliconsoft.com
Installing the app
- Download: GitHub releases
- Open the DMG and drag the app into
/Applications - First launch: if Gatekeeper requires it, use macOS's normal Open confirmation
- Your browser opens with the app interface
Configuration
The configuration lives in ~/.stacking_config.yaml:
output_dir: ~/Pictures/Stacked
helicon_method: C
helicon_radius: 8
time_threshold: 30 # Seconds between images
min_images: 3 # Minimum number per sequence
For quicker trial runs, I use helicon_method: A.
Tips and tricks
Getting the shots right
OM-1 focus bracketing settings:
Mode: Focus BKT
Number: 10–30 (depending on the subject)
Focus step: 3–5 (smaller means more overlap)
Interval: 0 s (as fast as possible)
Camera settings:
- Enable RAW + JPEG for faster thumbnails
- Use image stabilisation as appropriate for your setup
- Use a 2-second self-timer or remote release if the camera is stationary
- Prefer manual exposure to keep frames consistent
Tuning performance
Fast workflow:
jpg_converter: imagemagick
output_format: jpg
helicon_method: A
Quality-focused workflow:
helicon_method: C
output_quality: 95
output_format: tiff
Troubleshooting
Thumbnails aren't being generated
# Check ImageMagick
magick --version
# Test RAW conversion
magick P3150001.ORF -resize 200x133 test.jpg
Helicon can't be found
# Check the application path
ls /Applications/HeliconFocus.app/Contents/MacOS/HeliconFocus
# Update your configuration
nano ~/.stacking_config.yaml
Image sequences aren't recognised
time_threshold: 60 # Instead of 30
min_images: 2 # Instead of 3
What I'd like to add next
At the time of writing, these were ideas on my roadmap, not promises of completed features.
Planned for v4.2 (Q2 2026)
- Automatic updates
- Presets for different workflows
- Batch export to Lightroom and Capture One
- GPU-assisted RAW conversion
Planned for v5.0 (Q3 2026)
- Windows and Linux support
- Optional cloud processing
- AI-assisted focus optimisation
- Plug-in system for other stacking engines
Community wish list
- Depth-map export for 3D models
- Side-by-side view of single frame and finished stack
- Direct uploads to Flickr or 500px
- A mobile companion app
If any of those sound useful, open a feature request on GitHub.
Final thoughts
Version 4 makes my OM-1 Stacking Pipeline much more approachable:
- No need to know your way around Terminal
- Visual progress you can actually follow
- Faster handling thanks to caching and smart conversion
- Better results in my workflow with Helicon Focus
- A native macOS app instead of a collection of scripts
From SD card to a finished stack in roughly a minute — at least with the smaller example I tested.
Download and links
- Project: okuemmel/om1-stacking-pipeline
- Download: Latest release
- Documentation: README.md
- Build instructions: BUILD.md
License: MIT — open source and free to use.
For questions, problems or feature ideas, the GitHub issue tracker is the best place. Pull requests are welcome.
The project is also discussed here on kuemmel.xyz.
Example gallery: two shooting setups
I haven't embedded a before-and-after gallery in this post, but here are two examples of the sort of sequences the pipeline is meant for.
Example 1: mushroom macro
- Camera: OM-1 with M.Zuiko 90 mm f/3.5
- Images: 15 frames, step 3
- Stacking: Helicon Method C
- Processing time: 18 seconds in my example
Example 2: insect close-up
- Camera: OM-1 with M.Zuiko 60 mm f/2.8
- Images: 30 frames, step 2
- Stacking: Helicon Method C
- Processing time: 35 seconds in my example
Happy stacking.
A version of this article is also available on GitHub.