Metadata-Version: 2.1
Name: yasod
Version: 0.0.2
Summary: Yet another simple object detector
Home-page: https://github.com/michdr/yasod
License: MIT
Keywords: computer vision,object detection
Author: Michael Druk
Author-email: 2467184+michdr@users.noreply.github.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: PyYAML (>=5.3.1,<6.0.0)
Requires-Dist: numpy (>=1.19.4,<2.0.0)
Requires-Dist: opencv-python (>=4.4.0,<5.0.0)
Requires-Dist: pydantic (>=1.7.2,<2.0.0)
Project-URL: Documentation, https://github.com/michdr/yasod
Project-URL: Repository, https://github.com/michdr/yasod
Description-Content-Type: text/markdown

![CI Status](https://github.com/michdr/yasod/workflows/CI/badge.svg)
[![PyPI version](https://img.shields.io/pypi/v/yasod)](https://pypi.org/project/yasod)

# yasod
<!--- Don't edit the version line below manually. Let bump2version do it for you. -->
> Version 0.0.2 
>
> Yet another simple object detector

## Installing
```bash
pip install yasod
``` 

## Getting started
An example for a config and models could be found in `tests/data`. 

Here is a simple example how to detect the objects of a given `input-image.jpg` and draw an output image accordingly:
```python
from yasod import Yasod

model = Yasod("simple_yasod_config.yml").get_model("yolov4-tiny")
img, detections = model.detect("input-image.jpg")
model.draw_results(img, detections, "output-image.jpg")
``` 

