Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whomwah/pi-camera-capture
Deno script that takes captures and image, syncs to S3 and generates an time lapse movie.
https://github.com/whomwah/pi-camera-capture
Last synced: 13 days ago
JSON representation
Deno script that takes captures and image, syncs to S3 and generates an time lapse movie.
- Host: GitHub
- URL: https://github.com/whomwah/pi-camera-capture
- Owner: whomwah
- Created: 2024-09-12T11:25:40.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T15:12:47.000Z (2 months ago)
- Last Synced: 2024-09-18T02:11:34.583Z (2 months ago)
- Language: TypeScript
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Webcam
A Deno program that takes snapshots from a Raspberry Pi camera, uploads it to S3
and then creates a time-lapse video with the results. Also has a script to take
a live photo.- uses a
[Raspberry Pi 4 Model B](https://www.raspberrypi.com/products/raspberry-pi-4-model-b/)
and [Camera Module 3](https://www.raspberrypi.com/products/camera-module-3/)
- uses `libcamera-still` to create a snapshot
- uses `convert` to annotate the snapshot with the current time
- uses `s3` to upload the snapshot to S3
- uses `ffmpeg` to create a time-lapse videoIt works via a cron job that runs at various times during the day.
```
0 10 * * * /home/webcam/_dev/webcam/webcam >> /home/webcam/_dev/webcam/output.log 2>&1
0 16 * * * /home/webcam/_dev/webcam/webcam >> /home/webcam/_dev/webcam/output.log 2>&1
*/5 * * * * /home/webcam/_dev/webcam/webcam-live >> /home/webcam/_dev/webcam/output-live.log 2>&1
```Currently running on a camera situated in the [Kyan office](https://kyan.com/)
of the development of the StMarys Wharf project.- https://www.youtube.com/playlist?list=PLLNZI-dmwJyj45BKexQVYLdbpj4xv_ZnB