Skip to content

Microsoft XiaoBing —— Rating your face score.

Notifications You must be signed in to change notification settings

MortyFx/FaceScore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FaceScore

Microsoft Xiaobing —— Rating your face score.

Usage

  
require_once './FaceScore.php';
$FaceScore = new FaceScore();
$img_url = 'https://ss0.bdstatic.com/94oJfD_bAAcT8t7mm9GUKT-xh_/timg?image&quality=100&size=b4000_4000&sec=1475252554&di=0a83b9e5c333c2651c0148af86364dc4&src=http://pic.xoyo.com/cms/rt/2011/06/03/01/4.jpg';
$data = $FaceScore->getScore($img_url);
  

Return Array

Array ( 

	[score] => 2.9 

	[text] => 菇凉颜值2.9分,帅哥哥都喜欢这种没心机的萌白甜~ 

	[img_url] => http://mediaplatform.trafficmanager.cn/image/fetchimage?key=UQAfAC8ABAAAAFcAFgAGABYASgA1AEYANwA1AEIANQBBAEYAMgA0AEYARQBEADkAMQBGADcANgAxADkANgA4AEIAMAAxADMAQgA1ADkAMwA5AEUA 

	)

Demo Preview

image

About

Microsoft XiaoBing —— Rating your face score.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages