Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lyellick/picamera
.NET Web API for controlling a Raspberry PI camera module.
https://github.com/lyellick/picamera
api dotnet rapsberry-pi raspberry-pi-zero-2-w swagger
Last synced: 10 days ago
JSON representation
.NET Web API for controlling a Raspberry PI camera module.
- Host: GitHub
- URL: https://github.com/lyellick/picamera
- Owner: lyellick
- License: gpl-2.0
- Created: 2023-09-05T22:50:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-05T23:23:32.000Z (over 1 year ago)
- Last Synced: 2025-01-16T11:33:19.170Z (12 days ago)
- Topics: api, dotnet, rapsberry-pi, raspberry-pi-zero-2-w, swagger
- Language: C#
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PICamera
.NET Web API for controlling a Raspberry Pi camera module.*NOTE: Rasberry Pi Zero 1 is not supported.*
1. Publish PiCamera.Service:
`dotnet publish -r linux-arm -p:PublishSingleFile=true --self-contained false`
2. Copy `Publish` folder to Rasbperry Pi.
3. SSH to Rasberry Pi and go to the `Publish` directory you just copied.
4. Add required environmental variables.
`export ASPNETCORE_URLS="http://*:5000;https://*:5001"`
`export DefaultConnection="Data Source=picamera.db"`
`export AdminAccessKey="{GUID}"`
6. Provide execute permissions:
`chmod 777 ./picamera`
7. Start web service:
`./picamera`
8. From another computer open your browser to: `http://{raspi-pi}:5000/swagger`.