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.5.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.5-py3-none-any.whl (95.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yolov7_package-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6f4a3084bd43f327856745604a6d811bf1f0d1541ab4a771ef27d8c0a275c7f6
MD5 0347229db3ec74901b4756ed7f9d3898
BLAKE2b-256 d8cadc78bec09c7478a1c5c64e43ea7f747c3f1224613687f11e895e856497d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yolov7_package-0.0.5-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.8.10

File hashes

Hashes for yolov7_package-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c100a7f293c18f75b5b7b6bd6f9cae0bb1d12de1ff5d1ca9cd30dfa695d6d9ef
MD5 5ae99c1cdca01ff960e18a7acce40227
BLAKE2b-256 ac97cdc9ac9f7d97f718363a12dbd6e83a4e8b8578bca3c95904a2dcc7709964

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