Metadata-Version: 2.1
Name: lambda-pyutils
Version: 0.1.2
Summary: Python utilities for machine learning
Author-email: Lambda IT <info@lambda-it.ch>
Project-URL: Homepage, https://github.com/Lambda-IT/pyutils
Project-URL: Bug Tracker, https://github.com/Lambda-IT/pyutils/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# Python utility library for machine learning

## Opencv

### Dnn based face detector:  

Example usage:
```
from pyutils.cvfacedetector.facedetector import FaceDetector
faceDetector = FaceDetector(confidence=0.6) # pass optional confidence

results = faceDetector.detectFaces(img) # returns list of (face, box) for each detected face
for face, box in results:
    print('face', face.shape)
    print('box', box)

> face (235, 235, 3)
> box [73, 105, 235, 235]
```  

## Building and publishing the build
```
pip install -r requirements.txt
pip -m build

# upload to test.pypi.org   
python -m twine upload --repository testpypi dist/*

# upload to pypi.org
python -m twine upload dist/*

```


## Installing the package
From test.pypi.org:  
`pip install -i https://test.pypi.org/simple/ lambda-pyutils`    

From pypi.org:  
`pip install lambda-pyutils`
