This middleware code provides motion gesture recognition capability.
MGConfig | Sets parameters. Used to set parameters when calling a function. |
|
---|---|---|
MGObject | Sets moving body information. Used to set moving body information for moving bodies that are detected. |
|
MGResult | Detection result information. Use to set the detection results, including the information for detected moving bodies. |
|
PSCimg | 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 the moving body rectangle position. |
|
RGBColor | Image data. Used to make image information settings during MGRcgProcessExec 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 | ||
MGRCG_BDYMAX | Maximum number of recognized moving bodies. | |
MGPAR_MODEMIN | Minimum value for movement recognition mode. | |
MGPAR_MODEMAX | Maximum value for movement recognition mode. | |
MGPAR_FRMMIN | Minimum value for difference sensitivity between frames. | |
MGPAR_FRMMAX | Maximum value for difference sensitivity between frames. | |
MGPAR_SPDMIN | Minimum value for speed sensitivity. | |
MGPAR_SPDMAX | Maximum value for speed sensitivity. |
Image data-related | ||
---|---|---|
MGIMG_WIDMIN | Minimum width value for the original image. | |
MGIMG_WIDMAX | Maxnimum width value for the original image. | |
MGIMG_HEIMIN | Minimum height value for the original image. | |
MGIMG_HEIMAX | Maximum height value for the original image. | |
MGIMG_RECTMIN | Minimum width and height values for the rectangular region targeted for processing. |
MGRcgGetWorkSize | Gets the working memory size. | |
---|---|---|
MGRcgProcessInit | Performs the initialization process for the recognition engine. | |
MGRcgProcessExec | Performs motion gesture recognition. |
CONFIDENTIAL