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
Release history Release notifications | RSS feed
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.8.tar.gz
(88.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yolov7_package-0.0.8.tar.gz.
File metadata
- Download URL: yolov7_package-0.0.8.tar.gz
- Upload date:
- Size: 88.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e156d78ac72e08e40a79e8f68a8f39673e385eaff7e76b99c3bb6fd27b127227
|
|
| MD5 |
d9d04d47ad0f5d8d3b7020f9e9ea3afa
|
|
| BLAKE2b-256 |
80ac7d97d49b7bc6cba2a43d9fcffd6eb902aa4acec261d75ee1452e9a5feec5
|
File details
Details for the file yolov7_package-0.0.8-py3-none-any.whl.
File metadata
- Download URL: yolov7_package-0.0.8-py3-none-any.whl
- Upload date:
- Size: 95.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32ae1a15c460dd9f0d01620dc6ffee2fede510e6a4c14f6205efc5be86659120
|
|
| MD5 |
2c1c9e12c27ca415e21f31775c2c2049
|
|
| BLAKE2b-256 |
687a4dc772bcb19e02bb56eb7c9894f11ac3b687b9ff97f5eabfcd8d80f0976c
|