paul-pias / Object-Detection-and-Distance-Measurement

Using yolov3 & yolov4 weights objects are being detected from live video frame along with the measurement of the object from the camera without the support of any extra hardware device.
348 stars 118 forks source link

NEED HELP #42

Open Ayushlath opened 2 years ago

Ayushlath commented 2 years ago

Can you help me in running this project from starting. I am getting stuck.

Roggu92 commented 2 years ago

I share the way I implemented it.

  1. Download the project locally (any path you want to save the project) (My path is... E:\Object-Detection-and-Distance-Measurement-master)

  2. 'env' was created using anaconda powershell prompt. $ conda create -n object_detection python=3.6 $ conda activate object_detection

  3. Installed the necessary library referring to README.

  4. Download the weight file uploaded by paul-pias to fit the yolo version (v3 or v4).

  5. Weight file was saved in the same path as the obejct_detection.py file.

  6. Go to the path where object_detection.py exists in the anaconda powershell prompt

    • I used v4.
    • $ cd E:\Object-Detection-and-Distance-Measurement-master\YOLOv4
  7. Run object_detection.py $ python object_detection.py (Note: The voice feedback function is annotated. v3 : Modify the code of the file 'object_detection' v4 : Modify line 144 of 'tool\utils')

HassanBinHaroon commented 2 years ago

Check out the following relevant and easiest implementation.

https://github.com/HassanBinHaroon/object_detection-PLUS-distance_estimation-v1