Skip to content

djonko/ReKognition_Android_SDK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Current Version: 1.0

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.

Usage:

  1. Update the value of sAPI_KEY and sAPI_SECRET to your API key and API secret.
  2. static private String sAPI_KEY = "YourAPIKEY";
      static private String sAPI_SECRET = "YourAPISecret";
      
  3. Create a callback object with the callback function.
  4. For example:
    RekoSDK.APICallback callback = new RekoSDK.APICallback(){
    		public void gotResponse(String sResponse){
    			print(sResponse);
    		}
    	};
  5. Call it in your code as simple as
  6. Reko.face_train(callback); 
    and you're done!

Example:

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 [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published