|
visageSDK
|
Activity called to initiate and control detection. More...
Inherits Activity.
Public Member Functions | |
| void | StartDetector (Uri uri) throws IOException |
| Called to initialize and start detection. More... | |
| native void | DetectorInit (String appPath, String modelName) |
| Interface to native method used to initialize VisageFeaturesDetector object. More... | |
| native void | CleanUp () |
| Interface to native method used to clean up resources. | |
Activity called to initiate and control detection.
Definition at line 21 of file DetectorActivity.java.
| native void com.visagetechnologies.facedetectdemo.DetectorActivity.DetectorInit | ( | String | appPath, |
| String | modelName | ||
| ) |
Interface to native method used to initialize VisageFeaturesDetector object.
| appPath | path to root folder where Android application data is stored |
| modelName | name of generic Active Appearance Model file used for detection |
Referenced by com.visagetechnologies.facedetectdemo.DetectorActivity.StartDetector().
|
inline |
Called to initialize and start detection.
Also initializes surface for displaying detection results.
| path | absolute path to image file used for detecting. Sent from ImagesActivity using Bundle class provided by Android. |
Definition at line 65 of file DetectorActivity.java.
References com.visagetechnologies.facedetectdemo.DetectorActivity.CleanUp(), com.visagetechnologies.facedetectdemo.DetectorActivity.DetectorInit(), and com.visagetechnologies.facedetectdemo.DetectorView.setGLView().
1.8.13