This middleware code provides motion gesture recognition capability.
HGConfig | Sets parameters. Used to set parameters when calling a function. |
|
---|---|---|
HGResult | Detection result information. Use to set the detection results, including the information for detected moving bodies. |
|
PSYUVimg | Image information settings. Used to set image information when calling a function. |
|
PSPoint | Coordinate data. Used to set moving body position. |
|
PSRect | Rectangle coordinate data. Used to set moving body rectangle position. |
|
YUVColor | Image data. Used to make image information settings during HGRcgProcessExec recognition operations. |
Function Return Values | ||
---|---|---|
PSERR_TRUE | Operation successful. | |
PSERR_MEMR | Insufficient memory. | |
PSERR_ARGU | Argument error. | |
PSERR_IMAG | Abnormal image. | |
PSERR_PROC | Processing is impossible. | |
PSERR_RECG | Recognition processing failed. | |
Recognition-related | ||
HGRCG_FINMAX | Number of recognized fingers. | |
HGPAR_MODEMIN | Minimum value for recognition movement mode. | |
HGPAR_MODEMAX | Maximum value for recognition movement mode. | |
HGPAR_NUMBMIN | Minimum value for the number of specified fingers. | |
HGPAR_NUMBMAX | Maximum value for the number of specified fingers. | |
HGPAR_ANGLMIN | Minimum value for the finger angle range specification. | |
HGPAR_ANGLMAX | Maximum value for the finger angle range specification. | |
HGPAR_LENGMIN | Minimum value for the minimum (maximum) finger length specification. | |
HGPAR_LENGMAX | Maximum value for the minimum (maximum) finger length specification. |
Image data-related | ||
---|---|---|
HGIHG_WIDMIN | Minimum width value for the original image. | |
HGIHG_WIDMAX | Maximum width value for the original image. | |
HGIHG_HEIMIN | Minimum height value for the original image. | |
HGIHG_HEIMAX | Maximum height value for the original image. | |
HGIHG_RECTMIN | Minimum width and height values for the rectangular region targeted for processing. |
HGRcgGetWorkSize | Gets the working memory size. | |
---|---|---|
HGRcgProcessInit | Performs the initialization process for the recognition engine. | |
HGRcgProcessExec | Performs motion gesture recognition. |
CONFIDENTIAL