Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/japersik/go-rpi-cam-control
RaspberryPi camera control via web interface
https://github.com/japersik/go-rpi-cam-control
raspberry raspberry-pi raspberry-pi-camera rpi4
Last synced: about 2 months ago
JSON representation
RaspberryPi camera control via web interface
- Host: GitHub
- URL: https://github.com/japersik/go-rpi-cam-control
- Owner: japersik
- Created: 2021-12-03T19:33:33.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-13T10:01:11.000Z (over 2 years ago)
- Last Synced: 2024-10-11T16:41:16.122Z (3 months ago)
- Topics: raspberry, raspberry-pi, raspberry-pi-camera, rpi4
- Language: Go
- Homepage:
- Size: 1.93 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RaspberryPi camera web controller
## Web interface to control the raspberry pi camera
![RPi camera](img/img_0.png)## Control
Access to the control panel and the album is carried out after authorization. There are buttons on the control panel to control the position of the camera and to take a photo. Immediately after shooting, the new photo is displayed next to the control panel. All photos taken are displayed in the album.
![RPi web interface](img/img_1.png)## Settings
The path to the configuration file is declared by the flag `-configs-path [path]` (default `configs/serverConf.toml`).
```toml
[server_config]
bind_addr = ":8080" # web server binding port
log_level = "debug" # log level
session_key = "[session_key]" #[camera_config]
[servo_config]
gpio_x = 12 # gpio pin for connecting a servo to move the camera along the x-axis
gpio_y = 19 # gpio pin for connecting a servo to move the camera along the y-axis
inverse_x = true # servo-x direction inversion
inverse_y = false # servo-y direction inversion[user_store]
auth_file = "users.json" # file where logins and encrypted passwords are stored during restart
new_user_key = "[new_user_key]" # passcode to enter when registering a new user
```
## Camera mount
You can download my model for attaching a standard camera to the SG90 servo drive [here](https://www.thingiverse.com/thing:4710301).