37 lines
664 B
Markdown
37 lines
664 B
Markdown
# SUV-Helper
|
|
|
|
## What is it
|
|
|
|
This is a project to get security camera stream and apply smart assistant to it.
|
|
|
|
## Design
|
|
|
|
Producer (multiple) -> Server -> Processor (multiple)
|
|
|
|
## Current status
|
|
|
|
Scuffolded.
|
|
|
|
Tested on 145 devices.
|
|
|
|
## How to play it
|
|
```
|
|
$ apt install ffmpeg
|
|
|
|
# Create venv
|
|
$ virtualenv venv
|
|
$ source venv/bin/activate
|
|
|
|
# Install requirements
|
|
$ pip install -r requirements.txt
|
|
|
|
# Start server
|
|
$ python src/server/server.py
|
|
|
|
# Start processor
|
|
$ python src/processor/processor.py
|
|
|
|
# Start producer
|
|
RTSP_URL="rtsp://user:password@ip_address:554/"
|
|
$ python src/producer/producer.py --rtsp_url "${RTSP_URL}" --output_dir test --capture_interval 0.1
|
|
``` |