MGR Overview

Introduction

The MGR library provides applications with the functionality to recognize motion and gestures.

The MGR library provides applications with the following functionality.

  • Detects and recognizes movement of people in continuous images (frames), and detects the position and size of that motion.
  • Basic Specifications

    Input Image Format 24-bit color data
    Size 160 × 120 or 128 × 96 (pixels)
    Moving body detection conditions Moving body size 10 × 10 to 160 × 120 (pixels)
    Number of moving bodies One moving body (the largest moving body)
    Frame count Eight or more continuous frames
    Required resources

    ROM: Approximately 155 KB (library data)
    RAM: Approximately 730 KB (if the image size is 160 × 120)

    Restrictions

    Images that meet the following conditions cannot be recognized.

  • Images that are dark overall or have low contrast (including moving bodies)
  • Images with little color difference between the moving body and the background
  • Images that are blurry because focus was off or the image-capturing device was not still when the image was taken
  • Using the Library

    In applications, include the mgr.h header file and link to the libmw_mgr.*.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.

    Implementation Notes

  • The working memory required by the recognition engine must be allocated on the application side.
  • Do not deallocate the working memory until the recognition process is no longer performed.
  • This library is not re-entrant and cannot be used at the same time by multiple applications or threads.
  • Revision History

    2014/05/28
    Initial version.

    CONFIDENTIAL