YOLOER stands for You Only Look Once and Estimate Range while V1 implies the version of object detector (V2 = YOLOv7). The project is about REAL-TIME Object Detection and Distance/Depth Estimation using YOLOv7 object detector. To test the Real-Time functionality immediately, we provide the option of running the model on the webcam. Moreover, the options of testing on recorded videos and images are also provided.
In order to test any Real-Time system, the most convenient method is to run on the webcam. So, we provide the options of quick inference on a local machine and visualization through the webcam. Some installations are required before running the inference and the following subsection contains the entire method. So follow step by step.
Moreover, we prefer working in Conda environments and it is recommended to install it first. In case of not have Conda installed, just skip the Conda-specific commands and follow along.
conda create --name YOLOER_V2 python=3.7 -y && conda activate YOLOER_V2
git clone https://github.com/HassanBinHaroon/YOLOER_V2.git
cd YOLOER_V2/REAL-TIME_Distance_Estimation_with_YOLOV7
pip install -r requirements.txt
python detect.py --save-txt --weights yolov7.pt --conf 0.4 --source 0 --model_dist [email protected] --weights_dist [email protected]
Click on the following link.
https://colab.research.google.com/github/HassanBinHaroon/YOLOER_V1/blob/master/YOLOER_V1.ipynb
Note! The project is still in progress.