Mar. 14. 2018

Dependencies:   GraphicsFramework GR-PEACH_video LCD_shield_config AsciiFont R_BSP USBHost_custom

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers STBFrTypedef.h Source File

STBFrTypedef.h

00001 /*---------------------------------------------------------------------------*/
00002 /* Copyright(C)  2017  OMRON Corporation                                     */
00003 /*                                                                           */
00004 /* Licensed under the Apache License, Version 2.0 (the "License");           */
00005 /* you may not use this file except in compliance with the License.          */
00006 /* You may obtain a copy of the License at                                   */
00007 /*                                                                           */
00008 /*     http://www.apache.org/licenses/LICENSE-2.0                            */
00009 /*                                                                           */
00010 /* Unless required by applicable law or agreed to in writing, software       */
00011 /* distributed under the License is distributed on an "AS IS" BASIS,         */
00012 /* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  */
00013 /* See the License for the specific language governing permissions and       */
00014 /* limitations under the License.                                            */
00015 /*---------------------------------------------------------------------------*/
00016 
00017 #ifndef __STBFRTYPEDEF_H__
00018 #define __STBFRTYPEDEF_H__
00019 
00020 #include "STBTypedefOutput.h"
00021 #include "STBCommonType.h"
00022 #include "STBCommonDef.h"
00023 
00024 
00025 /*----------------------------------------------------------------------------*/
00026 /* Face Detection & Estimations results                                       */
00027 /*----------------------------------------------------------------------------*/
00028 typedef struct{
00029     STB_INT32   nDetID        ; /*Person number detected in the current frame*/
00030     STB_INT32   nTraID        ; /*Tracking person number in the through frame*/
00031     STB_INT32   dirDetYaw    ;
00032     STB_INT32   dirDetPitch    ; 
00033     STB_INT32   dirDetRoll    ; 
00034     STB_INT32   dirDetConf    ; 
00035     STB_INT32   frDetID        ;
00036     STB_INT32   frDetConf    ;
00037     STB_STATUS    frStatus    ;
00038 }FR_DET;
00039 
00040 /*----------------------------------------------------------------------------*/
00041 /* Eesult data of Execute command                                             */
00042 /*----------------------------------------------------------------------------*/
00043 typedef struct{
00044     STB_INT32        num        ;
00045     FR_DET            *fcDet    ;/* Face Detection & Estimations results */
00046 }STB_FR_DET;
00047 
00048 /*----------------------------------------------------------------------------*/
00049 /*                                                                                */
00050 /*----------------------------------------------------------------------------*/
00051 typedef struct{
00052     STB_INT32        nTraID    ;/*Tracking person number in the through frame*/
00053     STB_RES            frRecog    ;/* Stabilization result of human [nTrackingID] */
00054 }FR_RES;
00055 
00056 /*----------------------------------------------------------------------------*/
00057 /*                                                                                */
00058 /*----------------------------------------------------------------------------*/
00059 typedef struct{
00060     STB_INT32        frCnt    ;/*a number of tracking people*/
00061     FR_RES            *frFace    ;      
00062 }STB_FR_RES;
00063 
00064 
00065 #endif /*__STBFRTYPEDEF_H__*/