#include #include #include #include #include #include #include "tiny_json.h" #pragma once typedef struct ClassAttrsAll { float conf_thresh; float iou_thresh; }ClassAttrsAll_t; typedef struct Property { std::string model_type; char ezbStr[128]; char binStr[128]; unsigned int anchors[18] ; std::vector label; std::vector yolo_outputs_name; bool need_nu_freq; int freq_nu; bool need_vu_freq; int freq_vu; }Property_t; typedef struct Asj_Ai_Cfg { Property property; ClassAttrsAll class_attrs_all; }Asj_Ai_Cfg_t; int read_Asj_Ai_Json (void *hdl,char *filename);