FastCV Sample Application
1.7.1
|
Inherits com.qualcomm.fastcvdemo.base.GraphicalActivity.
Public Member Functions | |
native void | update (byte[] data, int w, int h) |
native void | cleanup () |
native void | takeReferenceFrame () |
native void | resetReferenceFrame () |
Protected Member Functions | |
void | initTitle () |
void | onResume () |
Protected Attributes | |
ToggleButton | tBtnDiffReset |
Static Package Functions | |
[static initializer] |
native void com.qualcomm.fastcvdemo.apis.imageProcessing.ImgDiff.cleanup | ( | ) | [virtual] |
Performs native cleanup routines for application exit.
Implements com.qualcomm.fastcvdemo.base.GraphicalActivity.
void com.qualcomm.fastcvdemo.apis.imageProcessing.ImgDiff.initTitle | ( | ) | [inline, protected, virtual] |
Function which retrieves title based on module used.
Implements com.qualcomm.fastcvdemo.base.GraphicalActivity.
void com.qualcomm.fastcvdemo.apis.imageProcessing.ImgDiff.onResume | ( | ) | [inline, protected] |
Resumes camera preview
Reimplemented from com.qualcomm.fastcvdemo.base.GraphicalActivity.
Resets reference frame.
Stores current frame as reference frame.
native void com.qualcomm.fastcvdemo.apis.imageProcessing.ImgDiff.update | ( | byte[] | data, |
int | w, | ||
int | h | ||
) | [virtual] |
Function to pass camera frame for native, FastCV processing.
data | Byte buffer for data. |
w | Width of data |
h | Height of data |
Implements com.qualcomm.fastcvdemo.base.GraphicalActivity.
ToggleButton com.qualcomm.fastcvdemo.apis.imageProcessing.ImgDiff.tBtnDiffReset [protected] |
Android UI button to get the reference frame