Giter VIP home page Giter VIP logo

mtcnn's Introduction

使用MTCNN进行人脸检测

1.使用前先在main.py的目录下创建test_Imgs文件夹,并将图片放在该文件夹下。

2.使用train_pnet.py,train_rnet.py,train_onet.py对三个网络进行训练。并修改如下变量值。

 save_path="saved_models/pnet.pt" #模型保存位置
 dataset_path=r"path\to\data" #数据保存的位置
 sum_path='./pnet_logs' #tensorboard数据保存位置

3.训练数据使用CelebA数据集,并使用ImageCrop.py生成,使用时需要对文件路径进行修改。

4.使用时执行main.py即可

5.使用的结果

结果

mtcnn's People

Contributors

lizi2hua avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.