The code used for the camera and the frame in my 'Instant Framed Camera' project.
The scripts auto-starts using a cron job, and some fast-bootup tricks were applied.
Camera
- Original Polaroid land camera
- Raspberry Pi 3 Model A+
- Raspberry Camera Module 3
- Li-ion Battery HAT
- A status LED (pin 18, BCM)
- The camera's original push button was repurposed using GPIO pins (21) to connect when pushed to take the digital picture
Display
- A nice looking photo frame 🖼️ (big thanks to my good friend Liisi)
- Raspberry Pi 3 Model A+
- 5.65inch ACeP 7-Color E-Paper E-Ink Display Module (600x448)
- I added a push button (pin 16, BCM) to reset the display, but it's not really necessary
Python3
Camera
- pyzbar
- opencv-python
- numpy
Display
- The Waveshare libs that come with the e-paper display (place the 'lib' folder next to the DISP.py script)
- RPi.GPIO
- spidev
- Jetson.GPIO