반응형

1. github download

https://github.com/WongKinYiu/yolov7

 

GitHub - WongKinYiu/yolov7: Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time

Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors - GitHub - WongKinYiu/yolov7: Implementation of paper - YOLOv7: Trainable bag-of...

github.com

 

2. install requirements

python -r requirements.txt

- 폴더 내부에 있는 requirements.txt 를 설치.

 

 

3. detect test

- github 주소에 있는 yolov7.pt를 내려 받는다.

- 아래 test code 실행.

# [image]
python detect.py --weights yolov7.pt --conf 0.6 --source ./image.jpg

# [video]
python detect.py --weights yolov7.pt --conf 0.25 --img-size 640 --source yourvideo.mp4

 

- /runs/detect/ 경로에 결과 저장 됨.

 

반응형

'DeepLearning > YOLO' 카테고리의 다른 글

[YOLOv8] YOLOv8 Export, Pytorch to TensorRT  (0) 2023.07.21
[YOLOv8] YOLOv8 install windows 10  (0) 2023.07.21
3. YOLO c++, cpp dll 활용 (MFC)  (4) 2021.01.04
2. YOLO, Custom Train  (0) 2021.01.04
1. Yolo_mark, Image Data Labeling  (0) 2021.01.04
woongs_93