|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.mhendred.face4j.examples.ClientExample
public class ClientExample
This is an example of using the client to train your index for one new user. For facebook you can skip the training step and just call recognize with facebook credentials set
| Field Summary | |
|---|---|
protected static String |
API_KEY
Your face.com API key |
protected static String |
API_SEC
Your face.com API secret |
protected static String |
NAMESPACE
Your face.com API namespace |
protected static String |
URL_WITH_FACES
A url of a photo with faces in it |
protected static String |
USER_ID
user id to recognize |
| Constructor Summary | |
|---|---|
ClientExample()
|
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String API_KEY
protected static final String API_SEC
protected static final String URL_WITH_FACES
protected static final String NAMESPACE
protected static final String USER_ID
| Constructor Detail |
|---|
public ClientExample()
| Method Detail |
|---|
public static void main(String[] args)
throws FaceClientException,
FaceServerException
FaceClientException
FaceServerException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||