#include <mw/hgr/hgr.h> typedef struct { u32 fingernum ; /* Number of fingers */ PSPoint fpoint[HGRCG_FINMAX] ; /* Fingertip position (in pixels) */ u16 fdir[HGRCG_FINMAX] ; /* Finger direction (0 to 359°) */ s32 fleng[HGRCG_FINMAX] ; /* Finger length (in pixels) */ s32 reserve0 ; /* Reserved 0 */ s32 reserve1 ; /* Reserved 1 */ s32 reserve2 ; /* Reserved 2 */ s32 reserve3 ; /* Reserved 3 */ } HGResult;
Structure for storing the recognition processing results from the HGRcgProcessExec
function.
fingernum
.fpoint
.fdir
.fleng
.reserve0
through reserve3
are reserved (unused).
Restrictions
fingernum
is limited to a maximum of HGRCG_FINMAX
.Name | Description | |
---|---|---|
out | fingernum |
Specifies the number of fingers. The maximum number is HGRCG_FINMAX .
|
out | fpoint | Sets the fingertip position. |
out | fdir | Sets the finger direction. |
out | fleng | Sets the finger length. |
CONFIDENTIAL