Live data from Hacker News

PhotoPrism: AI-powered photos app for the decentralized web

github.com

91–100 of 187 posts

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

#91

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

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.

[deleted]

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

#92

I 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?

Yes, it works quite well. I’m using the NixOS module to configure it.

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

#93

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.

I wrote some scripts a few years ago to do just that. I haven’t used them myself in a while, but they should still be good.

https://github.com/jonathankoren/photo-autorganize

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

#94
I gave this a shot a while ago and it looked promising. I particularly like the ability to identify pictures, something that Google Photos seems to be slipping on. (*)

The deal breaker for me was that there was no way to share the entire inventory of my photos without providing admin access. Does anyone know if that feature has been provided?

(*) I used to be able to find some pictures using simple keywords like "dog" but Google finds far fewer pictures with those keywords any more. OTOH, it is amusing to see the interpretation of some of my photos in Photoprism, but I suspect that will get better with time.

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

#95
I run a little Photoprism instance on my NAS as a self-hosted complement to Google Photos.

It's a... passable alternative to Google Photos. I downloaded it beforee they started advertising AI and decentralized features - I'm kind of surprised they took this marketing direction.

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

#96

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 dependencies are set up.

And then I need to test those. I've never even ran CentOS.

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

#98

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 series of metadata fields (like captured-at time, the shutter count of the camera body, and the geohash), but that breaks when metadata is missing or edited from their sibling variants.

Just finding what assets to compare against by time proved to be problematic in some edge cases. By storing in UTC (which is how I've built systems for the last thirty years!) made any file that didn't encode a time zones be wrong by whatever the correct offset was--almost all videos, and many RAW file formats don't have timezones. The solution I came up with was to encoding captured-at time _in the local time_, rather than UTC. I also infer or extract a milliseconds of precision for the date stamp, so files with more or less precision will still overlap during the initial captured-at query.

If you're interested, more details are here: https://photostructure.com/faq/what-do-you-mean-by-deduplica...

My main point here is to expose how deep this rabbit hole goes—I'd suggest you think about these different scenarios, and how aggressive or conservative you want to be in duplicate aggregation, and what you want to do with inexact duplicates.

Most importantly: have full offline backups before you use any deduping or asset management system. When (not if) the tool you're using behaves differently from how you expected, you won't have lost any data.

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

#99
post #18

Earlier quoted context omitted.

PhotoPrism is under AGPL, how is that not fully open source? https://github.com/photoprism/photoprism/blob/develop/LICENS... https://opensource.org/license/agpl-v3/

AFAIK PhotoPrism itself is open source, but the PhotoSync tool that they suggest for syncing your photos to it is not.

for those looking for an open source way to sync photos, syncthing has an android app that works well. While it is 'always running' on my android phone, I love how as soon as I arrive home it connects to wifi and moves any new photos to my home linux box (which is also running syncthing).

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

#100

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.

[dead]
Post reply on HN