Mar. 14. 2018
Dependencies: GraphicsFramework GR-PEACH_video LCD_shield_config AsciiFont R_BSP USBHost_custom
STBHandle.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 __STBHANDLE_H__ 00018 #define __STBHANDLE_H__ 00019 00020 #include "STBTypedefOutput.h" 00021 #include "STBCommonType.h" 00022 #include "SdkSTBTr.h" 00023 #include "SdkSTBPe.h" 00024 #include "SdkSTBFr.h" 00025 00026 00027 00028 00029 typedef struct { 00030 00031 STB_INT32 nDetID ; 00032 STB_INT32 nTraID ; 00033 STB_STATUS genStatus ;//Gender 00034 STB_INT32 genConf ; 00035 STB_INT32 genVal ; 00036 STB_STATUS ageStatus ;//Age 00037 STB_INT32 ageConf ; 00038 STB_INT32 ageVal ; 00039 STB_STATUS frStatus ;//Face recognition 00040 STB_INT32 frConf ; 00041 STB_INT32 frVal ; 00042 STB_STATUS expStatus ;//Facial expression 00043 STB_INT32 expVal ; 00044 STB_INT32 expScore[STB_EX_MAX] ; 00045 STB_INT32 expConf ; 00046 STB_INT32 gazUD ;//Gaze 00047 STB_INT32 gazLR ; 00048 STB_STATUS gazStatus ; 00049 STB_INT32 gazConf ; 00050 STB_INT32 dirRoll ;//Face direction 00051 STB_INT32 dirPitch ; 00052 STB_INT32 dirYaw ; 00053 STB_STATUS dirStatus ; 00054 STB_INT32 dirConf ; 00055 STB_INT32 bliL ;//Blink 00056 STB_INT32 bliR ; 00057 STB_STATUS bliStatus ; 00058 00059 } FaceObj; 00060 00061 typedef struct { 00062 STB_INT32 nDetID ; 00063 STB_INT32 nTraID ; 00064 STB_POS pos ; 00065 STB_INT32 size ; 00066 STB_INT32 conf ; 00067 } TraObj; 00068 00069 typedef struct { 00070 /*------------------------------*/ 00071 STB_INT32 nInitialized;/* SetFrameResult already executed */ 00072 STB_INT32 nExecuted ;/*Execute done*/ 00073 STBExecFlg *execFlg ; 00074 /*------------------------------*/ 00075 STB_TR_HANDLE hTrHandle ; 00076 STB_INT32 nDetCntBody ; 00077 STB_INT32 nDetCntFace ; 00078 STB_INT32 nTraCntBody ; 00079 STB_INT32 nTraCntFace ; 00080 TraObj *trFace ; 00081 TraObj *trBody ; 00082 /*------------------------------*/ 00083 STB_PE_HANDLE hPeHandle ; 00084 STB_FR_HANDLE hFrHandle ; 00085 FaceObj *infoFace ; 00086 /*------------------------------*/ 00087 STB_INT8 *stbPtr ; 00088 STB_INT32 nDetCntMax ; 00089 STB_INT32 nTraCntMax ; 00090 00091 00092 STB_TR_DET *wSrcTr ;/*TR : input data*/ 00093 STB_TR_RES_FACES *wDstTrFace ;/*TR : output data*/ 00094 STB_TR_RES_BODYS *wDstTrBody ;/*TR : output data*/ 00095 STB_PE_DET *wSrcPe ;/*PR : Input data*/ 00096 STB_PE_RES *wDstPe ;/*PE : Output data*/ 00097 STB_FR_DET *wSrcFr ;/*FR : Input data*/ 00098 STB_FR_RES *wDstFr ;/*FR : Output data*/ 00099 } *STBHANDLE; 00100 00101 00102 00103 #endif /*__STBHANDLE_H__*/
Generated on Wed Jul 13 2022 14:40:13 by 1.7.2