Skip to main content

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


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.9.tar.gz (89.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yolov7_package-0.0.9-py3-none-any.whl (95.7 kB view details)

Uploaded Python 3

File details

Details for the file yolov7_package-0.0.9.tar.gz.

File metadata

  • Download URL: yolov7_package-0.0.9.tar.gz
  • Upload date:
  • Size: 89.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for yolov7_package-0.0.9.tar.gz
Algorithm Hash digest
SHA256 86a2b8b6d76e6908d4a38a3c75f69bc031c0e76ef120ba748186ce16a2947b7d
MD5 bffe07c8f0b10df8f20b3a3edbb3029f
BLAKE2b-256 7a379c0c0daeab3e649d543a817dcf59b621472cb706572102d504dde0230f04

See more details on using hashes here.

File details

Details for the file yolov7_package-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: yolov7_package-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 95.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for yolov7_package-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9221f1f5c78c2c1d859bc1a62eeff48a766727cda0249e88c74957a64a204c1b
MD5 fc206c5a9ab33a7c72e1a4fafff7b1c2
BLAKE2b-256 2283541c859dd22f2974affe2b74fc32b5a52b381ba39f74a01d2e2352368f48

See more details on using hashes here.

Supported by

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