|
visageSDK
|
Activity called to initiate and control tracking for either tracking from camera or image. More...
Inherits Activity.
Public Member Functions | |
| void | StartCam () throws IOException |
| Starts tracking from camera and initializes surface for displaying tracking results. | |
| void | StartImage (Uri imageURI) throws IOException |
| Called to initialize and start tracking for image. More... | |
| native void | TrackerInit (String pathToAssets, String configFilename) |
| Interface to native method called for initializing tracker. More... | |
| native void | TrackFromImage (int width, int height) |
| Interface to native method called to start tracking from image. More... | |
| native void | TrackFromCam () |
| Prepare raw image interface to track from camera. | |
| native void | TrackerStop () |
| Interface to native method used to stop tracking. | |
Static Public Member Functions | |
| static native float | GetFps () |
| Interface to native method called to obtain frame rate information from tracker. More... | |
| static native float | GetDisplayFps () |
| Interface to native method called to obtain rendering frame rate information. More... | |
| static native String | GetStatus () |
| Interface to native method called to obtain status of tracking information from tracker. More... | |
| static native int | GetTrackTime () |
| Interface to native method called to obtain pure tracking time. More... | |
| static native void | setParameters (int width, int height, int orientation, int flip) |
| Interface to native method called to set camera frame parameteres. More... | |
Activity called to initiate and control tracking for either tracking from camera or image.
Definition at line 39 of file TrackerActivity.java.
|
static |
Interface to native method called to obtain rendering frame rate information.
Referenced by com.visagetechnologies.visagetrackerdemo.TrackerActivity.StartImage().
|
static |
Interface to native method called to obtain frame rate information from tracker.
Referenced by com.visagetechnologies.visagetrackerdemo.TrackerActivity.StartImage().
|
static |
Interface to native method called to obtain status of tracking information from tracker.
Referenced by com.visagetechnologies.visagetrackerdemo.TrackerActivity.StartImage().
|
static |
Interface to native method called to obtain pure tracking time.
Referenced by com.visagetechnologies.visagetrackerdemo.TrackerActivity.StartImage().
|
static |
Interface to native method called to set camera frame parameteres.
Referenced by com.visagetechnologies.visagetrackerdemo.TrackerActivity.StartImage().
|
inline |
Called to initialize and start tracking for image.
Also initializes surface for displaying tracking results.
| imageURI | URI to image file used for tracking. Sent from ImagesActivity using Bundle class provided by Android. |
Definition at line 394 of file TrackerActivity.java.
References com.visagetechnologies.visagetrackerdemo.ImageTrackerView.getBitmapHeight(), com.visagetechnologies.visagetrackerdemo.ImageTrackerView.getBitmapWidth(), com.visagetechnologies.visagetrackerdemo.TrackerActivity.GetDisplayFps(), com.visagetechnologies.visagetrackerdemo.TrackerActivity.GetFps(), com.visagetechnologies.visagetrackerdemo.TrackerActivity.GetStatus(), com.visagetechnologies.visagetrackerdemo.TrackerActivity.GetTrackTime(), com.visagetechnologies.visagetrackerdemo.TrackerView.setGLView(), com.visagetechnologies.visagetrackerdemo.ImageTrackerView.SetOptimalBitmapSize(), com.visagetechnologies.visagetrackerdemo.TrackerActivity.setParameters(), com.visagetechnologies.visagetrackerdemo.TrackerActivity.TrackerInit(), com.visagetechnologies.visagetrackerdemo.TrackerActivity.TrackerStop(), com.visagetechnologies.visagetrackerdemo.TrackerActivity.TrackFromCam(), and com.visagetechnologies.visagetrackerdemo.TrackerActivity.TrackFromImage().
| native void com.visagetechnologies.visagetrackerdemo.TrackerActivity.TrackerInit | ( | String | pathToAssets, |
| String | configFilename | ||
| ) |
Interface to native method called for initializing tracker.
| configFilename | absolute path to tracker configuration file. |
Referenced by com.visagetechnologies.visagetrackerdemo.TrackerActivity.StartCam(), and com.visagetechnologies.visagetrackerdemo.TrackerActivity.StartImage().
| native void com.visagetechnologies.visagetrackerdemo.TrackerActivity.TrackFromImage | ( | int | width, |
| int | height | ||
| ) |
Interface to native method called to start tracking from image.
| width | width of image file used for tracking |
| height | height of image used for tracking |
Referenced by com.visagetechnologies.visagetrackerdemo.TrackerActivity.StartImage().
1.8.13