pageauc / pi-timolo

Raspberry PI-TIMOLO ( PI-TImelapse, MOtion, LOwLight ) uses RPI picamera and OpenCV for Remote Headless Security Monitoring using Motion Tracking, Rclone Auto Sync files with remote storage services. Auto Twilight Transitions and Low Light Camera Settings. Panoramic images using PanTiltHat and More. This project is featured on GitHub Awesome software.
MIT License
548 stars 101 forks source link

python3 and pyexiv2 support #79

Closed pageauc closed 6 years ago

pageauc commented 6 years ago

I have successfully built python3 pyexiv2 library on a raspberry pi per repo instructions rather that trying to use pip. Currently I have bypassed pyexiv2 for python3 but if you really need to transfer exif data for images with text overlayed then you can install per instructions below.

git clone https://github.com/mcmclx/py3exiv2.git
sudo apt-get install -y python-all-dev
sudo apt-get install -y libexiv2-dev
sudo apt-get install -y libboost-python-dev
sudo apt-get install -y g++
cd  py3exiv2
python3 configure.py
./build.sh
sudo ./build.sh -i

/usr/lib/python3/dist-packages/libexiv2python.so was successfully installed and I could import pyexiv2 in python3.