diff --git a/plugins/ai_face_det/ai_face_det_node.cpp b/plugins/ai_face_det/ai_face_det_node.cpp index f0434da..5150bb9 100644 --- a/plugins/ai_face_det/ai_face_det_node.cpp +++ b/plugins/ai_face_det/ai_face_det_node.cpp @@ -12,7 +12,11 @@ #include #include -// For test image loading (implementation in ai_face_recog_node.cpp) +// For test image loading +#define STB_IMAGE_IMPLEMENTATION +#define STBI_ONLY_JPEG +#define STBI_ONLY_PNG +#define STBI_NO_FAILURE_STRINGS #include "../../third_party/rknpu2/examples/3rdparty/stb/stb_image.h" #include "ai_scheduler.h"