Ultra Light Fast Generic Face Detector 👨👩👧👦🖼
Project description
Ultra Light
Ultra Light Fast Generic Face Detector 👨👩👧👦🖼
Installation
pip install ultralight
Usage sample
import cv2
from ultralight import UltraLightDetector
from ultralight.utils import draw_faces
image = cv2.imread('sample.jpg')
detector = UltraLightDetector()
faces, scores = detector.detect(image)
print(f'Found {len(faces)} face(s)')
# >>> Found 5 face(s)
draw_faces(image, faces, scores)
cv2.imshow('result', image)
cv2.waitKey(0)
This sample can be found here
More
PyPI: https://pypi.org/project/ultralight
Repository: https://github.com/abionics/UltraLight
Developer: Alex Ermolaev (Abionics)
Email: abionics.dev@gmail.com
License: MIT (see LICENSE.txt)
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
ultralight-1.0.0.tar.gz
(5.7 kB
view hashes)