Skip to main content

UNICORNER Coffee’s simple FaceDetector module (YuNet wrapper)

Project description

unicorner-face-detector

Simple wrapper around OpenCV’s YuNet face detector.

Install

pip install unicorner-face-detector

Usage

from unicorner_face_detector import FaceDetector import cv2

fd = FaceDetector(min_confidence=0.8) cap = cv2.VideoCapture(0) ret, frame = cap.read() faces = fd.detect(frame) for x,y,w,h,conf in faces: cv2.rectangle(frame,(x,y),(x+w,y+h),(0,255,0),2)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unicorner_face_detector-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unicorner_face_detector-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file unicorner_face_detector-0.1.0.tar.gz.

File metadata

  • Download URL: unicorner_face_detector-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for unicorner_face_detector-0.1.0.tar.gz
Algorithm Hash digest
SHA256 84a92b194bd0f6c5295f2fc555a1959ffa42b1d929cfd1b0cef475bc11af65e6
MD5 786330d531995f1335bf214b38a41371
BLAKE2b-256 1f0c029120d550c825eb039c1b14cb8f59eb066554b48f7eb6b6cfc7dcd1979a

See more details on using hashes here.

File details

Details for the file unicorner_face_detector-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for unicorner_face_detector-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9243ee3633f8692e01614aaed2b6360665422ca778b1ab5fe6f852a2592ddbaa
MD5 ad1f837189195a59df8f41df0553640f
BLAKE2b-256 a3ae7cf4b95a25ed483293b777cd0359c3cae16cda3cd6389f4d28e898b39926

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page