当前位置:网站首页>Mtcnn face detection
Mtcnn face detection
2022-07-06 11:24:00 【imxlw00】
MTCNN Two tasks can be achieved —— Face detection and face key point detection .
MTCNN It's integrated into python Library .
install
Be careful : The following dependencies need to be confirmed before installation :
python >= 3.4
opencv >= 4.1
Keras>=2.0.0
pip install mtcnn

Face detection
from mtcnn import MTCNN
import cv2
img=cv2.imread("../datas/face/ldh2.jpg")
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
detector = MTCNN()
face =detector.detect_faces(img)
print(face)
[
{‘box’: [162, 72, 226, 281],
‘confidence’: 0.9999822378158569,
‘keypoints’: {‘left_eye’: (236, 190), ‘right_eye’: (335, 179), ‘nose’: (296, 248), ‘mouth_left’: (254, 291), ‘mouth_right’: (331, 282)}}
]
design sketch

边栏推荐
- MySQL主從複制、讀寫分離
- Tcp/ip protocol (UDP)
- Use dapr to shorten software development cycle and improve production efficiency
- 自动机器学习框架介绍与使用(flaml、h2o)
- 机器学习--人口普查数据分析
- Why can't I use the @test annotation after introducing JUnit
- [free setup] asp Net online course selection system design and Implementation (source code +lunwen)
- What does usart1 mean
- Number game
- Why can't STM32 download the program
猜你喜欢

Django running error: error loading mysqldb module solution

Solution: log4j:warn please initialize the log4j system properly

In the era of DFI dividends, can TGP become a new benchmark for future DFI?

One click extraction of tables in PDF
![[蓝桥杯2017初赛]方格分割](/img/e9/e49556d0867840148a60ff4906f78e.png)
[蓝桥杯2017初赛]方格分割

Introduction and use of automatic machine learning framework (flaml, H2O)

Copie maître - esclave MySQL, séparation lecture - écriture

When you open the browser, you will also open mango TV, Tiktok and other websites outside the home page

保姆级出题教程

QT creator create button
随机推荐
图片上色项目 —— Deoldify
MySQL completely uninstalled (windows, MAC, Linux)
Django running error: error loading mysqldb module solution
Neo4j installation tutorial
L2-006 树的遍历 (25 分)
Machine learning notes week02 convolutional neural network
机器学习笔记-Week02-卷积神经网络
QT creator support platform
double转int精度丢失问题
人脸识别 face_recognition
学习问题1:127.0.0.1拒绝了我们的访问
QT creator shape
Ansible practical Series II_ Getting started with Playbook
UDS learning notes on fault codes (0x19 and 0x14 services)
Principes JDBC
When you open the browser, you will also open mango TV, Tiktok and other websites outside the home page
JDBC原理
牛客Novice月赛40
Kept VRRP script, preemptive delay, VIP unicast details
vs2019 使用向导生成一个MFC应用程序