PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow
-
Ok, thanks much for the update. Wish I could help with the packaging, but I've got zero skills or experience to contribute to that. Would be amazing to have this on Cloudron at some point, it seems to be the most promising Google Photos alternative.
-
@nebulon said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:
have not managed to build a working package yet, since installation of tensorflow appears to be very particular.
Are you still working on this?
Manage to work out how to install tensorflow?
Thanks!
-
@nebulon Any ideas when it could be available?
-
@nebulon I'd be interested in sponsoring this to happen. Not sure how much $$ that'd be but if you or someone else is interested please let me know.
-
@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.
-
@girish will do
-
moonmeisterreplied to moonmeister on May 11, 2021, 12:01 AM last edited by moonmeister May 11, 2021, 12:04 AM
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 As to tensorflow...I just modified their production
Dockerfile
. I assume it works as of yet. -
moonmeisterreplied to moonmeister on May 14, 2021, 6:15 PM last edited by moonmeister May 18, 2021, 3:37 PM
@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?
-
moonmeisterreplied to robi on May 15, 2021, 12:07 AM last edited by moonmeister May 15, 2021, 7:05 PM
@robi Cause it's dynamically compiled. I'm not sure about statically compiling it but it's something I will look into doing.
UPDATE: Static binaries are not an option.
-
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).
-
@girish I don't really understand, but great!