Skip to main content

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

Project description

mtcnn-runtime

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

使用方式

安装方式

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

pip install mtcnn-runtime

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

运行方式

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

import cv2
from mtcnnruntime import MTCNN

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

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

mtcnn_runtime-0.0.4.tar.gz (2.5 MB view hashes)

Uploaded Source

Built Distribution

mtcnn_runtime-0.0.4-py3-none-any.whl (1.9 MB view hashes)

Uploaded Python 3

Supported by

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