https://github.com/agherzan/rpisurveillance
https://github.com/agherzan/rpisurveillance
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/agherzan/rpisurveillance
- Owner: agherzan
- License: apache-2.0
- Created: 2018-01-25T16:35:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-25T17:08:38.000Z (over 8 years ago)
- Last Synced: 2025-07-24T18:13:43.616Z (11 months ago)
- Language: Shell
- Size: 24.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RaspberryPi Surveillance using [v4l2rtspserver](https://github.com/mpromonet/v4l2rtspserver) with [resin.io](https://resin.io/)
## Getting started
- Sign up on [resin.io](https://dashboard.resin.io/signup).
- Create an application.
- Set the following variables in `Device Configuration` section of the created application:
- RESIN_HOST_CONFIG_gpu_mem=128
- RESIN_HOST_CONFIG_start_x=1
- Provision a device which has a camera module attached to the CSI port.
- Clone this repository to a local workspace.
- Add the resin git remote.
- `git push resin master`.
## Configuration
The source code comes with sensible default values for most of the variables but they can be customised using `Environment Variables` per application or per device:
- CAMERA_ROTATE : angle to rotate the camera
- RTSP_PORT : server port
- FRAMERATE : capture framerate
- V4L2_W : capture width
- V4L2_H : capture height
## Testing
You can test using a client like vlc. For example run `vlc` -> Media -> Open Network Stream and play `rtsp://192.168.1.100:8555/unicast`.
## License
Apache 2.0, see [LICENSE](./LICENSE).