Face-detection-with-mobilenet-ssd
Face-detection-with-mobilenet-ssd copied to clipboard
Face detection with mobilenet-ssd written by tf.keras.
Description
This is a implementation of mobilenet-ssd for face detection written by keras, which is the first step of my FaceID system. You can find another two repositories as follows:
- Face-detection-with-mobilenet-ssd
- Face-Alignment-with-simple-cnn
- Face-identification-with-cnn-triplet-loss
Prepare data
- You are advised to use CUDA-compatible GPUs to train the model.
- Download WIDER Face from Official Website , and put it into data_path folder in face_train.ipynb.
- wider_extract.py has been modified to show the method of exctracting faces from the datasets. It's easy to follow.
Requirements
- tensorflow >= 2.3
- python >= 3.5
Train
- Follow face_train.ipynb step by step. You can change the parameters for better performance.
- wider_train_small.npy and wider_val_small.npy are made to testing the network. If you don't have enough gpu resources, you can also use them for training.
Test
Here are some testing results. It seems good but improvement is still needed. For example, the Bbox is a little bit inaccurate.






To do
- Evaluation is on the way.
- MobileNetV2 version.
License
MIT LICENSE