Damselfly – A Photo Management System
Damselfly is a server-based Digital Photograph Management system. Damselfly is designed to manage a large, folder-based collection of photographs, with a particular focus on fast search and keyword-tagging workflow.
Damselfly includes powerful Machine Learning functions which can help you identify photographs and their subjects, including face detection, object detection, and (with an optional Azure Face Services account) full facial recognition – allowing you to tag people once, and have Damselfly identify other photos in which they appear.
The user-interface and workflow is loosely based on the much-loved Google Picasa app, with a basket to select images for export and other types of processing. Damselfly also provides a desktop/client app which gives closer integraton with your laptop or PC, allowing you to quickly sync a selection of images from the Damselfly basket to a local folder, for editing etc.
- Support for most image formats including JPG, PNG, HEIC, TIFF, Webp, BMP and DNG/CR2 (RAW) files.
- AI / Computer vision image recognition:
- Facial detection
- Object detection and recognition
- Image Classification
- Facial Recognition (requires a free Azure Face Services account)
- Full-text search with multi-phrase partial-word searches
- Advanced search – filter by:
- Find visually similar images
- Date ranges
- Objects/Faces/Identified faces
- Camera/Lens Make/Model
- File Size
- Images with no keyword tags
- Focus on extremely fast performance – searching a 500,000-image catalogue returns results in less than a second.
- Fast keyword tagging workflow with non-destructive EXIF data updates (using ExifTool) – so JPEGs are not re-encoded when keyword-tagged
- Multi-user support with user accounts, and role-based entitlements (e.g., users with ReadOnly role are prevented from keyword-tagging images)
- Download/export processing to watermark images ready for social media, or sending via Email etc.
- Selection basket for saving images from search results:
- Images within the basket can be downloaded, exported for use within Digikam/PhotoShop/etc., or uploaded to WordPress
- Baskets can be user-specific, or shared with other users
- Server-based deployment, with a web-based front-end UI, so the image library can be accessed via multiple devices without having to copy catalogues or other DBs to local device storage.
- Exclude images from Damselfly scanning by adding a
.nomediafile in any folder.
- Completely automated background indexing of images, so that the collection is automatically and quickly updated when new images are added or updated
- Background thumbnail generation
- Electron.Net Desktop Client for hosted site to allow closer native integration with client OS
- Desktop Client versions for MacOS (universal), Windows and Linux
- Synchronise images from server basket select to local filesystem for editing
- Other integrations coming in future
- Runs on Windows, Linux and OSX, and in Docker.
- Built with Microsoft .Net 6, Blazor Server and EFCore 6.
Want to Support Damselfly?
Damselfly is free, open-source software. But if you find it useful, and fancy buying me a coffee or a slice of pizza, that would be appreciated!
- Image de-duplication (in progress)
- Direct upload to Social media platforms, Google Drive, etc.
- Support for more image formats, and possibly video
- Direct sharing to social media (Twitter, Facebook etc)
- Support for selection and upload to Alamy Stock Image photo service
- Simple non-destructive editing/manipulation – cropping, colour adjustment etc
- Synchronisation of local images back to the server
- If you have ideas for other features – let me know by raising an issue!
How should I use Damselfly? What’s the workflow?
The photos live in the library on the server, but whenever you want to work on a picture (e.g., in Photoshop, Digikam or your editing tool of choice) you use the Damselfly Deskop app to add the images to the basket, and choose Download => Save Locally, to sync the pictures across the network to your local folder. Once you’ve finished editing, copy them back to the server (a future feature enhancement will let Damselfly do this for you) where the server will re-index them to pick up your changes.
- Images are copied onto a laptop for initial sorting, quality checks, and IPTC tagging using Picasa or Digikam
- Rclone script syncs the new images across the LAN to the network share
- Damselfly automatically picks up the new images and indexes them (and generates thumbnails) within 30 minutes
- Images are now searchable in Damselfly and can be added to the Damselfly ‘basket’ with a single click
- Images in the basket can be copied back to the desktop/laptop for local editing in Lightroom/On1/Digikam/etc.
- Use the Damselfly Desktop client to write the files directly to the local filesystem in the same structure as on the server.
- Export to a zip file to download and extract into the local image folder for additional editing
- Re-sync using RClone to push the images back to the collection [Future enhancement: Damselfly Desktop App will do this for you]
Thanks and Credits
- PumpkinBeth (my wife) for taking the photo that appears in Damselfly’s logo, and for providing the original inspiration to build Damselfly – as well as the 600,000 photos and counting which make excellent test data!
- SkiaSharp Fast library for Thumbnail generation
- SixLabors ImageSharp Portable library for Thumbnail generation
- Drew Noakes’ MetadataExtractor, for IPTC and other image meta-data indexing
- Phil Harvey’s ExifTool which Damselfly uses for all of the EXIF write operations
- MudBlazor for their excellent Blazor component library
- EmguCV for their Face and Object detection Haar classifier models
- Azure Cognitive Services for their Face-recognition engine
- Accord.Net for additional Face recognition libraries
- Font Awesome for their Awesome icons
- Chris Sainty for Blazored Modal and Typeahead, and all his excellent info on Blazor
- Serilog.Net for logging
- Wisne for Infinite Scroll inspiration