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.7.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.7.tar.gz.
File metadata
- Download URL: yolov7_package-0.0.7.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 |
2699f11e4145fd8b43130e631d58649483cd521e922e9266f940030b75b12f9c
|
|
| MD5 |
895dbc17d64672c723bd787cc8db4aa3
|
|
| BLAKE2b-256 |
744fcf422a585027048bb5bad470d101b3bcdff1eed3891db0013f4ba68b2f46
|
File details
Details for the file yolov7_package-0.0.7-py3-none-any.whl.
File metadata
- Download URL: yolov7_package-0.0.7-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 |
393d98cfcc1628865c9d7877d16855c7a9a839cfdd1aebc343788cfd5b135311
|
|
| MD5 |
c9b78259f7c6ca39a47533a823a07363
|
|
| BLAKE2b-256 |
4cdd7cddabef4bf43254c380f69dc8efbc4da6f04f03d7914a12c86214e6f354
|