bleakie / Retinadetector
Licence: apache-2.0
基于RetinaFace的目标检测方法,适用于人脸、缺陷、小目标、行人等
Stars: ✭ 73
Programming Languages
python
139335 projects - #7 most used programming language
Projects that are alternatives of or similar to Retinadetector
Facepapercollection
A collection of face related papers
Stars: ✭ 241 (+230.14%)
Mutual labels: face-detection, face-alignment
Face-alignment-Trees
This is the C++ implement of the paper: Face Detection, Pose Estimation, and Landmark Localization in the Wild
Stars: ✭ 17 (-76.71%)
Mutual labels: face-detection, face-alignment
Img2pose
The official PyTorch implementation of img2pose: Face Alignment and Detection via 6DoF, Face Pose Estimation - CVPR 2021
Stars: ✭ 247 (+238.36%)
Mutual labels: face-detection, face-alignment
Deep Face Recognition
One-shot Learning and deep face recognition notebooks and workshop materials
Stars: ✭ 147 (+101.37%)
Mutual labels: face-detection, face-alignment
iqiyi-vid-challenge
Code for IQIYI-VID(IQIYI Video Person Identification) Challenge Implemented in Python and MXNet
Stars: ✭ 45 (-38.36%)
Mutual labels: face-detection, face-alignment
Face Dataset
Face related datasets
Stars: ✭ 204 (+179.45%)
Mutual labels: face-detection, face-alignment
Face
I have published my face related codes in this repository
Stars: ✭ 53 (-27.4%)
Mutual labels: face-detection, face-alignment
Awesome Face recognition
papers about Face Detection; Face Alignment; Face Recognition && Face Identification && Face Verification && Face Representation; Face Reconstruction; Face Tracking; Face Super-Resolution && Face Deblurring; Face Generation && Face Synthesis; Face Transfer; Face Anti-Spoofing; Face Retrieval;
Stars: ✭ 3,220 (+4310.96%)
Mutual labels: face-detection, face-alignment
retinaface
RetinaFace: Deep Face Detection Library for Python
Stars: ✭ 242 (+231.51%)
Mutual labels: face-detection, face-alignment
enhanced-ssh-mxnet
The MXNet Implementation of Enhanced SSH (ESSH) for Face Detection and Alignment
Stars: ✭ 54 (-26.03%)
Mutual labels: face-detection, face-alignment
Tenginekit
TengineKit - Free, Fast, Easy, Real-Time Face Detection & Face Landmarks & Face Attributes & Hand Detection & Hand Landmarks & Body Detection & Body Landmarks & Iris Landmarks & Yolov5 SDK On Mobile.
Stars: ✭ 2,103 (+2780.82%)
Mutual labels: face-detection, face-alignment
Face Alignment
🔥 2D and 3D Face alignment library build using pytorch
Stars: ✭ 5,417 (+7320.55%)
Mutual labels: face-alignment, face-detection
Pyseeta
python api for SeetaFaceEngine(https://github.com/seetaface/SeetaFaceEngine.git)
Stars: ✭ 93 (+27.4%)
Mutual labels: face-detection, face-alignment
Face.evolve.pytorch
🔥🔥High-Performance Face Recognition Library on PaddlePaddle & PyTorch🔥🔥
Stars: ✭ 2,719 (+3624.66%)
Mutual labels: face-detection, face-alignment
Insightface
State-of-the-art 2D and 3D Face Analysis Project
Stars: ✭ 10,886 (+14812.33%)
Mutual labels: face-detection, face-alignment
DeepVTB
🌌 OpenVTuber-虚拟アイドル共享计划 An application of real-time face and gaze analyzation via deep nerual networks.
Stars: ✭ 32 (-56.16%)
Mutual labels: face-detection, face-alignment
Openvtuber
虚拟爱抖露(アイドル)共享计划, 是基于单目RGB摄像头的人眼与人脸特征点检测算法, 在实时3D面部捕捉以及模型驱动领域的应用.
Stars: ✭ 365 (+400%)
Mutual labels: face-detection, face-alignment
Facekit
Implementations of PCN (an accurate real-time rotation-invariant face detector) and other face-related algorithms
Stars: ✭ 1,028 (+1308.22%)
Mutual labels: face-detection, face-alignment
Opencv Face Filters
Snapchat-like Face Filters in OpenCV
Stars: ✭ 51 (-30.14%)
Mutual labels: face-detection
Dense Head Pose Estimation
[ECCV 2020] Reimplementation of 3DDFAv2, including face mesh, head pose, landmarks, and more.
Stars: ✭ 59 (-19.18%)
Mutual labels: face-alignment
RetinaDetection Object Detector
Introduction
RetinaDetector是基于RetinaFace修改的检测方法,原论文is a practical single-stage SOTA face detector which is initially described in arXiv technical report
Data
- Organise the dataset directory as follows:
data/retinaface/
train/
images/
label.txt
val/
images/
label.txt
test/
images/
label.txt
Install
- Install MXNet with GPU support.
- Install Deformable Convolution V2 operator from Deformable-ConvNets if you use the DCN based backbone.
- Type
make
to build cxx tools.
Training
Please check train.py
for training.
- Copy
rcnn/sample_config.py
torcnn/config.py
为了获得更好的训练效果,可针对性的修改一些参数,如下:
config.TRAIN.MIN_BOX_SIZE = 10 #最小bbox
config.FACE_LANDMARK = False #使用landmark
config.USE_BLUR = False
config.BBOX_MASK_THRESH = 0
config.COLOR_MODE = 2 #增强
config.COLOR_JITTERING = 0.125
无效人脸的过滤,如下:
if (x2 - x1) < config.TRAIN.MIN_BOX_SIZE or (y2 - y1) < config.TRAIN.MIN_BOX_SIZE:
continue
if self._split.startswith('train'):
blur[ix] = values[19]
if blur[ix] < 0.25:
continue
if config.BBOX_MASK_THRESH > 0:
if (x2 - x1) < config.BBOX_MASK_THRESH or (y2 - y1) < config.BBOX_MASK_THRESH:
boxes_mask.append(np.array([x1, y1, x2, y2], np.float))
continue
if self._split.startswith('train'):
if blur[ix] < 0.35:
boxes_mask.append(np.array([x1, y1, x2, y2], np.float))
continue
-
Download pretrained models and put them into
model/
.ImageNet ResNet50 (baidu cloud and dropbox).
ImageNet ResNet152 (baidu cloud and dropbox).
-
Start training with
sh train_model.sh
.
Before training, you can check theresnet
network configuration (e.g. pretrained model path, anchor setting and learning rate policy etc..) inrcnn/config.py
.
Testing
Please check test.py
for testing.
Result
- 缺陷检测
- 人脸检测+人脸对齐
Models
人脸检测模型,比原版误检更低,角度较大和模糊超过0.6的face会自动忽略,更适合人脸识别的应用:click here.
ToDo
由于缺陷检测数据涉及私密性,缺陷检测的模型暂时不会释放
References
@inproceedings{[email protected],
year={2019}
}
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].