PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow
-
@nebulon Any ideas when it could be available?
-
@moonmeister Might also be interesting if you contact the photoprism team itself for packaging this. If they are interested, we can help them out (but you can pay them alone). AFAIK, they are also a small team and any help them get would be appreciated by them.
-
Okay, I decided to take a crack at packaging this and was surprisingly successful.
I've detailed some of the more technical things over on the PhotoPrism Github: https://github.com/photoprism/photoprism/issues/1284
For anyone who wants to expriment the docker image is
moonmeister/cloudron-photoprism:0.1.3
and the configs can be found here https://github.com/moonmeister/photoprism/tree/feat/cloudron-image/docker/cloudronPLEASE NOTE: "Working" is currently defined as "You can log in". Basic features like, uploading photos are still broken.
@girish I'm currious what you need when this is all working to publish. Meaning, do you need a dedicated repo with the manifest and Dockerfiles and all associated info? Can this be anywhere or does it need to be in the cloudron gitlab? Or can this stuff live in the PhotoPrism repository in a subfolder?
I think that's everything I have for now. Anything else I should know? thanks.
-
@moonmeister ah impressive, so you were able to deal with tensorflow using our base image? Looking at your Dockerfiles you seem to temporarily rely on
moonmeister/photoprism-dev:test2
is this something which could be put into that Dockerfile for completeness to have version pinned releases in the package? -
@nebulon Yes, If you checkout my GitHub issue on the PhotoPrism I address that issue. Basically, PhotoPrism doesn't release builds, they release a docker image. That image is built on Ubuntu 12.10. To make the build compatible with 12.04 I had to rebuild their dev image which is what that image is. Before I duplicated all that I was waiting to see if they had any feedback to optimize the process.
-
@nebulon so photoprism is running on 20.10 due to bugs in some dependencies on 20.04. Is it possible to get a 20.10 base image or do I need to figure out backport those dependencies?
See https://github.com/photoprism/photoprism/issues/1284#issuecomment-841406953 for context.
UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A
20.1021.04 base image sounds much easier if y'all can provide that. -
@moonmeister why not take the binary from 20.10 and use it on 20.04? Or use a statically compiled one that works anywhere?
-
i am no dev, but as a common user i am looking forward to see this happen!! keep as posted!
-
@moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:
UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A 20.10 21.04 base image sounds much easier if y'all can provide that.
@nebulon is this possible?
-
Photoprism gets face detection. Shared albums on its way.
https://docs.photoprism.org/release-notes/ -
@moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:
@moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:
UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A 20.10 21.04 base image sounds much easier if y'all can provide that.
@nebulon is this possible?
I assume it is possible but I think it's Cloudron policy to only support Ubuntu LTS (which I think is wise - but I hope it doesn't mean we'll have to wait until April 2022 for PhotoPrism?!?)
-
@jdaviescoates Since we use Docker, the base OS is usually not that relevant. We can always compile the required ffmpeg for Ubuntu 20.04 (which the app containers are based on).
-
@eyecreate no one has packaged it. It seems for some reason it's isn't easy to package, but I don't really understand what the issue is.