Giter Club home page Giter Club logo

pokerface's Introduction

pockerface

本项目本意是通过卷积神经网络构建一个模型,通过人脸训练来自动识别美丑,但是写完之后发现训练的结果完全没有任何效果,也就放弃本来的打算,做了一个平均脸生成程序。

数据准备

所有的图片都来自上海毕业生图像采集网,13年的时候网站有漏洞,跟风下载过一些,图片大小为640*480,背景单调且均为正脸照,图片如下:

example

因为本来是做人脸训练用的,所以专门还写了一个简单的桌面程序judge.py方便给每个人打上漂亮还是不漂亮的标签,同时调用face++的API接口把人脸的关键点找出来存放在face.sqlite中。

平均脸生成

原理见http://www.learnopencv.com/average-face-opencv-c-python-tutorial/, 代码也是讲里面的示例稍微修改,关键点采用face++检测结果,最后把自己觉得漂亮的49张照片的平均脸生成结果如下:

result

pokerface's People

Contributors

liuroy avatar

Watchers

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