Skip to content

Object Detection V1.7

Choose a tag to compare

@OGD311 OGD311 released this 20 Jul 14:10
· 2 commits to main since this release

New Features/Changes
Centre of the screen marked in red (Changes based on size of input image/camera)
Centre of each object marked in blue (Changes based on object size and movement

Coming Soon:
Better distance calculations
Object direction + Speed

Installation Instructions:
Extract the zip file (ensure all the extracted files are put in the same folder) and then run the batch file.
Within the 'build' folder and within the folder enclosed in that should be 'Object detection (YOLO4 Vx)' - run this.
It will prompt for "Camera/Screen (1/2)" simply enter "1" for camera input or "2" for screen input.

Camera:
It will then prompt you for some numbers which you can choose to input or not (if you don't want to choose just hit enter) otherwise enter the confidence (0.00-1.00), camera width and camera height (in that order). Now a camera window will appear, and the program will try to identify what's in front of the camera. Hit 'q' at any time to quit.

Screen:
It will then prompt you for some numbers which you can choose to input or not (if you don't want to choose just hit enter) otherwise enter the confidence (0.00-1.00), starting x coordinate, starting y coordinate, window width and window height (in that order)
Once running simply drag a picture, video, etc onto those coordinates and watch the program try and identify it. Hit 'q' at any time to quit.