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

mtcnn-runtime

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mtcnn-runtime

Python library for streamlined tracking and management of AI training processes.

  • 1.0.0
  • PyPI
  • Socket score

Maintainers
1

mtcnn-runtime

基于mtcnn和onnxruntime的轻量级人脸检测库,开箱即用,非常方便。 cover

使用方式

安装方式

在终端运行如下命令进行安装:

pip install mtcnn-runtime

本项目只针对python3.8以上版本进行维护

运行方式

安装完毕以后,可在python代码中加入如下内容进行使用:

import cv2
from mtcnnruntime import MTCNN, draw_faces

mtcnn = MTCNN()
path="你的图像路径"
img = cv2.imread(path)
boxes, landmarks = mtcnn.detect(img)

# 并且, 你可以使用如下方式进行绘制
img_show = draw_faces(img, boxes, landmarks)

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