harshthaker / yolov8face

Yolov8face is a Python wrapper of Ultrlytics that simplifies the process of detecting faces in images using the yolov8n-face model. It takes care of model downloading, loading and postprocessing, allowing you to detect faces in images with just a few lines of code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yolov8face

Yolov8face is a Python wrapper of Ultrlytics that simplifies the process of detecting faces in images using the yolov8n-face model. It takes care of pre-trained model downloading, loading and postprocessing, allowing you to detect faces in images with just a few lines of code.

Installation

pip install yolov8face

Usage

from yolov8face import get_bbox
bboxes = get_bbox('path-to-image/image.jpg')

Example

can't load example image

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

Please note that this project uses the YOLOv8 model from the Ultralytics team, which is also licensed under the GPL-3.0 License. For commercial uses, please contact the Ultralytics team for an Enterprise License.

Credits

This package was developed by Harsh Thaker.

Special thanks to:

This project stands on the shoulders of the open-source community. It wouldn't be possible without the numerous open source projects we've utilised.

About

Yolov8face is a Python wrapper of Ultrlytics that simplifies the process of detecting faces in images using the yolov8n-face model. It takes care of model downloading, loading and postprocessing, allowing you to detect faces in images with just a few lines of code.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%