YoloV8 is detector objects in static images, videos, and a live webcam using Python and Ultralytics.
Install New Release Python and PhyCharm Community Edition To Run This Code
Before start the program you must install the Requirements
pip install -r requirements.txt
For Change the Resolution you can change whatever Ratio or Pixel did you want to use
cap = cv2.VideoCapture(0)
cap.set(3, 1024) // Length of Resolution
cap.set(4, 600) // Width of Resolution
You can Change scale or thickness of border at this line
cvzone.putTextRect(img, f'{classNames[cls]} {conf}', (max(0, x1), max(35, y1)),scale=0.9,thickness=2)
Run the python file for start the program
run main.py