Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tux-o-matic/hems


https://github.com/tux-o-matic/hems

Last synced: about 5 hours ago
JSON representation

Awesome Lists containing this project

README

        

# hems

## Centralized object detection for video streams

### Hardware
Focuses on Raspberry Pi, can run on different hardware with the right packages and h264 encoder.

### Launching stream on Pi with cam (source)
```shell
ffmpeg -i /dev/video0 -vcodec h264_omx -pix_fmt yuv420p -f rawvideo -vf scale=1280:720 -copyts -start_at_zero -r 15 -g 30 -b:v 1M -bufsize 1M -an -payload_type 96 -max_delay 5000 -f rtp 'udp://224.1.1.2:5000'
```
or to test in VLC:
```shell
ffmpeg -i /dev/video0 -vcodec h264_omx -pix_fmt yuv420p -f rawvideo -vf scale=1280:720 -copyts -start_at_zero -r 15 -g 30 -b:v 1M -bufsize 1M -an -flags global_header -payload_type 96 -max_delay 5000 -f rtp 'udp://224.1.1.2:5000'
```
### Credits
pyimagesearch.com for OpenCV examples