Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

ultralight

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ultralight

Ultra Light Fast Generic Face Detector πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦πŸ–Ό

  • 2.2.0
  • PyPI
  • Socket score

Maintainers
1

Ultra Light

Ultra Light Fast Generic Face Detector πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦πŸ–Ό

sample

Very fast and quality face detector. Can use CPU, GPU and MPS (Apple M1 ML) providers. Work via ONNX model

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()
boxes, scores = detector.detect_one(image)
print(f'Found {len(boxes)} face(s)')
# >>> Found 14 face(s)

draw_faces(image, boxes, scores)
cv2.imshow('result', image)
cv2.waitKey(0)

This sample can be found here

Reference

GitHub repository of original detector

ArXiv paper of original detector

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)

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc