Sample to operate omron HVC-P2 on GR-PEACH.
Dependencies: AsciiFont
STBWrap.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 /* 00018 HVC Sample API 00019 */ 00020 00021 #ifndef STBWrap_H__ 00022 #define STBWrap_H__ 00023 00024 #include "STBAPI.h" 00025 #include "STBCommonDef.h" 00026 00027 #include "HVCApi.h" 00028 00029 00030 #ifdef __cplusplus 00031 extern "C" { 00032 #endif 00033 00034 int STB_Init(int inFuncFlag); 00035 void STB_Final(void); 00036 00037 int STB_Exec(int inActiveFunc, const HVC_RESULT *inResult, int *pnSTBFaceCount, STB_FACE **pSTBFaceResult, int *pnSTBBodyCount, STB_BODY **pSTBBodyResult); 00038 00039 int STB_Clear(void); 00040 00041 int STB_SetTrParam(int inRetryCount, int inStbPosParam, int inStbSizeParam); 00042 int STB_SetPeParam(int inThreshold, int inUDAngleMin, int inUDAngleMax, int inLRAngleMin, int inLRAngleMax, int inCompCount); 00043 int STB_SetFrParam(int inThreshold, int inUDAngleMin, int inUDAngleMax, int inLRAngleMin, int inLRAngleMax, int inCompCount, int inRatio); 00044 00045 static void GetFrameResult(int inActiveFunc, const HVC_RESULT *inResult, STB_FRAME_RESULT *outFrameResult); 00046 00047 #ifdef __cplusplus 00048 } 00049 #endif 00050 00051 #endif /* STBWrap_H__ */
Generated on Fri Jul 15 2022 01:15:47 by 1.7.2