Computer Vision Object Detection using a webcam with OpenCV and TensorFlow
289
Tested on Ubuntu 16.04 LTS
Author: @alkari
The fastest way to run using Docker, a camdetect.sh script is available to quickly run a container and launch the application.
git clone https://github.com/tensorflow-northwest/camdetect.git
cd camdetect
chmod +x camdetect.sh
./camdetect.sh
############################################################
xhost +
docker run -it --rm --privileged --env DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:ro alkari/camdetect python3 camdetect/camdetect.py
docker run -it --rm --privileged --env DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:ro -p 8888:8888 alkari/camdetect /bin/bash
docker run -it --rm -p 127.0.0.1:8888:8888 alkari/camdetect sh -c "jupyter notebook --ip=* --allow-root --no-browser"
############################################################
Note: Could take up to an hour to complete.
git clone https://github.com/tensorflow-northwest/camdetect.git
cd camdetect
chmod +x install_detect.sh
sudo bash install_detect.sh
Content type
Image
Digest
Size
1.5 GB
Last updated
over 8 years ago
docker pull alkari/camdetect