|
|
%!s(int64=6) %!d(string=hai) anos | |
|---|---|---|
| .dockerignore | %!s(int64=6) %!d(string=hai) anos | |
| Dockerfile | %!s(int64=6) %!d(string=hai) anos | |
| LICENSE | %!s(int64=6) %!d(string=hai) anos | |
| README.md | %!s(int64=6) %!d(string=hai) anos | |
| detect_objects.py | %!s(int64=6) %!d(string=hai) anos |
Build the container with
docker build -t realtime-od .
Download a model from the zoo.
Download the cooresponding label map from here.
Run the container with
docker run -it --rm \
-v <path_to_frozen_detection_graph.pb>:/frozen_inference_graph.pb:ro \
-v <path_to_labelmap.pbtext>:/label_map.pbtext:ro \
-p 5000:5000 \
-e RTSP_URL='<rtsp_url>' \
realtime-od:latest
Access the mjpeg stream at http://localhost:5000