Sample to operate omron HVC-P2 on GR-PEACH.
Dependencies: AsciiFont
STBPeTypedef.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 __STBPETYPEDEF_H__ 00018 #define __STBPETYPEDEF_H__ 00019 00020 #include "STBTypedefOutput.h" 00021 #include "STBCommonType.h" 00022 #include "STBCommonDef.h" 00023 00024 00025 /*----------------------------------------------------------------------------*/ 00026 /* Face Detection & Estimations result (Property estimation input infomation) */ 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 ageDetVal ; 00036 STB_INT32 ageDetConf ; 00037 STB_STATUS ageStatus ; 00038 STB_INT32 genDetVal ; 00039 STB_INT32 genDetConf ; 00040 STB_STATUS genStatus ; 00041 STB_INT32 gazDetLR ; 00042 STB_INT32 gazDetUD ; 00043 STB_INT32 bliDetL ; 00044 STB_INT32 bliDetR ; 00045 STB_INT32 expDetVal[STB_EX_MAX]; 00046 STB_INT32 expDetConf ; 00047 }FACE_DET; 00048 00049 00050 /*----------------------------------------------------------------------------*/ 00051 /* Result data of Execute command (Property estimation input infomation) */ 00052 /*----------------------------------------------------------------------------*/ 00053 typedef struct{ 00054 STB_INT32 num ; /*a number of tracking people*/ 00055 FACE_DET *fcDet ; /* Detection & Estimations result */ 00056 }STB_PE_DET; 00057 00058 /*----------------------------------------------------------------------------*/ 00059 /* Property estimation output infomation */ 00060 /*----------------------------------------------------------------------------*/ 00061 typedef struct { 00062 STB_INT32 nTraID ; /*Tracking person number in the through frame*/ 00063 STB_RES gen ; /* Stabilization result of human [nTrackingID] */ 00064 STB_RES age ; /* Stabilization result of human [nTrackingID] */ 00065 STB_RES exp ; /* Stabilization result of human [nTrackingID] */ 00066 STB_GAZE gaz ; /* Stabilization result of human [nTrackingID] */ 00067 STB_DIR dir ; 00068 STB_BLINK bli ; 00069 } STB_PE_FACE; 00070 00071 /*----------------------------------------------------------------------------*/ 00072 /* Property estimation output infomation */ 00073 /*----------------------------------------------------------------------------*/ 00074 typedef struct { 00075 STB_INT32 peCnt ; /*a number of tracking people*/ 00076 STB_PE_FACE *peFace ; 00077 } STB_PE_RES; 00078 00079 #endif /*__STBPETYPEDEF_H__*/
Generated on Fri Jul 15 2022 01:15:47 by 1.7.2