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!
PYPI link: https://pypi.org/project/yolov7-package/
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
test_yolo-0.0.14-py3-none-any.whl
(88.5 kB
view hashes)
Close
Hashes for test_yolo-0.0.14-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | c38b087bb09d1d1601238c86fa5317da371308448f8bf0abb3d276d67a7f9884 |
|
| MD5 | bc44cef1d11ddd6f22a5c032eb392826 |
|
| BLAKE2b-256 | b758f07d11bb4dd89fe307153230c0a7bd1d01b3852982ee3c6a3e17fd3ed73f |