iamthefij / google-photo-to-vcard Goto Github PK
View Code? Open in Web Editor NEWMirror of https://git.iamthefij.com/iamthefij/google-photo-to-vcard
Mirror of https://git.iamthefij.com/iamthefij/google-photo-to-vcard
Hi, I think there is a sincere interest in avoiding Google API's while introducing facial recognition in Nextcloud/owncloud/vCard. Please check out ownPhotos, which afaik uses a Python script for facial recognition that does not phone home to google while recreating the Google Photos experience.
Perhaps you could offer a similar experience with your own coding!
Thank you so much for sharing your code! I have just got NextCloud up and running, and the one thing I was disappointed about was that I lost all my contacts photos. I have no programming background (I can handle basic bash/cli stuff, but I can't read python code to save my life). I managed to set up Google API credentials and set up my vdirsyncer.conf, but when I run 'make add-photos' I get the following error:
ModuleNotFoundError: No module named 'oauth2client'
Before running the make command, I installed oauth2client using pip: 'sudo pip install --upgrade oauth2client' and it appears to be installed locally, but I'm not sure how to make it available to the virtual environment. Any chance you know an easy fix?
Here's the full output from running 'make add-photos':
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File ".../google_photo_to_vcard/build_photo_json.py", line 9, in <module>
from oauth2client import client
ModuleNotFoundError: No module named 'oauth2client'
Makefile:11: recipe for target 'build/email_to_photo.json' failed
make: *** [build/email_to_photo.json] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.