Skip to main content

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

Project description

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)

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-1.0.0.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

mtcnn_runtime-1.0.0-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file mtcnn_runtime-1.0.0.tar.gz.

File metadata

  • Download URL: mtcnn_runtime-1.0.0.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for mtcnn_runtime-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dc48d6566ff0229a028c5074f66989a17ed36ed5e41fe49c973925f8a5043d47
MD5 f8abb429249b21bc3951c681090a3e26
BLAKE2b-256 4f789894a0553b2828255c5388149d345d48091ba1c19ce6203f74d35fabf2a0

See more details on using hashes here.

Provenance

File details

Details for the file mtcnn_runtime-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mtcnn_runtime-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e6923b9f48b4ae569eb6e1b234b20a42a7f3081797cb351c55db9d528a3f346
MD5 cdfb8196c1a8bd296b069e129a8a5978
BLAKE2b-256 c2a2c9ac8d01e2ee91d5396ec84632124acd7129efc3d2be03dab7ee9fd0e3ee

See more details on using hashes here.

Provenance

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