mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-14 19:27:01 -04:00
New crate lightcraft-geocode (L1): parses the GeoNames cities dump and finds the nearest place within 50 km through a 1-degree cell index; NaN / out-of-range positions and malformed lines find nothing. Engine commands metadata.reverseGeocode (Photo menu, Info panel "Fill Location"; fills only empty fields unless overwrite, one undo step, activity row for batches), metadata.downloadPlaceNames (background download of the CC-BY 4.0 GeoNames files into the settings folder, cancellable activity row) and metadata.placeNamesStatus. No data is bundled; NOTICE records the licence. Fixes #582. Sources: GeoNames dump readme (prose); haversine (textbook); PKWARE APPNOTE (ZIP, prose); cell index own design. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
58 lines
3.7 KiB
Plaintext
58 lines
3.7 KiB
Plaintext
LightCraft
|
|
Copyright (c) 2026 ArtCraft Team and the LightCraft contributors.
|
|
Licensed under the MIT License or the Apache License, Version 2.0, at your option
|
|
(LICENSE-MIT, LICENSE-APACHE).
|
|
|
|
The ArtCraft name, wordmark and logos in docs/brand/ are trademarks of the ArtCraft Team. They are
|
|
not open source and are not covered by the license above; their terms are in
|
|
docs/brand/LICENSE-brand.txt.
|
|
|
|
Third-party material
|
|
|
|
This product bundles third-party material under its own licenses, listed below. The per-file
|
|
list (author, source, license) is in assets/ATTRIBUTION.md.
|
|
|
|
Inter (assets/fonts/Inter-*.ttf) — SIL Open Font License 1.1. See assets/fonts/OFL-Inter.txt.
|
|
Showcase photographs by Ansel Adams, Dorothea Lange and NASA (docs/images/) — public domain. See assets/ATTRIBUTION.md.
|
|
|
|
crates/raw/src/spectral_table.rs (lightcraft-raw) holds camera colour matrices derived from the
|
|
camera spectral sensitivities, training reflectances and model alias list of rawtoaces-data
|
|
(https://github.com/AcademySoftwareFoundation/rawtoaces-data, v1.1.0), an Academy Software
|
|
Foundation project licensed under the Apache License 2.0, and from the CIE 1931 colour-matching
|
|
functions it ships (CIE, CC-BY-4.0). The matrices were fitted by the LightCraft contributors
|
|
(2026) with tools/spectral_camera_table.py. See assets/ATTRIBUTION.md.
|
|
|
|
crates/segment (lightcraft-segment) ports the SAM 3 model code of Hugging Face Transformers
|
|
(https://github.com/huggingface/transformers, src/transformers/models/sam3 and sam3_tracker),
|
|
Copyright The HuggingFace Team and Meta Platforms, Inc., licensed under the Apache License 2.0.
|
|
The port was modified by the LightCraft contributors (2026): translated from Python/PyTorch to
|
|
Rust on candle and restructured; each ported file says so. Because of this, crates/segment is
|
|
licensed under the Apache License 2.0 only (LICENSE-APACHE), not under the MIT option.
|
|
|
|
The SAM 3 weights are not part of LightCraft and are never distributed with it. A user downloads
|
|
the facebook/sam3 checkpoint only when they choose to (in the app, or by hand), under Meta's SAM
|
|
License (https://github.com/facebookresearch/sam3/blob/main/LICENSE), a separate, non-OSI
|
|
licence. See docs/ai-masks.md.
|
|
|
|
AI denoise weights are not part of LightCraft and are never distributed with it.
|
|
The default build offers user-supplied models only. The optional rawnind-model
|
|
feature offers a separately downloaded RawNIND UtNet2 Bayer checkpoint under
|
|
GPL-3.0 (https://www.gnu.org/licenses/gpl-3.0.html), after the user accepts its terms.
|
|
Commercial use is subject to those terms, including applicable source, licence and
|
|
notice obligations on redistribution. Enabling that offer in releases remains a
|
|
maintainer decision. The ONNX reader and CPU/GPU executor are our Rust implementation;
|
|
no darktable, RawSpeed, LibRaw or other GPL decoder/runtime code is included.
|
|
|
|
Builds made with craft-fonts (the optional CRAFT_FONTS_DIR build input; all official releases)
|
|
also embed the fonts listed in https://github.com/storytold/craft-fonts/blob/main/ATTRIBUTION.md
|
|
(the Japanese fonts BIZ UDPGothic, BIZ UDMincho and Shippori Mincho; the web build embeds only BIZ
|
|
UDPGothic Regular), under the SIL Open Font License 1.1. Release packages include each font's
|
|
licence as OFL-<family>.txt.
|
|
|
|
Place names for reverse geocoding (Photo > Fill Location from GPS) are not part of LightCraft and
|
|
are never distributed with it. On the user's request (Photo > Download Place Names) the app
|
|
downloads cities15000.zip, admin1CodesASCII.txt and countryInfo.txt from GeoNames
|
|
(https://download.geonames.org/export/dump/) into the settings folder. GeoNames data is licensed
|
|
under Creative Commons Attribution 4.0 (https://creativecommons.org/licenses/by/4.0/);
|
|
attribution: "GeoNames, geonames.org". The lookup code (crates/geocode) is our own.
|