Watch the demo video here: https://youtu.be/gUTV3HvWWVg.
git clone https://github.com/anhquan3012/dlw-queue-monitor.git
cd dlw-queue-monitorPlease install mmdetection library (mmdet) by following the instructions at https://mmdetection.readthedocs.io/en/latest/get_started.html#installation.
If you have problems with building pycocotools when trying to install mmdet, please install pycocotools first it by running this command.
conda install -c conda-forge pycocotoolsAfter that you may install mmdet as per instructed.
git clone https://github.com/open-mmlab/mmdetection.git
cd mmdetection
pip install -v -e .pip install -r requirements.txtOur model use YOLOv3 with DarkNet53 Backbone with mixed precision training. Download the model configs and weights by running this command.
mim download mmdet --config yolov3_d53_fp16_mstrain-608_273e_coco --dest .You may use any model from mmdetection Model Zoo (https://mmdetection.readthedocs.io/en/latest/model_zoo.html#baselines). However, you will need to change the model file path inside the python files webcam_demo.py, or video_demo.py (which ever files you are going to use).
You could run the demo on webcam by running webcam_demo.py.
python webcam_demo.pyYou could run the demo on a video by running video_demo.py (please lower the video frame rates and resolution before running).
python video_demo.pyLe Ky Nam
Pham Duc Nam Phuong
Pham Viet Hung
Phan Huu An
Ta Quynh Nga
Tran Anh Quan