物联网操作系统AliOS Things 3.3 |
函数 | |
int32_t | aiagent_service_init (const char *engine_name, ai_model_t model) |
int32_t | aiagent_service_uninit (void) |
int32_t | aiagent_service_model_infer (char *src1, char *src2, ai_engine_cb_t cb) |
ai_model_t | aiagent_service_get_cur_model (void) |
ai_model_t aiagent_service_get_cur_model | ( | void | ) |
Init the aiagent service.
int32_t aiagent_service_init | ( | const char * | engine_name, |
ai_model_t | model | ||
) |
Initialize aiagent service.
[in] | engine_name | engine name. |
[in] | model | ai model. |
int32_t aiagent_service_model_infer | ( | char * | src1, |
char * | src2, | ||
ai_engine_cb_t | cb | ||
) |
Init the aiagent service.
[in] | src1 | source data1(image) you want to detect. |
[in] | src2 | source data2(image), some cases need to compare with original data. |
[in] | cb | callback function to deal with result. |
int32_t aiagent_service_uninit | ( | void | ) |
Uninitialize aiagent service.