det-executor-0.0.5
توضیحات
Python package with latest versions of YOLO architecture for training and inference
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | det-executor-0.0.5 |
| نام | det-executor |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Maxim Volkovskiy |
| ایمیل نویسنده | maxwolf8852@gmail.com |
| آدرس صفحه اصلی | https://github.com/maxwolf8852/DetExecutor.git |
| آدرس اینترنتی | https://pypi.org/project/det-executor/ |
| مجوز | - |

[](https://badge.fury.io/py/det_executor)

# DetExecutor
Python package with latest versions of YOLO architecture for training and inference
## Install
Installing is quite simple, just use pip:
```shell
pip3 install det_executor
```
## Train
Training support is still in progress!
## Inference
### Loading model
```python3
from det_executor import DetExecutor
# print list of supported arches
DetExecutor.list_arch()
# loading model
name = 'yolov7'
ex = DetExecutor(name)
```
### Predict and draw
```python3
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()
```
نیازمندی
| مقدار | نام |
|---|---|
| - | pyyaml |
| - | opencv-python |
| - | torch |
| - | torchvision |
| - | requests |
| - | wget |
| - | tqdm |
| - | ultralytics |
| - | black |
| - | colorama |
| - | pthflops |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl det-executor-0.0.5:
pip install det-executor-0.0.5.whl
نصب پکیج tar.gz det-executor-0.0.5:
pip install det-executor-0.0.5.tar.gz