An open API service indexing awesome lists of open source software.

https://github.com/maxwolf8852/yolov7_package


https://github.com/maxwolf8852/yolov7_package

pytorch yolo yolov7 yolov7-tiny

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

![GitHub](https://img.shields.io/github/license/maxwolf8852/yolov7_package?style=plastic)
[![PyPI version](https://badge.fury.io/py/yolov7_package.svg)](https://badge.fury.io/py/yolov7_package)
![PyPI - Downloads](https://img.shields.io/pypi/dm/yolov7_package?style=plastic)

# This package is deprecated. Now use ![DetExecutor](https://github.com/maxwolf8852/DetExecutor)


WongKinYiu/yolov7 as independent package

Bindings for yolov7 project (https://github.com/WongKinYiu/yolov7)

Example of usage:
```Python
from yolov7_package import Yolov7Detector
import cv2

if __name__ == '__main__':
img = cv2.imread('img.jpg')
det = Yolov7Detector(traced=False)
classes, boxes, scores = det.detect(img)
img = det.draw_on_image(img, boxes[0], scores[0], classes[0])

cv2.imshow("image", img)
cv2.waitKey()
```

You can use traced=True option to download and infer traced FP16 version of yolov7 model!

PYPI link: https://pypi.org/project/yolov7-package/