All Projects → zisianw → Faceboxes.pytorch

zisianw / Faceboxes.pytorch

Licence: mit
A PyTorch Implementation of FaceBoxes

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Faceboxes.pytorch

Openvtuber
虚拟爱抖露(アイドル)共享计划, 是基于单目RGB摄像头的人眼与人脸特征点检测算法, 在实时3D面部捕捉以及模型驱动领域的应用.
Stars: ✭ 365 (-47.1%)
Mutual labels:  face-detection
Facecropper
✂️ Crop faces, inside of your image, with iOS 11 Vision api.
Stars: ✭ 479 (-30.58%)
Mutual labels:  face-detection
Pythoncode Tutorials
The Python Code Tutorials
Stars: ✭ 544 (-21.16%)
Mutual labels:  face-detection
Deepface
Deep Learning Models for Face Detection/Recognition/Alignments, implemented in Tensorflow
Stars: ✭ 409 (-40.72%)
Mutual labels:  face-detection
Awesome Tiny Object Detection
🕶 A curated list of Tiny Object Detection papers and related resources.
Stars: ✭ 471 (-31.74%)
Mutual labels:  face-detection
Php Opencv
PHP extensions for OpenCV
Stars: ✭ 524 (-24.06%)
Mutual labels:  face-detection
Tiny faces in tensorflow
A Tensorflow Tiny Face Detector, implementing "Finding Tiny Faces"
Stars: ✭ 364 (-47.25%)
Mutual labels:  face-detection
Facerecognitiondotnet
The world's simplest facial recognition api for .NET on Windows, MacOS and Linux
Stars: ✭ 672 (-2.61%)
Mutual labels:  face-detection
Faceboxes
FaceBoxes: A CPU Real-time Face Detector with High Accuracy
Stars: ✭ 473 (-31.45%)
Mutual labels:  face-detection
Face Alignment
🔥 2D and 3D Face alignment library build using pytorch
Stars: ✭ 5,417 (+685.07%)
Mutual labels:  face-detection
Android Face Detector
A real-time face detection Android library
Stars: ✭ 432 (-37.39%)
Mutual labels:  face-detection
Brfv4 javascript examples
BRFv4 - HTML5/Javascript - examples project. Reference implementation for all other platform example packages.
Stars: ✭ 460 (-33.33%)
Mutual labels:  face-detection
Faced
🚀 😏 Near Real Time CPU Face detection using deep learning
Stars: ✭ 528 (-23.48%)
Mutual labels:  face-detection
Curated List Of Awesome 3d Morphable Model Software And Data
The idea of this list is to collect shared data and algorithms around 3D Morphable Models. You are invited to contribute to this list by adding a pull request. The original list arised from the Dagstuhl seminar on 3D Morphable Models https://www.dagstuhl.de/19102 in March 2019.
Stars: ✭ 375 (-45.65%)
Mutual labels:  face-detection
Simplecvreproduction
Reproduce simple cv project including attention module, classification, object detection, segmentation, keypoint detection, tracking 😄 etc.
Stars: ✭ 602 (-12.75%)
Mutual labels:  face-detection
Vtuber unity
Use Unity 3D character and Python deep learning algorithms to stream as a VTuber!
Stars: ✭ 361 (-47.68%)
Mutual labels:  face-detection
Daily Paper Computer Vision
记录每天整理的计算机视觉/深度学习/机器学习相关方向的论文
Stars: ✭ 4,977 (+621.3%)
Mutual labels:  face-detection
Ultra Light Fast Generic Face Detector 1mb
💎1MB lightweight face detection model (1MB轻量级人脸检测模型)
Stars: ✭ 6,182 (+795.94%)
Mutual labels:  face-detection
Mobileface
A face recognition solution on mobile device.
Stars: ✭ 669 (-3.04%)
Mutual labels:  face-detection
Mtcnn Pytorch
Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networks
Stars: ✭ 531 (-23.04%)
Mutual labels:  face-detection

FaceBoxes in PyTorch

License

By Zisian Wong, Shifeng Zhang

A PyTorch implementation of FaceBoxes: A CPU Real-time Face Detector with High Accuracy. The official code in Caffe can be found here.

Performance

Dataset Original Caffe PyTorch Implementation
AFW 98.98 % 98.55%
PASCAL 96.77 % 97.05%
FDDB 95.90 % 96.00%

Citation

Please cite the paper in your publications if it helps your research:

@inproceedings{zhang2017faceboxes,
  title = {Faceboxes: A CPU Real-time Face Detector with High Accuracy},
  author = {Zhang, Shifeng and Zhu, Xiangyu and Lei, Zhen and Shi, Hailin and Wang, Xiaobo and Li, Stan Z.},
  booktitle = {IJCB},
  year = {2017}
}

Contents

Installation

  1. Install PyTorch >= v1.0.0 following official instruction.

  2. Clone this repository. We will call the cloned directory as $FaceBoxes_ROOT.

git clone https://github.com/zisianw/FaceBoxes.PyTorch.git
  1. Compile the nms:
./make.sh

Note: Codes are based on Python 3+.

Training

  1. Download WIDER FACE dataset, place the images under this directory:
$FaceBoxes_ROOT/data/WIDER_FACE/images
  1. Convert WIDER FACE annotations to VOC format or download our converted annotations, place them under this directory:
$FaceBoxes_ROOT/data/WIDER_FACE/annotations
  1. Train the model using WIDER FACE:
cd $FaceBoxes_ROOT/
python3 train.py

If you do not wish to train the model, you can download our pre-trained model and save it in $FaceBoxes_ROOT/weights.

Evaluation

  1. Download the images of AFW, PASCAL Face and FDDB to:
$FaceBoxes_ROOT/data/AFW/images/
$FaceBoxes_ROOT/data/PASCAL/images/
$FaceBoxes_ROOT/data/FDDB/images/
  1. Evaluate the trained model using:
# dataset choices = ['AFW', 'PASCAL', 'FDDB']
python3 test.py --dataset FDDB
# evaluate using cpu
python3 test.py --cpu
# visualize detection results
python3 test.py -s --vis_thres 0.3
  1. Download eval_tool to evaluate the performance.

References

  • Official release (Caffe)

  • A huge thank you to SSD ports in PyTorch that have been helpful:

    Note: If you can not download the converted annotations, the provided images and the trained model through the above links, you can download them through BaiduYun.

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].