mw::mgr::MGObject Structure

Syntax

#include <mw/mgr/mgr.h> 

typedef struct { 
     u32     id ;           /* Moving body ID. */
     PSRect  rect ;    /* Moving body rectangle position. */
     PSPoint center ;  /* Moving body center position. */ 
     } MGObject; 

Description

Structure to store the recognition processing results (moving body information) with the MGRcgProcessExec function.

Restrictions

  • The moving body ID is always set to 0 because the number of moving bodies that can be detected is limited to one.
  • The [pixel] coordinate is the coordinate that uses the top left as the origin (0, 0).
  • Member Variables

    Name Description
    out id Sets the moving body ID.
    out rect Sets the moving body rectangle position (in [pixel] coordinates).
    out center Sets the moving body center position (in [pixel] coordinates).

    Revision History

    2014/05/28
    Initial version.

    CONFIDENTIAL