We have released a new video guide for Pupil Distance Meter app on iOS. The app performs accurate PD measurements if used properly. From the video you will learn about app accuracy and how to measure pupillary distance, avoid common mistakes and achieve the best result.
Translate
Showing posts with label howto. Show all posts
Showing posts with label howto. Show all posts
Saturday, July 1, 2017
Monday, June 20, 2016
[Android] How to measure face shape from your app using Face Shape Meter.
Face Shape Meter updated with new ability to export face shape result . If you have the app installed on your device, you can check face shape on a picture by calling Face Shape Meter from you application and get result back to your app after measurements. The result is returned as JSON string (see code example below).
How to call from your application:
Example how to get results:
JSON returned from Face Shape Meter:
How to call from your application:
Intent intent = new Intent("com.vistechprojects.faceshapemeterpro.action.MEASURE_FACE"); intent.setDataAndType(IMAGE_SOURCE_URI, "image/*"); // comment this line if you don't pass image uri startActivityForResult(intent, REQUEST_CODE); // replace REQUEST_CODE with your constant
Example how to get results:
protected void onActivityResult(int requestCode, int resultCode, Intent data) { ...
if (resultCode == RESULT_OK && requestCode == REQUEST_CODE){
JSONObject json = new JSONObject(data.getStringExtra("FSM_OUTPUT_JSON"));
...
}
... }
JSON returned from Face Shape Meter:
{"APP_RESULTS":{"face shape":"Heart"}}
Friday, February 12, 2016
Subscribe to:
Posts (Atom)