commands to run in terminal
python -m venv env
./env/Scripts/activate
pip install opencv-python
pip install supervision==0.3.0
pip install ultralytics
Download the pt file from ultralytics** Link to download the models: https://github.com/ultralytics/ultralytics
download the model named YOLOv8n or YOLOv8s or YOLOv8m or YOLOv8l or YOLOv8x
make sure to place the model in same folder as the code
by default the model used is YOLOv8m.pt