Jul 18, 2024
Create Environment:
conda create --name any_env_name
conda activate any_env_name
Clone YOLO V7 Repository:
git clone [YOLO V7 link]
Install Required Packages:
pip install -r requirements.txt
YOLO v7.pt
under the testing sectionpython detect.py --weights [path] --conf 0.5 --img-size [size] --source [image file] --device 0
runs/detect/experiment
folder--device cpu
runs/detect/experiment
folder--source [video file]
runs/detect/experiment
folder0
for inbuilt webcam1
for an external webcam