A python script that allows you to take images using your raspberryPi and save them on your pi. Uses the gphoto library
- Install gphoto2 library
sudo apt-get install gphoto2
- Detect camera using
gphoto2 --auto-detect
- Change capture target to Camera Memory Card
gphoto2 --set-config capturetarget=1
- Run
gphoto2 --list-files
to locate folder where images have been stored - Install sh using pip
sudo pip3 install sh
- Run program using python3