This package is deprecated. Now use 
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/
Release files for yolov7-package 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yolov7_package-0.0.13.tar.gz | 82.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yolov7_package-0.0.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 171.0 kB
Release files / yolov7_package-0.0.13.tar.gz
| Download URL | yolov7_package-0.0.13.tar.gz |
|---|---|
| Size | 82.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7802cd8f607ff16a1c7dc2d548f554e134248fce309300456ebad5a74ac21c3
|
|
BLAKE2b-256 checksum How to use checksums |
09f5873e6a8f243c2b344330d7415430bb50e7ecc3f7299e9f95ea4784a453c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.8
|
Release files / yolov7_package-0.0.13-py3-none-any.whl
| Download URL | yolov7_package-0.0.13-py3-none-any.whl |
|---|---|
| Size | 88.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08bea0760424a7b3c21a57b5e40f3fc719db9a78cd98bb69cdb9688bbf38ed11
|
|
BLAKE2b-256 checksum How to use checksums |
68b42d90c2adf7d79767ae970f0a06e13d156014b7a00055fe815ae821fb6cb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.8
|