This Java SDK is intent for developers who want to integrate ReKognition API into their Android application. The folder contains our ReKognition Android SDKs (RekoSDK.java under folder named SDK). For more information about our ReKognition API, please read our documentation.
Each public function in this class represents an API call. Every time you call a function, it will send API request and wait for response in another thread, and call the callback function your passed in once the response is received.
- Update the value of sAPI_KEY and sAPI_SECRET to your API key and API secret.
- Create a callback object with the callback function. For example:
- Call it in your code as simple as
static private String sAPI_KEY = "YourAPIKEY";
static private String sAPI_SECRET = "YourAPISecret";
RekoSDK.APICallback callback = new RekoSDK.APICallback(){
public void gotResponse(String sResponse){
print(sResponse);
}
};
Reko.face_train(callback);
Under Example folder, we have a demo Android project that contains very basic example of how to use the RekoSDK.
The demo provide two ways to interact with API, choose a image from your local gallery and call our face_detect API, or input a image url and call our face_detect API.
For any questions, please contact eng@orbe.us