Home

Awesome

Ultra-Light-Fast-Generic-Face-Detector-Tensorflow Converter

This project is base on Ultra-Light-Fast-Generic-Face-Detector-1MB. You can use this script to converter origin model to tensorflow version.

Running Environment

Run

Covert model

 python3 ./convert_tensorflow.py --net_type <RFB|slim>

Inference on image

 python3 ./det_image.py --net_type <RFB|slim> --img_path <path>

Inference on Webcam

 python3 ./det_webcam.py --net_type <RFB|slim>

Result Comparison

Pytorch Slim

img1

Tensorflow Slim

img1

Pytorch RFB

img1

Tensorflow RFB

img1

Reference