Skip to main content

Bindings for yolov7 in one class

Project description

GitHub PyPI version PyPI - Downloads

WongKinYiu/yolov7 as independent package

Bindings for yolov7 project (

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)

You can use traced=True option to download and infer traced FP16 version of yolov7 model!

PYPI link:

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.12.tar.gz (82.1 kB view hashes)

Uploaded Source

Built Distribution

yolov7_package-0.0.12-py3-none-any.whl (88.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page