Metadata-Version: 2.1
Name: yolov7-package
Version: 0.0.7
Summary: Bindings for yolov7 in one class
Home-page: https://github.com/maxwolf8852/yolov7_package.git
Author: Maxim Volkovskiy
Author-email: maxwolf8852@gmail.com
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

<h3 align="center">
  WongKinYiu/yolov7 as independent package
</h3>

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

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

if __name__ == '__main__':
    img = cv2.imread('img.jpg')
    #img = cv2.resize(img, [640, 640])
    det = Yolov7Detector()
    classes, boxes, scores = det.detect(img)
    print(classes, boxes, scores)
    img = det.draw_on_image(img, boxes[0], scores[0], classes[0])
    print(img.shape)

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