Skip to main content

Module services

Module services 

Source
Expand description

Application services

Re-exports§

pub use burst_detector::BurstConfig;
pub use burst_detector::BurstDetector;
pub use document_detector::DocumentDetector;
pub use drive_detector::DriveDetector;
pub use drive_detector::DriveInfo;
pub use duplicate_detector::DuplicateDetector;
pub use face_processor::EmbedderRoute;
pub use face_processor::FaceProcessingProgress;
pub use face_processor::FaceProcessingResult;
pub use face_processor::FaceProcessingStage;
pub use face_processor::FaceProcessor;
pub use geocoding::GeocodingService;
pub use library_health::LibraryHealth;
pub use memories::MemoryCard;
pub use metadata_processor::MetadataProgress;
pub use ocr_processor::OcrProcessor;
pub use ocr_processor::OcrProgress;
pub use photo_stacks::PhotoStackService;
pub use photo_stacks::StackRefreshResult;
pub use reindexer::ApplyResult;
pub use reindexer::IndexChanges;
pub use reindexer::Reindexer;
pub use scanner::ScanProgress;
pub use search::AlbumHit;
pub use search::PersonHit;
pub use search::PlaceHit;
pub use search::SearchResult;
pub use search::SearchService;
pub use search::UnifiedSearchResults;
pub use semantic::SemanticIndexCache;
pub use semantic::SemanticIndexStats;
pub use semantic::SemanticModelRunner;
pub use semantic::SemanticSearchService;
pub use semantic::SemanticStatus;
pub use thumbnail::ThumbnailService;
pub use thumbnail::ThumbnailSize;
pub use tile_cache::TileCache;
pub use trash::TrashService;
pub use trash::TrashStats;

Modules§

album_suggestions
Album suggestion detection service.
assistant
Assistant photo tools.
burst_detector
Burst photo detection - groups near-duplicate photos taken in short sessions
camera_names
Friendly camera-name resolution.
document_detector
Heuristic document detector (Stage 1 fast filter).
drive_detector
Drive detection service
duplicate_detector
Duplicate detection: byte-identical (SHA-256) and near-identical (perceptual DCT hash). The two passes run in sequence and emit groups with duplicate_type = 'exact' | 'perceptual'.
exclusions
Folder exclusion matching and path normalization.
exif_extractor
EXIF metadata extraction service
face_processor
Face processing pipeline
geocoding
Offline reverse geocoding service.
image_io
Format-aware image opening.
image_utils
insights
Insights Dashboard — compute aggregate statistics from the photo library.
install_method
Detect how Smriti was installed, so the update UI can take the right action when the user clicks “Download”.
library_health
Library Health diagnostics.
map_math
Web Mercator projection + slippy tile math.
memories
Memories — “N years ago today” style rediscovery.
metadata_processor
Background EXIF + geocoding pass.
ocr_processor
OCR processor scaffolding (Stage 2 deep analysis architecture).
path_util
Path utilities used by storage layer.
photo_stacks
Timeline photo stack generation.
raw_preview
Extract the largest embedded JPEG preview from a TIFF-based RAW.
reindexer
Incremental re-indexing service.
scanner
Directory scanning service
search
Search service - executes parsed queries against the database.
self_replace
Per-install-method update download + install logic.
semantic
Semantic image search over local CLIP-style embeddings.
takeout_import
Google Photos Takeout ZIP importer.
thumbnail
Thumbnail generation and caching service
tile_cache
On-demand tile fetching + disk cache.
trash
Trash management service.
update_checker
GitHub Releases API client — “is a newer Smriti out?”