https://github.com/alekthegenius/raspberry-pi-digital-camera
Software to turn a Raspberry Pi into a Digital Camera
https://github.com/alekthegenius/raspberry-pi-digital-camera
Last synced: 7 months ago
JSON representation
Software to turn a Raspberry Pi into a Digital Camera
- Host: GitHub
- URL: https://github.com/alekthegenius/raspberry-pi-digital-camera
- Owner: alekthegenius
- License: mit
- Created: 2022-06-02T22:51:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-02T13:27:20.000Z (almost 3 years ago)
- Last Synced: 2023-03-09T08:00:58.529Z (over 2 years ago)
- Language: Python
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raspberry Pi Digital Camera
### Software to turn a Raspberry Pi into a Digital Camera
#### Instructable: https://www.instructables.com/Raspberry-Pi-Digital-Camera/
#### Explanation of the Code: http://alekthegenius.github.io/Raspberry-Pi-Digital-Camera/*Used with Raspberry Pi Zero W, Hyperpixel 2.1" Round Display, and Raspberry Pi HQ Camera Module.*
In this repository, there are three files found in the "code" folder, "gui.py", "startCam.sh", and "Cam.conf". The "gui.py" is a Python App for taking pictures and videos, "startCam.sh" is a program to start the "gui.py", and lastly, "Cam.conf" is a script that autostarts the "startCam.sh" program on boot, which in turn starts "gui.py".
Below is a list of all the modules that you will need to install:
- hyperpixel2r (Already installed)
- picamera (Install with PIP)
- tkinter * (Install with PIP)
- tkinter ttk (Already Installed with Tkinter)
- tkinter.font (Already Installed with Tkinter)
- subprocess (Install with PIP)
- datetime (Install with PIP)
- tkinter (Already Installed with Tkinter)
- fnmatch (Install with PIP)
- shutil (Install with PIP)
- time (Installed by default)
- glob (Install with PIP)
- sys (Installed by default)
- os (Installed by default)First, download the file "gui.py" below, into a folder titled "App" in the documents folder of the Pi:
`~/home/pi/Documents/App/`
Once you have saved the python file to your Pi, add the file labeled "startCam.sh" below to the pi directory on the Raspberry Pi:
`~/home/pi/`
Lastly, add the "Cam.conf" file to the init directory located in etc:
`~/etc/init/`
Reboot your Pi, and you should now have a working camera!