Can it remove duplicates? That’s the holy grail along with storing my images. I’ve got so many damn photos, and I want to reduce the total amount I have but going through them is so daunting I’ll never do it without a computer-assisted organizer.
PhotoPrism: AI-powered photos app for the decentralized web
101–110 of 187 posts
Re: PhotoPrism: AI-powered photos app for the decentralized web
#102Earlier quoted context omitted.
I second this - docker images are a horrible way to distribute applications. Please make an AppImage or flatpak for Linux. General question: does this have import from google photos? Please don't make me go through the google takeout pain.
it's a server app. flatpak or appimage is a terrible way for those.
Re: PhotoPrism: AI-powered photos app for the decentralized web
#103Can it remove duplicates? That’s the holy grail along with storing my images. I’ve got so many damn photos, and I want to reduce the total amount I have but going through them is so daunting I’ll never do it without a computer-assisted organizer.
But I switched over to czkawka, which has a better interface for comparing files, and seems to be a bit faster: https://github.com/qarmin/czkawka
Unfortunately, neither of these are integrated into Photoprism, so you still have to do some file management outside the database before importing.
I also haven't used Photoprism extensively yet (I think it's running on one of my boxes, but I haven't gotten around to setting it up), but I did find that it wasn't really built for file-based libraries. It's a little more heavyweight, but my research shows that Nextcloud Memories might be a better choice for me (it's not the first-party Nextcloud photos app, but another one put together by the community): https://apps.nextcloud.com/apps/memories
Re: PhotoPrism: AI-powered photos app for the decentralized web
#104Can it remove duplicates? That’s the holy grail along with storing my images. I’ve got so many damn photos, and I want to reduce the total amount I have but going through them is so daunting I’ll never do it without a computer-assisted organizer.
Deduplicating by SHA (so, exactly the same bytes) is straightforward, and phototprism does that: https://docs.photoprism.app/user-guide/library/duplicates/ Unfortunately, if you've used Google Takeout or other systems that can both downsample your photos and videos, as well as actually deleting _or changing_ metadata, deduplicating becomes a big wad of heuristics. My first approach was to build a UID based on a serie…
Re: PhotoPrism: AI-powered photos app for the decentralized web
#105I have tried to install this from source but it's quite difficult. I don't like deploying opaque docker images.
Has anyone tried the Nix package?
But yeah, it's even fully integrated into NixOS options now. You can set up a default install with one line: https://search.nixos.org/options?query=photoprism
Re: PhotoPrism: AI-powered photos app for the decentralized web
#106I am extremely happy with my photoprism setup. I tried to degoogle my life and found their docker setup to be great. I use FolderSync on my android phone to copy any pictures I take to my photoprism WebDAV
> I use FolderSync on my android phone Genuinely curious, if you use Android can you truly de google your life?
Re: PhotoPrism: AI-powered photos app for the decentralized web
#107Earlier quoted context omitted.
Deduplicating by SHA (so, exactly the same bytes) is straightforward, and phototprism does that: https://docs.photoprism.app/user-guide/library/duplicates/ Unfortunately, if you've used Google Takeout or other systems that can both downsample your photos and videos, as well as actually deleting _or changing_ metadata, deduplicating becomes a big wad of heuristics. My first approach was to build a UID based on a serie…
And if you just want to go by the pixel data, look into "perceptual hashing". https://github.com/rivo/duplo works quite well for me, even when dealing with watermarks or slight colour correction / sharpening. You could even go further and improve your success rate with Neural Hash or something similar.
I also found that there really isn't one "best" image hash algorithm. Using _several different_ image hash algos turns out to be only fractionally more expensive during both compute and query times, and substantially improves both precision and recall. I'm using a mean hash, gradient diff, and a DCT, all rendered from all three CIELAB-based layers, so they're sensitive to both brightness and color differences.
Re: PhotoPrism: AI-powered photos app for the decentralized web
#108Re: PhotoPrism: AI-powered photos app for the decentralized web
#109Earlier quoted context omitted.
And if you just want to go by the pixel data, look into "perceptual hashing". https://github.com/rivo/duplo works quite well for me, even when dealing with watermarks or slight colour correction / sharpening. You could even go further and improve your success rate with Neural Hash or something similar.
Unfortunately, (almost all!) image hashing don't detect color differences--they map images to greyscale first. This may be fine for many situations, but it will return the same result for a sepia tint, a full color original with incorrect white balance, and the final result you made after mucking with channels for a couple minutes. I also found that there really isn't one "best" image hash algorithm. Using _several d…
Re: PhotoPrism: AI-powered photos app for the decentralized web
#110Earlier quoted context omitted.
You can always build and tag your own docker image using the docker files included from source. Or simply follow the docker files as install instructions: [0] https://github.com/photoprism/photoprism/blob/develop/docker...
"simply follow the docker files" I'm not sure if you perused the docker files for this repo, but imho there is nothing simple about them Edit: I was curious so I dug into them a bit and found that the dockerfile references a develop docker image. There is a second docker file to see how that base image is built. In the steps to build that base image, we grab some .zip files from the web for the AI models. We install…