From 6e48d8e98cfee44182a2e6925949a8f3400bee7c Mon Sep 17 00:00:00 2001 From: sladro Date: Thu, 8 Jan 2026 15:57:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=BA=E8=84=B8=E8=AF=86?= =?UTF-8?q?=E5=88=AB=E9=97=AE=E9=A2=98,=E6=B5=8B=E8=AF=95=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E9=97=AE=E9=A2=98=EF=BC=8C=E6=B7=BB=E5=8A=A0=E4=BA=86?= =?UTF-8?q?=E8=B0=83=E8=AF=95,=E6=B5=8B=E8=AF=95landlandmarks1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/ai_face_det/ai_face_det_node.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"