All Projects → luoyetx → Joint Face Detection And Alignment

luoyetx / Joint Face Detection And Alignment

Licence: other
Caffe and Python implementation of Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networks

Programming Languages

python
139335 projects - #7 most used programming language
cpp
1120 projects

Projects that are alternatives of or similar to Joint Face Detection And Alignment

Mtcnn caffe
Simple implementation of kpzhang93's paper from Matlab to c++, and don't change models.
Stars: ✭ 244 (+139.22%)
Mutual labels:  caffe, mtcnn
Facerecognition
This is an implematation project of face detection and recognition. The face detection using MTCNN algorithm, and recognition using LightenenCNN algorithm.
Stars: ✭ 137 (+34.31%)
Mutual labels:  caffe, mtcnn
Mtcnn Caffe
Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Neural Networks
Stars: ✭ 499 (+389.22%)
Mutual labels:  caffe, mtcnn
Raspberrypi Facedetection Mtcnn Caffe With Motion
MTCNN with Motion Detection, on Raspberry Pi with Love
Stars: ✭ 204 (+100%)
Mutual labels:  caffe, mtcnn
Facedetection
C++ project to implement MTCNN, a perfect face detect algorithm, on different DL frameworks. The most popular frameworks: caffe/mxnet/tensorflow, are all suppported now
Stars: ✭ 255 (+150%)
Mutual labels:  caffe, mtcnn
Mtcnn
全平台实时人脸检测和姿态估计,提供无需任何框架实现Realtime Face Detection and Head pose estimation on Windows、Ubuntu、Mac、Android and iOS
Stars: ✭ 351 (+244.12%)
Mutual labels:  caffe, mtcnn
Mtcnn
face detection and alignment with mtcnn
Stars: ✭ 66 (-35.29%)
Mutual labels:  caffe, mtcnn
Mobilenet Caffe
Caffe Implementation of Google's MobileNets (v1 and v2)
Stars: ✭ 1,217 (+1093.14%)
Mutual labels:  caffe
Core50
CORe50: a new Dataset and Benchmark for Continual Learning
Stars: ✭ 91 (-10.78%)
Mutual labels:  caffe
Dispnet Flownet Docker
Dockerfile and runscripts for DispNet and FlowNet1 (estimation of disparity and optical flow)
Stars: ✭ 78 (-23.53%)
Mutual labels:  caffe
Face Recognition Cpp
Real Time Face Recognition Detector. Over 30FPS on CPU!
Stars: ✭ 68 (-33.33%)
Mutual labels:  mtcnn
Tensorrtwrapper
TensorRT Net Wrapper
Stars: ✭ 81 (-20.59%)
Mutual labels:  caffe
Mobilenet V2 Caffe
MobileNet-v2 experimental network description for caffe
Stars: ✭ 93 (-8.82%)
Mutual labels:  caffe
Caffe Tools
Some tools and examples for pyCaffe including LMDB I/O, custom Python layers and monitoring training error and loss.
Stars: ✭ 78 (-23.53%)
Mutual labels:  caffe
Lsuvinit
Reference caffe implementation of LSUV initialization
Stars: ✭ 99 (-2.94%)
Mutual labels:  caffe
Caffe2pytorch Tsn
Transform the caffe model to pytorch model for Temporal Segment Network
Stars: ✭ 69 (-32.35%)
Mutual labels:  caffe
Maskyolo caffe
YOLO V2 & V3 , YOLO Combined with RCNN and MaskRCNN
Stars: ✭ 101 (-0.98%)
Mutual labels:  caffe
Facedetector
A re-implementation of mtcnn. Joint training, tutorial and deployment together.
Stars: ✭ 99 (-2.94%)
Mutual labels:  mtcnn
Caffe Model
Caffe models (including classification, detection and segmentation) and deploy files for famouse networks
Stars: ✭ 1,258 (+1133.33%)
Mutual labels:  caffe
Mobilenet Ssd
MobileNet-SSD(MobileNetSSD) + Neural Compute Stick(NCS) Faster than YoloV2 + Explosion speed by RaspberryPi · Multiple moving object detection with high accuracy.
Stars: ✭ 84 (-17.65%)
Mutual labels:  caffe

Joint-Face-Detection-and-Alignment

Caffe and Python implementation of Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networks.

Set up

Set up environment and copy C++ layer code to Caffe's source code tree.

$ export PYTHONPATH=/path/to/Joint-Face-Detection-and-Alignment:$PYTHONPATH
$ export CAFFE_HOME=/path/to/caffe
$ sh layers/copy.sh

Compile Caffe following its document.

Prepare data

Download dataset WIDER, CelebA and FDDB. Put them in data directory like below.

data
├── CelebA
│   └── img_celeba
├── fddb
│   ├── FDDB-folds
│   ├── images
│   │   ├── 2002
│   │   └── 2003
│   └── result
│       └── images
└── WIDER
    ├── wider_face_split
    ├── WIDER_test
    ├── WIDER_train
    └── WIDER_val

I have write a matlab script to extract WIDER FACE info from matlab mat file to txt file.

Train

Prepare data and train network follow the commands in train.sh.

Test

Test the model with demo.py for simple detection and fddb.py for FDDB benchmark.

Memory Issue

Since pNet may output many bboxes for rNet and Caffe's Blob never realloc the memory if your new data is smaller, this makes Blob only grow the memory and never reduce, which looks like a memory leak. It is fine for most cases but not for our case. You may modify src/caffe/blob.cpp if you encounter the memory issue.

template <typename Dtype>
void Blob<Dtype>::Reshape(const vector<int>& shape) {
  /* some code */
  if (count_ > capacity_) {  // never reduce the memory here
    capacity_ = count_;
    data_.reset(new SyncedMemory(capacity_ * sizeof(Dtype)));
    diff_.reset(new SyncedMemory(capacity_ * sizeof(Dtype)));
  }
}
template <typename Dtype>
void Blob<Dtype>::Reshape(const vector<int>& shape) {
  /* some code */
  if (count_ != capacity_) {  // make a new data buffer
    capacity_ = count_;
    data_.reset(new SyncedMemory(capacity_ * sizeof(Dtype)));
    diff_.reset(new SyncedMemory(capacity_ * sizeof(Dtype)));
  }
}

References

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