Photo Categorizer Block
- from @localmode
- by LocalMode
Editable-label-set categorization with Photo/Product presets, on-device library re-categorization with progress + cancel (no re-embedding), and a counted, single-select category-facet-list filter over the ingested photos. Own usePhotoLibrary instance + its own media-dropzone ingest (photos are zero-shot categorized as they embed). Split from ui/blocks/photo-search (Categories tab).
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @localmode/ui/blocks/photo/photo-categorizerRegistry dependencies7
- @localmode/ui/lib/utils
- @localmode/ui/local-first/model-selector
- @localmode/ui/local-first/model-downloader
- @localmode/ui/media-vision/media-dropzone
- @localmode/ui/media-vision/image-result-gallery
- @localmode/ui/data-documents/category-facet-list
- @localmode/ui/results/editable-label-set
