Live data from Hacker News

PhotoPrism: AI-powered photos app for the decentralized web

github.com

141–150 of 187 posts

Re: PhotoPrism: AI-powered photos app for the decentralized web

#141
I use this but would love something that’s better at tagging content and face recognition. Photoprism misses the mark often, and it’s also not very easy to fix mistakes.

Edit: for example, just yesterday I uploaded ~30 photos of my girlfriend. It recognized her in one photo and didn’t even identify her face as a face in the rest.

I also don’t understand what’s doing the processing for the facial recognition. Is my cpu doing it or is an external service doing it?

Re: PhotoPrism: AI-powered photos app for the decentralized web

#142

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.

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…

> Most importantly: have full offline backups

Do this anyway. Always.

Re: PhotoPrism: AI-powered photos app for the decentralized web

#143

From https://www.photoprism.app/features for Community (free) and Essentials (EUR2.00/month): > User Management > Account Roles: Super Admin, Admin So unless I switch to the >=EUR6.00/month Plus plan I cannot add a non admin user? So my grandma gets admin privileges? Is that not a blocker for a lot of families? Edit: From https://www.photoprism.app/plus/kb/multi-user > PhotoPrism® Plus includes advanced multi-user fu…

> So unless I switch to the >=EUR6.00/month Plus plan I cannot add a non admin user? So my grandma gets admin privileges? Is that not a blocker for a lot of families?

Maybe, but at least it's not per-user, per-month. I'm much more likely to set up something like this if I can add / remove family members as needed without thinking about the cost beyond the annual fee I pay for to run my own instance.

The blocker for me is typically ease of use. They recommend PhotoSync for transferring files to the instance. I currently use that for my family, but sync to a Nextcloud install (which I desperately want to replace). The part where it fails for me is that my family members don't understand how to verify everything is running as intended. For example, I checked one of their phones earlier this year and they had 5k un-synced photos.

What this really needs to be useful is a native app that does sync from the phone in a way that makes it relatively foolproof.

Beyond the ease of use, every link in the chain of the workflow is a point of risk IMO. For example, what if PhotoSync rug pulls everyone (I have no reason to believe they would) and starts charging a subscription? The app that runs on your phone and does the syncing is the more valuable half of the workflow IMO.

Re: PhotoPrism: AI-powered photos app for the decentralized web

#145

Earlier quoted context omitted.

I went about depdup in a similar but opposite way then you did - https://github.com/mgolub2/photodb I used libraw to read the actual raw data from my images, ignoring possible metadata that can get changed/updated by Capture One for example. The raw data is just fed into a hashing function, to get an exact content hash. Does not work if your image is down-sampled of course, but that was actually my goal - I want to k…

Ah! In this case, you might be happy to discover that ExifTool just added an "image content" hash--it's the SHA (or MD5 or whatever) hash of the _actual image bytes_, after ignoring the metadata header (and possible footer) payloads. So if you, say, change the rotation of your RAW image file (which normally will just add or change the EXIF `Orientation` tag), the image content hash will stay the same. See https://exi…

Why is GP's approach substantially faster?

Re: PhotoPrism: AI-powered photos app for the decentralized web

#146

Earlier quoted context omitted.

You can manually tag photos and identify people, though the UI flow is not the most convenient. (I've been trying it put for a couple months.)

How? I can’t find the option to add faces. I can add keywords and add labels but not faces

It isn't very intuitive, especially for one of the major features, but:

1. Select a photo with a recognizable face

2. Click the Pencil / Edit icon in the upper right menu

3. Select the People tab

4. Enter the name/names

Re: PhotoPrism: AI-powered photos app for the decentralized web

#147
post #145

Earlier quoted context omitted.

Ah! In this case, you might be happy to discover that ExifTool just added an "image content" hash--it's the SHA (or MD5 or whatever) hash of the _actual image bytes_, after ignoring the metadata header (and possible footer) payloads. So if you, say, change the rotation of your RAW image file (which normally will just add or change the EXIF `Orientation` tag), the image content hash will stay the same. See https://exi…

Why is GP's approach substantially faster?

His tool is in rust, so he can directly call the libraw function. ExifTool is a perl tool, so it'd be an external process that he'd need to coordinate with.

Re: PhotoPrism: AI-powered photos app for the decentralized web

#148

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.

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…

If software is deduplicating images by SHA including metadata, it's missing a lot about photography workflows :) So, huge props (and I mean that - so many tools get that wrong!) on your approach of trying to identify asset groups and trying to ID members via a number of heuristics.

If you want to go deeper, I suggest grouping everything by image content - that means, at the very least, comparing images via a resolution independent hash. (E.g. average down to e.g. an 8x8 picture in greyscale for the simplest approach). (undouble does that nicely, and has a number of different approaches: https://erdogant.github.io/undouble/pages/html/index.html)

Re: PhotoPrism: AI-powered photos app for the decentralized web

#149
post #49

I have tried to install this from source but it's quite difficult. I don't like deploying opaque docker images.

Full agreement, Immich has a similar problem. I don't know at what point basic systemd services stopped being enough but docker is usually a non starter for me.

>docker is a nonstarter

I dunno, I enjoy not having to install 500 libraries on my system just to test an app. Also upgrading those libraries without butchering my system is also nice. Not to mention rebuilding a system is really fast. Too many pros outweigh the cons

Re: PhotoPrism: AI-powered photos app for the decentralized web

#150

I have tried to install this from source but it's quite difficult. I don't like deploying opaque docker images.

I disagree. Docker is the one thing that works on MANY flavors of Linux. If I want to provide a tool I want to spend my time on building the tool, not building an rpm, a snap, a deb, ... The Docker build process is significantly easier. For example, I can just pull in NodeJS 20. I can't do that on Ubuntu. It's not available on packages.ubuntu.com. Building a deb/snap/rpm is a whole other language to understand how de…

Rpm is trivial to learn
Post reply on HN