esp-who/components/modules/ai/who_human_face_recognition.hpp

22 lines
552 B
C++
Raw Permalink Normal View History

2021-10-20 20:15:03 +08:00
#pragma once
#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
typedef enum
{
IDLE = 0,
DETECT,
ENROLL,
RECOGNIZE,
DELETE,
} recognizer_state_t;
void register_human_face_recognition(QueueHandle_t frame_i,
2021-10-26 17:02:41 +08:00
QueueHandle_t event,
QueueHandle_t result,
QueueHandle_t frame_o = NULL,
const bool camera_fb_return = false);