The HGR library provides applications with the functionality to recognize hand gestures.
The HGR library provides applications with the following functionality.
Input Image | Format | YUV4:2:2 Color data |
Size | 640 × 480 or 320 × 240 (pixels) | |
Finger detection conditions | Finger length | 50 to 350 (pixels) |
Number of fingers | Maximum of 10 | |
Finger direction | 0 to 360 (degrees) | |
Memory resources |
ROM: 278 KB (code and data) |
|
Restrictions |
Images that meet the following conditions cannot be recognized. |
Include the hgr.h
header file in applications, and link to the libmw_hgr.*
.a library.
An application first calls the function to get working memory and gets the working memory required by the recognition engine. After that, the application allocates the working memory and calls the initialization function. After initialization is finished, the application repeatedly calls the recognition function.
CONFIDENTIAL