Send the data of GR-PEACH_HVC-P2_sample to the cloud.
Dependencies: AsciiFont GR-PEACH_video GraphicsFramework LCD_shield_config R_BSP USBHost_custom easy-connect-gr-peach
Fork of mbed-os-example-client by
recognition_proc.h
00001 #ifndef RECOGNITION_PROCESSING_H 00002 #define RECOGNITION_PROCESSING_H 00003 00004 #include "DisplayBace.h" 00005 #include "HVCApi.h" 00006 #include "HVCDef.h" 00007 #include "HVCExtraUartFunc.h" 00008 00009 #define BODY_THRESHOLD_DEFAULT 500 /* Threshold for Human Body Detection */ 00010 #define FACE_THRESHOLD_DEFAULT 500 /* Threshold for Face Detection */ 00011 #define HAND_THRESHOLD_DEFAULT 500 /* Threshold for Hand Detection */ 00012 #define REC_THRESHOLD_DEFAULT 500 /* Threshold for Face Recognition */ 00013 00014 #define BODY_SIZE_RANGE_MIN_DEFAULT 180 /* Human Body Detection minimum detection size */ 00015 #define BODY_SIZE_RANGE_MAX_DEFAULT 1000 /* Human Body Detection maximum detection size */ 00016 #define HAND_SIZE_RANGE_MIN_DEFAULT 100 /* Hand Detection minimum detection size */ 00017 #define HAND_SIZE_RANGE_MAX_DEFAULT 1000 /* Hand Detection maximum detection size */ 00018 #define FACE_SIZE_RANGE_MIN_DEFAULT 100 /* Face Detection minimum detection size */ 00019 #define FACE_SIZE_RANGE_MAX_DEFAULT 1000 /* Face Detection maximum detection size */ 00020 00021 #define FACE_POSE_DEFAULT 0 /* Face Detection facial pose (frontal face)*/ 00022 #define FACE_ANGLE_DEFAULT 0 /* Face Detection roll angle (±15°)*/ 00023 00024 typedef struct { 00025 INT32 execFlag; 00026 HVC_THRESHOLD threshold; 00027 HVC_SIZERANGE sizeRange; 00028 INT32 pose; 00029 INT32 angle; 00030 } recognition_setting_t; 00031 00032 extern void recognition_task(DisplayBase * p_display); 00033 00034 extern recognition_setting_t * GetRecognitionSettingPointer(void); 00035 extern void SetRegistrationrReq(void); 00036 extern void SetSettingReq(void); 00037 00038 #endif
Generated on Tue Jul 12 2022 22:58:59 by 1.7.2