Python package with latest versions of YOLO architecture for training and inference
Project description
DetExecutor
Python package with latest versions of YOLO architecture for training and inference
Install
Installing is quite simple, just use pip:
pip3 install det_executor
Train
Training support is still in progress!
Inference
Loading model
from det_executor import DetExecutor
# print list of supported arches
DetExecutor.list_arch()
# loading model
name = 'yolov7'
ex = DetExecutor(name)
Predict and draw
from det_executor import DetExecutor, draw_on_image
import cv2
# loading model
name = 'yolov7'
ex = DetExecutor(name)
# loading image
img = cv2.imread('test/img.jpg')
# predict
classes, boxes, scores = ex.predict(img)
# draw
img = draw_on_image(img, boxes[0], scores[0], classes[0])
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
det_executor-0.0.2.tar.gz
(92.9 kB
view details)
Built Distribution
File details
Details for the file det_executor-0.0.2.tar.gz
.
File metadata
- Download URL: det_executor-0.0.2.tar.gz
- Upload date:
- Size: 92.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bf4aecf8ec3167ae2e7e7f29614b60b31686efe523fd3224351238df63fcce0 |
|
MD5 | 446d99f1eb8aa7a116bbfb9b938dfd3d |
|
BLAKE2b-256 | 5d619050f17f29ddf736b14ba17cf7536cce37f3e79271126f7e86798b8cbbd4 |
File details
Details for the file det_executor-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: det_executor-0.0.2-py3-none-any.whl
- Upload date:
- Size: 98.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f7b660e61038454fb5dd3db681d21f6de37e9ac1fc03f8a8911388e4d9cf34b |
|
MD5 | bcf406a8507ee455084a5a1a4bb79ff0 |
|
BLAKE2b-256 | b7d2856a2cf28dcdd4b2031f2f43d1ec10d4c025adcd2d871123b7341be59adb |