Skip to content
该项目是基于Face++开发的一款人脸识别App,通过照片可以检测性别和年龄。目前已经上线豌豆荚、搜狗手机助手等多个安卓市场。希望开发者为该项目贡献自己的code力量。This project is an Android app based on Face++ SDK which could detect people face through photos.The app could recognize people's gender and age.At present,the app is sold on Peasecod,Sougou Assistant. I hope developers could contribute your nice code to this app.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings Initial Commit Nov 3, 2015
Screenshots modify readme Nov 3, 2015
bin Initial Commit Nov 3, 2015
gen/com/chenyufengweb/howold Initial Commit Nov 3, 2015
libs Initial Commit Nov 3, 2015
res Initial Commit Nov 3, 2015
src/com/chenyufengweb/howold Initial Commit Nov 3, 2015
.classpath Initial Commit Nov 3, 2015
.project Initial Commit Nov 3, 2015
AndroidManifest.xml Initial Commit Nov 3, 2015
LICENSE Initial commit Nov 3, 2015
README.md translate readme to English Nov 4, 2015
ic_launcher-web.png Initial Commit Nov 3, 2015
proguard-project.txt Initial Commit Nov 3, 2015
project.properties Initial Commit Nov 3, 2015

README.md

Android-HowOld

   该项目是基于Face++开发的一款人脸识别App,通过照片可以检测性别、年龄和照片中人物数量。是模仿微软(Microsoft)的HowOld应用开发的类似App。目前已经上线豌豆荚、魅族应用市场、搜狗手机助手和联想市场等多个安卓应用市场。同时我决定开源该项目,为更多的安卓应用开发者或者想进行人脸识别类应用的开发人员提供服务和便利。当然App中还有不少bug和可扩展的功能模块,也希望各位开发者为该项目贡献自己的code力量。大家可以通过点击右上角的fork到自己的Github仓库,也可以点击star实时关注项目进度。 ##1.项目简介    在前段时间,微软推出的一款产品非常火热,叫做“HowOld”,可以通过你提交的图片检测照片中人物的数量、性别和年龄。但是由于微软推出的只是网页版的产品,并没有在移动端提供App。我的该项目实现的是在Android上高仿微软的“HowOld”,并实现相同功能的Android App。你只要在手机图库中选择照片,并上传检测,几秒钟后就能在原来的照片上绘制出人物数量、性别和年龄的数据。系统主界面如下: Alt text

##2.开发指南    为了项目的开发效率和其他方面的考虑,我并没有使用微软提供的关于人脸识别的接口,而是采用了国内的Face++来进行开发。Face++有良好的接口,为很多App提供服务,可以方便的进行人脸识别项目的开发。 ###(1)创建应用    作为开发的需要,建议先去Face++官网申请一个账号,然后创建一个应用,因为在开发中需要使用API Key和API Secret。创建应用如图: Alt text

###(2)获取API Key和API Secret    通过步骤(1)后,就能获取API Key和API Secret了。如图所示: Alt text

分别复制到如下代码中: Alt text

###(3)下载SDK    其实在该项目中,你不需要进行这一步操作,项目中已经集成了Face++的Java(Android)SDK了。如果你想要在其他平台下进行开发,Face++也提供了Python、iOS、PHP等SDK。可以到以下地方进行下载: Alt text

###(4)运行项目    通过以上步骤,你就可以进行编译运行项目了。期待你的code。 ##3.开发建议    程序可能还存在bug,你也可以通过Face++提供的其他接口为App增加功能模块,你有的任何创意和想法都可以来实现。希望这个开源项目可以在大家的努力下越来越好,期待你的code。 ##4.运行效果 ###(1)选择图片 Alt text

###(2)图片检测 Alt text

##5.技术博客 我的个人技术博客:http://blog.csdn.net/chenyufeng1991 。欢迎大家访问!

#Introduce in English    This project is an Android app based on Face++ SDK which could detect people face through photos.The app could recognize people's gender,age and the number of people in picture.This app is simulated to Microsoft's web application called HowOld.At present,the app is sold on Peasecod,Meizu App Market,Sougou Assistant.But now,I decide to opensource this project which for many Android App developers and developers who involving in face detect app.At the same time,the project has bugs and lack of some function modules,which I hope developers could contribute your nice code to this app.You could click fork button in the upper right corner to acquire project to you Github repo,or click star button to focus on project progress. ##1.Project Introduce    Some time ago,Microsoft launch a popular product called HowOld,which could detect the number of people in photo,people's gender and age.But just a web application without an Android app.My project is an app running on Android OS has the same function with HowOld.You just select a photo in you phone's gallery,then will be draw out quantity,gender and age in former photo.The main interface as following: Alt text

##2.Development Guideline    Consider development efficiency and other factors,I choose the domestic Face++ instead of Microsoft's face recognition interface.Face++ could provide much service,which could simplify the project development. ###(1)Create Application    As the need of development,I would like to suggest that create an account in Face++ official website.Then create an application ,bacause we need to use API Key and API Secret.How to create an application as following: Alt text

###(2)Obtain API Key and API Secret    Through step 1,you can get API Key and API Secret. Alt text

Then copy to project : Alt text

###(3)Download SDK    In fact,you don't need this step operation.Because the project already integrate the Face++ Java(Android)SDK.If you want to develop product in other platform,Face++ also provide Python SDK,iOS SDK,PHP SDK and so on.You can download SDK as following: Alt text

###(4)Run Project    So far,you could run the app on your smart mobile phone or simulators.Expect your code. ##3.Development Suggestion    The program maybe has bugs,you could use other interface about Face++ to add function module.If you have wonderful idea,just coding and pull request.I hope this opensource project will better in everyone's efforts.I expect you code. ##4.Operation Effect ###(1)Select Photos Alt text

###(2)Photo Detect Alt text

##5.Technology Blog My personal technology blog:http://blog.csdn.net/chenyufeng1991.Welcome to visit.

You can’t perform that action at this time.