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 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!
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.11.tar.gz
(91.7 kB
view hashes)
Built Distribution
Close
Hashes for yolov7_package-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db7b3e2c90230d39a93074d981ac587b571e292c48996bd821b4fa2fdcb8fd13 |
|
MD5 | 85801a0f018ae66d5a63af494ce98492 |
|
BLAKE2b-256 | b80f29efaa5c2abe0cfdb244f917796d382a0464d5dc92aaaf81201b71f51289 |