Skip to content

Implementation of YOLO DNN inference with OpenCV

License

Notifications You must be signed in to change notification settings

Ikomia-dev/YoloDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

YoloDetection

Implementation of YOLO DNN inference with OpenCV

We give a Python script to launch inference (detection):

python detection.py "SourceImage" "ConfigFile" "WeightsFile" "ClassFile"

SourceImage (mandatory): path of the image or folder of images on which detection will be done.
ConfigFile (mandatory): path of the YOLO configuration file (.cfg).
WeightsFile (mandatory): path of the YOLO trained model (.weights).
ClassFile (mandatory): path of the text file where are listed all class labels.

Once the detection is done, the result image is shown with bounding boxes around detected objects. Here is the list of possible user interactions:

  1. Press 's' key to save result image into the current folder.
  2. Press 'Esc' key to end process.
  3. Press any other key to process next image

About

Implementation of YOLO DNN inference with OpenCV

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages