# Docker demo
docker run --rm -it -p 8080:8080 8fforg/firescrew:latest demo
Point your browser to http://localhost:8080
# Steps for setting up a camera
1. Generate template config
docker run --rm -it 8fforg/firescrew:latest -t > config.json
Now edit the config.json to set at minimum deviceUrl and hiResDeviceUrl
2. Start object detection
docker run --rm -v $(pwd)/media:/media -v $(pwd)/config.json:/config.json -it 8fforg/firescrew:latest /config.json
This will start firescrew with the options defined in the config and store all events to ./media folder
3. Spin up WebUI
docker run --rm -p8080:8080 -it -v $(pwd)/media:/media 8fforg/firescrew:latest -s /media :8080
* To spin up more cameras just repeat step #2, WebUI is designed to handle unlimited amount of cameras.
Using Object detection with Coral TPU
lsusb | grep Google
Take Bus and Device from the output of the above command and replace [bus] and [device] in the below command
docker run -d --device=/dev/bus/usb/[bus]/[device] -v config.json:config.json 8fforg/firescrew:latest