PHP Classes

PHP User Predictor: Guess the user age, gender, etc from a picture

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 434 All time: 6,271 This week: 120Up
Version License PHP version Categories
user-predictor 1.0.0GNU General Publi...5PHP 5, Graphics, User Management, Web..., A...


This class can guess user details from a picture using the FacePlusPlus API.

It can send a request to a FacePlusPlus API to request to analyze a picture of a person with a given URL.

The service analyzes the picture and returns a guess of several details of the person like the age, race, gender, pose, or whether the person is smiling or using glasses.

Innovation Award
PHP Programming Innovation award winner
August 2015

Prize: One downloadable e-book of choice by O'Reilly
Many sites have long registration forms that are painful for the user to fill completely because they ask much more information than the user would like to be bothered to provide.

This class can help minimizing that pain by asking the user to provide a picture of himself in the beginning.

This way the class can query a Web service to analyze the picture and guess several details about the user like the approximate age, race, gender and other details.

If the guess is not accurate, the user can still fix the wrong fields. Otherwise the user does not have to be bother to fill guessed correctly.

Manuel Lemos
Picture of Samuel Adeshina
  Performance   Level  
Name: Samuel Adeshina is available for providing paid consulting. Contact Samuel Adeshina .
Classes: 19 packages by
Country: Nigeria Nigeria
Age: 24
All time rank: 5272 in Nigeria Nigeria
Week rank: 42 Up4 in Nigeria Nigeria Down
Innovation award
Innovation award
Nominee: 7x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file composer.json Data for dumping the necessary autoloads via composer
Accessible without login Plain text file config.ini Data configuration file
Accessible without login Plain text file example.php Example example file
Accessible without login Plain text file image-links.txt Data contains sample links that can be used to test the class' functionality
Accessible without login Plain text file LICENSE Lic. License File
Plain text file photoinfo.class.php Class main class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,271
This week:120Up