Bindings for yolov7 in one class
Project description
WongKinYiu/yolov7 as independent package
Bindings for yolov7 project (https://github.com/WongKinYiu/yolov7)
Example of usage:
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()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yolov7_package-0.0.10.tar.gz
(89.5 kB
view hashes)
Built Distribution
Close
Hashes for yolov7_package-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f650b60d40acff8de8a184d0d8b53517282d992c5a3e7501bb3f3035139e1bd |
|
MD5 | 48237410786655e77e56752c605448a0 |
|
BLAKE2b-256 | de9b8eec33962b0e8f709be2d231ed9df128c7e36c27259e0d44e560b384b7a7 |