Credits
Lumenkorn would not exist without the work of many people who share their code, models and data openly. Thank you to everyone who works on these projects.
AI models
Downloaded on demand from within the app, not shipped with it. Face recognition deliberately does not use the common InsightFace models, because their license only allows non-commercial use.
| Model | Authors and source | Used for | License |
|---|---|---|---|
| CLIP ViT-B/32 | OpenAI; ONNX: Xenova | keywords, search by content, “is there an animal?” | MIT |
| BioCLIP 2 | Imageomics Institute (Gu et al., NeurIPS 2025); ONNX: DrayPrescot/bioclip2-onnx | animal species | MIT |
| IS-Net / DIS | Xuebin Qin et al.; via rembg | subject mask | Apache-2.0 |
| Segment Anything 2.1 | Meta AI; ONNX: onnx-community | object mask by click, outlines of people and animals | Apache-2.0 |
| skyseg | xiongzhu666, based on U²-Net | sky mask | MIT |
| OWLv2 | Google Research; ONNX: Xenova | finding people and animals for masks | Apache-2.0 |
| MediaPipe Selfie Multiclass | Google; ONNX: senty-au | hair, skin and clothes masks | Apache-2.0 |
| MediaPipe Face Mesh V2 | Google; ONNX: QtMeshEditor | eye, lip and brow masks, closed eyes when culling | Apache-2.0 |
| DRUNet | Kai Zhang et al. (KAIR) | noise reduction | MIT |
| LaMa | Samsung AI; via OpenCV Model Zoo | removing objects | Apache-2.0 |
| 2xNomosUni Compact | Philip Hofmann (Phhofm/models); network SRVGGNetCompact from Real-ESRGAN (Xintao Wang et al., BSD-3-Clause); converted to ONNX on your computer | super resolution | CC BY 4.0 |
| YuNet | Shiqi Yu et al.; OpenCV Model Zoo | finding faces | MIT |
| SFace | Yaoyao Zhong et al.; OpenCV Model Zoo | recognising people | Apache-2.0 |
Libraries in the app
| Project | Used for | License |
|---|---|---|
| Tauri + plugins | app shell, windows, dialogs, updates | MIT / Apache-2.0 |
| Svelte | user interface | MIT |
| rawler (dnglab) | reading RAW files | LGPL-2.1 |
| darktable | RAW development: highlight reconstruction, demosaicing, color calibration, sigmoid (translated to Rust) | GPL-3.0-or-later |
| rawspeed camera data | sensor white and black levels | LGPL-2.1-or-later |
| wgpu | image processing on the GPU | MIT / Apache-2.0 |
| ONNX Runtime via ort | running the AI models | MIT / Apache-2.0 |
| Dawn, DirectX Shader Compiler | WebGPU build of ONNX Runtime | BSD-3-Clause, NCSA |
| SQLite via rusqlite | catalog and search index | Public domain / MIT |
| image, jpeg-encoder, exrs | reading and writing JPEG, PNG, TIFF, WebP, OpenEXR | MIT / Apache-2.0, IJG, BSD-3-Clause |
| kamadak-exif, quick-xml | EXIF and XMP metadata, WebDAV | BSD-2-Clause, MIT |
| Rayon | parallel processing | MIT / Apache-2.0 |
| notify, walkdir, trash | watching and scanning folders, system trash | CC0-1.0, MIT / Unlicense, MIT |
| BLAKE3, RustCrypto sha2 | content hashes, download checksums | CC0-1.0 / Apache-2.0, MIT / Apache-2.0 |
| ureq | downloads, map, Nextcloud | MIT / Apache-2.0 |
| keyring-core | Nextcloud password in the system credential store | MIT / Apache-2.0 |
| fontdb | system fonts for the photo album | MIT |
| tiny_http | interface for AI agents (MCP) | MIT / Apache-2.0 |
| Mediabunny | writing the slideshow video (MP4) | MPL-2.0 |
| Leaflet + markercluster | map display | BSD-2-Clause, MIT |
| serde, flate2, tar, zip, half, bytemuck, pollster, regex, log, env_logger, thiserror, libloading, dirs, base64 | settings, archives, GPU buffers, logging and more | MIT / Apache-2.0, ISC |
Not open source, but needed: on Windows the interface runs in Microsoft WebView2, which is part of Windows, and the GPU build of ONNX Runtime needs the Microsoft Visual C++ Redistributable. Neither is shipped with Lumenkorn.
Data, maps and fonts
| Project | Used for | License |
|---|---|---|
| Lensfun database | lens profiles | CC BY-SA 3.0 |
| iNaturalist | which animals the species list contains (most observed species) and their classification | API terms of use |
| Wikidata | German and English animal names | CC0 |
| Natural Earth | countries, places, mountains, rivers and lakes for the maps in the album and the slideshow | Public domain |
| OpenStreetMap and Nominatim | map tiles, place search, place names (online service) | ODbL, CC BY-SA 2.0 |
| Instrument Sans, Lora via Fontsource | fonts of the app, this website and the photo album | OFL-1.1 |
Published methods
Lumenkorn implements these methods itself, partly by translating code (darktable).
- From darktable (translated to Rust): RCD demosaicing (Luis Sanz Rodríguez), the highlight reconstruction “inpaint opposed” (garagecoder and Iain from the G'MIC team, Hanno Schwalm), color calibration with CAT16 and the sigmoid tone mapper.
- Markesteijn demosaicing for X-Trans (Frank Markesteijn), through rawler.
- Oklab and Oklch (Björn Ottosson) for HSL, color ranges and color grading.
- Dark channel prior (Kaiming He et al.) as the basis of dehaze.
- Lens models of Lensfun/Hugin, the DNG opcodes WarpRectilinear and FixVignetteRadial, the meaning of Sony's correction data as worked out by darktable and RawTherapee, and Panasonic's distortion data following Raphaël Rigo (trou/panasonic-rw2).
- Harris corners, BRIEF descriptors, RANSAC and Hartley normalization for aligning photos; Laplacian pyramids (Burt and Adelson) for focus stacking.
- Back-projection (Michal Irani and Shmuel Peleg), so that super resolution keeps the colors and brightness of the original.
Development and testing
Used to build and test Lumenkorn: TypeScript, Vite, svelte-check, Vitest, Tauri CLI, Mesa, tempfile, OpenImageIO-images.
The README on GitHub has the complete list with every library. In the app, ⓘ (About Lumenkorn) at the bottom left shows it too.