mw::mgr::MGRcgProcessInit
Function#include <mw/mgr/mgr.h> s32 MGRcgProcessInit( MGConfig *mgConfig, u8 *pExtBuf );
Name | Description | |
---|---|---|
in | mgConfig | Specifies the image size, rectangular region targeted for processing, recognition movement mode, difference sensitivity between frames, and speed sensitivity parameters. |
in | pExtBuf | Specifies the starting address of the working memory. |
Value | Description |
---|---|
PSERR_TRUE |
Successful end |
PSERR_MEMR |
Insufficient memory. |
PSERR_ARGU |
Argument error. |
PSERR_IMAG |
Abnormal image. |
PSERR_PROC |
Processing is impossible. |
Performs the initialization process for the recognition engine.
This function must be called before performing the recognition process.
For the working memory to set in pExtBuf, set the address obtained by getting the necessary working memory size with the MGRcgGetWorkSize
function, then allocate memory on the application side.
The recognition engine is initialized by setting an appropriate value in mgConfig and calling the MGRcgProcessInit
function. After this function ends normally, motions and gestures can be recognized by repeatedly executing the MGRcgProcessExec
function.
CONFIDENTIAL