Live data from Hacker News

PhotoPrism: AI-powered photos app for the decentralized web

github.com

111–120 of 187 posts

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

#111
post #43

It looks interesting; I might be in their target group. But after ten minutes of browsing around, I still have some open questions regarding privacy. What would I have to do to have an absolutely, unequivocally local-only install? Can I even do that? Which features would I need to disable? Especially anything related to AI and classification raises red flags in that regard. While it is apparent that they've given a l…

AI recognition is local. You can totally disable external access and it will run fine (obviously assuming your photo storage is local). Their recognition model is loose. It works and it works well enough for what this is to be useful but it's just a quick classifier. It will absolutely have misses. You can optionally aadd in a coral dev board to save yourself some cpu load but I've never found it necessary.

That is good to know, thank you!

I'm absolutely fine with a good enough classifier, as long as it is local. I would even be fine without one.

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

#112

Earlier quoted context omitted.

"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…

dist upgrade in a Dockerfile?

Yes. That just means upgrade and install extra required packages.

The nonsensical one would be do-release-upgrade.

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

#114

Anyone also used Synology Photos and able to compare it's functionality to this? Which is better?

The Synology Photos UI feels much more polished and it includes a mobile app. Synology Photos only has community mobile apps, which weren't well maintained. And last I checked Photoprism did not have multi-user support. Synology Photos feels much more like something I could get my partner and kids to adopt.

The downside is that Synology Photo's database schema and API are not officially documented, but you can find people who have documented them and since it's on a machine you own you have unlimited access to them, so it's still a big step up from Google Photos and Apple Photos which are chock full of restrictions - e.g. Apple Photos doesn't even have a web API.

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

#115

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…

Deduplicating by SHA, or by exactly identical metadata, sounds so rudimentary in 2023... 10 years ago VisiPics was already doing an excellent job to help find similar or identical images in a collection, based on visual similarity!

http://www.visipics.info/

So much time later, I would hope that we expect more sophisticated and flexible tools, not less, for that task.

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

#116
post #84
post #70

Earlier quoted context omitted.

Can't you just copy what the Dockerfile is doing bud? Plenty of home server enthusiasts love docker for the simplicity it brings to handling a bunch of software. Not trying to knock you, just wondering where the complexity is coming from for you.

Sure I can. But it's not always that simple. Let's look at the repository for the software discussed in this thread [1] I see one dockerfile and 7 docker compose files (.yml) The dockerfile does not apparently do anything useful. I'd be amazed if running that dockerfile by itself produced anything useful Now, I don't know very much about docker compose, but I learned a bit of it in order to get this software running…

That Dockerfile doesn't seem to do anything because it inherits from another container that probably has more interesting stuff in it.

In any case, I found this in the docker/ subdirectory (if it was me I would have put it in the main README):

https://github.com/photoprism/photoprism/tree/develop/docker...

  Building From Source
  You can build and install PhotoPrism from the publicly available source code:*
  git clone https://github.com/photoprism/photoprism.git
  cd photoprism
  make all install DESTDIR=/opt/photoprism

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

#117
I've tried a couple of self-hosted solutions to accompany my use of Google Photos in case Google ever decides to pull a stunt with Photos.

Nextcloud was basic, but serviceable. I liked that it handled docs, contact sync, etc. The sync was clumsy and I found updates frequently broke the system.

I just tried PhotoPrism with my ~75GB photo directory. The classification is.. decent and all run locally. It took around a full 24 hours to index and classify my photos, which it did reasonably well. Google Photos' classifications is miles better to be sure, but PhotoPrism was easy to set up and works pretty well.

I no longer expose any of my services outside my local network (besides Wireguard) so I'm hoping to find a Photosync system that will only upload when on my home wifi and charging. Any suggestions there?

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

#118
post #87

Earlier quoted context omitted.

it's a server app. flatpak or appimage is a terrible way for those.

Because...?

Because docker is made for server apps. Flatpak is for desktop apps. Docker comes with batteries included to keep things running 24 7

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

#119
post #116
post #84

Earlier quoted context omitted.

Sure I can. But it's not always that simple. Let's look at the repository for the software discussed in this thread [1] I see one dockerfile and 7 docker compose files (.yml) The dockerfile does not apparently do anything useful. I'd be amazed if running that dockerfile by itself produced anything useful Now, I don't know very much about docker compose, but I learned a bit of it in order to get this software running…

That Dockerfile doesn't seem to do anything because it inherits from another container that probably has more interesting stuff in it. In any case, I found this in the docker/ subdirectory (if it was me I would have put it in the main README): https://github.com/photoprism/photoprism/tree/develop/docker... Building From Source You can build and install PhotoPrism from the publicly available source code:* git clone ht…

I found this too. They mention this:

  Missing build dependencies must be installed manually as shown in our human-readable and versioned Dockerfile.
I haven't been able to find any dockerfile that lists dependencies. My guess is that the documentation is referring to some prior architecture or something similar

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

#120

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

Extremely good point! I think with stock android, not really. I use grapheneOS so I guess as much as reasonable.
Post reply on HN