Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Face.com API</name>
<name>SkyBiometry Face Detection and Recognition API</name>
<comment></comment>
<projects>
</projects>
Expand Down
4 changes: 2 additions & 2 deletions .settings/launch/AccountLimitsExample.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
<booleanAttribute key="PASS_RSLS" value="false"/>
<booleanAttribute key="PASS_SWCS" value="true"/>
<stringAttribute key="PROJECT_NAME" value="Face.com API"/>
<stringAttribute key="PROJECT_NAME" value="SkyBiometry Face Detection and Recognition API"/>
<booleanAttribute key="START_SWF_ENABLED" value="true"/>
<stringAttribute key="START_SWF_LOCATION" value="bin/AccountLimitsExample.swf"/>
<stringAttribute key="START_SWF_WITH" value="External SWF Viewer"/>
<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="true"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Face.com API"/>
<listEntry value="/SkyBiometry Face Detection and Recognition API"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
Expand Down
4 changes: 2 additions & 2 deletions .settings/launch/AccountStatusExample.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
<booleanAttribute key="PASS_RSLS" value="false"/>
<booleanAttribute key="PASS_SWCS" value="true"/>
<stringAttribute key="PROJECT_NAME" value="Face.com API"/>
<stringAttribute key="PROJECT_NAME" value="SkyBiometry Face Detection and Recognition API"/>
<booleanAttribute key="START_SWF_ENABLED" value="true"/>
<stringAttribute key="START_SWF_LOCATION" value="bin/AccountStatusExample.swf"/>
<stringAttribute key="START_SWF_WITH" value="External SWF Viewer"/>
<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="true"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Face.com API"/>
<listEntry value="/SkyBiometry Face Detection and Recognition API"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
Expand Down
4 changes: 2 additions & 2 deletions .settings/launch/FacesDetectURLsExample.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
<booleanAttribute key="PASS_RSLS" value="false"/>
<booleanAttribute key="PASS_SWCS" value="true"/>
<stringAttribute key="PROJECT_NAME" value="Face.com API"/>
<stringAttribute key="PROJECT_NAME" value="SkyBiometry Face Detection and Recognition API"/>
<booleanAttribute key="START_SWF_ENABLED" value="true"/>
<stringAttribute key="START_SWF_LOCATION" value="bin/FacesDetectURLsExample.swf"/>
<stringAttribute key="START_SWF_WITH" value="External SWF Viewer"/>
<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="true"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Face.com API"/>
<listEntry value="/SkyBiometry Face Detection and Recognition API"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
Expand Down
4 changes: 2 additions & 2 deletions .settings/launch/FacesGroupBitmapDataExample.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
<booleanAttribute key="PASS_RSLS" value="false"/>
<booleanAttribute key="PASS_SWCS" value="true"/>
<stringAttribute key="PROJECT_NAME" value="Face.com API"/>
<stringAttribute key="PROJECT_NAME" value="SkyBiometry Face Detection and Recognition API"/>
<booleanAttribute key="START_SWF_ENABLED" value="true"/>
<stringAttribute key="START_SWF_LOCATION" value="bin/FacesGroupBitmapDataExample.swf"/>
<stringAttribute key="START_SWF_WITH" value="External SWF Viewer"/>
<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="true"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Face.com API"/>
<listEntry value="/SkyBiometry Face Detection and Recognition API"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
Expand Down
4 changes: 2 additions & 2 deletions .settings/launch/FacesRecognizeBitmapDataExample.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
<booleanAttribute key="PASS_RSLS" value="false"/>
<booleanAttribute key="PASS_SWCS" value="true"/>
<stringAttribute key="PROJECT_NAME" value="Face.com API"/>
<stringAttribute key="PROJECT_NAME" value="SkyBiometry Face Detection and Recognition API"/>
<booleanAttribute key="START_SWF_ENABLED" value="true"/>
<stringAttribute key="START_SWF_LOCATION" value="bin/FacesRecognizeBitmapDataExample.swf"/>
<stringAttribute key="START_SWF_WITH" value="External SWF Viewer"/>
<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="true"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Face.com API"/>
<listEntry value="/SkyBiometry Face Detection and Recognition API"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
Expand Down
4 changes: 2 additions & 2 deletions .settings/launch/FacesRecognizeExample.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
<booleanAttribute key="PASS_RSLS" value="false"/>
<booleanAttribute key="PASS_SWCS" value="true"/>
<stringAttribute key="PROJECT_NAME" value="Face.com API"/>
<stringAttribute key="PROJECT_NAME" value="SkyBiometry Face Detection and Recognition API"/>
<booleanAttribute key="START_SWF_ENABLED" value="true"/>
<stringAttribute key="START_SWF_LOCATION" value="bin/FacesRecognizeExample.swf"/>
<stringAttribute key="START_SWF_WITH" value="External SWF Viewer"/>
<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="true"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Face.com API"/>
<listEntry value="/SkyBiometry Face Detection and Recognition API"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
Expand Down
4 changes: 2 additions & 2 deletions .settings/launch/FacesRecognizeURLsExample.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
<booleanAttribute key="PASS_RSLS" value="false"/>
<booleanAttribute key="PASS_SWCS" value="true"/>
<stringAttribute key="PROJECT_NAME" value="Face.com API"/>
<stringAttribute key="PROJECT_NAME" value="SkyBiometry Face Detection and Recognition API"/>
<booleanAttribute key="START_SWF_ENABLED" value="true"/>
<stringAttribute key="START_SWF_LOCATION" value="bin/FacesRecognizeURLsExample.swf"/>
<stringAttribute key="START_SWF_WITH" value="External SWF Viewer"/>
<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="true"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Face.com API"/>
<listEntry value="/SkyBiometry Face Detection and Recognition API"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
Expand Down
4 changes: 2 additions & 2 deletions .settings/launch/FacesStatusExample.launch
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
<booleanAttribute key="PASS_MAIN_CLASS" value="true"/>
<booleanAttribute key="PASS_RSLS" value="false"/>
<booleanAttribute key="PASS_SWCS" value="true"/>
<stringAttribute key="PROJECT_NAME" value="Face.com API"/>
<stringAttribute key="PROJECT_NAME" value="SkyBiometry Face Detection and Recognition API"/>
<booleanAttribute key="START_SWF_ENABLED" value="true"/>
<stringAttribute key="START_SWF_LOCATION" value="bin/FacesStatusExample.swf"/>
<stringAttribute key="START_SWF_WITH" value="External SWF Viewer"/>
<booleanAttribute key="USE_PROJECT_COMPILER_ARGUMENTS" value="true"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/Face.com API"/>
<listEntry value="/SkyBiometry Face Detection and Recognition API"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
Expand Down
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Face.com REST API Actionscript 3 client library.
SkyBiometry Face Detection and Recognition API Actionscript 3 client library.

For a demonstration how to use this library, see *.as files from directory src/examples/.


For more information about the API and the return values, visit the official documentation:
http://developers.face.com/docs/api/
http://www.skybiometry.com/Documentation


Important!
Expand Down
2 changes: 1 addition & 1 deletion src/facecom/api/FaceAPI.as
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ package facecom.api {
* @author medec
*/
public class FaceAPI extends EventDispatcher {
public static const API_DOMAIN : String = 'http://api.face.com/';
public static const API_DOMAIN : String = 'https://api.skybiometry.com/fc/';
facecom var apiKey : String;
facecom var apiSecret : String;
private var _faces : FacesProxy;
Expand Down
4 changes: 2 additions & 2 deletions src/facecom/api/model/core/Tag.as
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ package facecom.api.model.core {
center = new Point(data['center']['x'], data['center']['y']);
eye_left = new Point(data['eye_left']['x'], data['eye_left']['y']);
eye_right = new Point(data['eye_right']['x'], data['eye_right']['y']);
mouth_left = new Point(data['mouth_left']['x'], data['mouth_left']['y']);
//mouth_left = new Point(data['mouth_left']['x'], data['mouth_left']['y']);
mouth_center = new Point(data['mouth_center']['x'], data['mouth_center']['y']);
mouth_right = new Point(data['mouth_right']['x'], data['mouth_right']['y']);
//mouth_right = new Point(data['mouth_right']['x'], data['mouth_right']['y']);
nose = new Point(data['nose']['x'], data['nose']['y']);

ear_left = data['ear_left'];
Expand Down