yolo-webcam-object-detection

YOLO Webcam Object detection

HitCount contributions welcome made-with-python GitHub stars GitHub forks GitHub repo size in bytes

🎥 Real-time object detection from a Webcam using tiny-YOLO or YOLO with Darkflow (Darknet + tensorflow).

Contents

  1. Requirements
  2. Recommendations
  3. Usage
  4. Example
  5. Authors
  6. License

Requirements

Recommendations

Usage of virtualenv is recommended for package library / runtime isolation.

Usage

To run the application, please execute the following from the root directory:

  1. Setup virtual environment.

  2. Install dependencies.

  pip3 install -r requirements.lock
  1. Install Darkflow
  source install_darkflow.sh
  1. Run the application with one of the available models (tiny-yolo-voc or yolo)
  python3 -m src [--model MODEL_NAME --device_id DEVICE_ID]

tiny-yolo-voc is the default model in order to get a better performance w/o GPU. If you want to get better results, then specify the yolo model. 0 is the default device id which is the embedded web cam of your computer. For running the project with another web cam, just specify 1, 2, etc (depends on how many web cams you have).

Example

Example

Authors

License

MIT © YOLO Webcam Object detection