From 5d7fcbd3832e7c28e8aea7872dde01fae5c6d563 Mon Sep 17 00:00:00 2001 From: Shiqi Yu Date: Thu, 28 Mar 2019 09:14:01 +0800 Subject: [PATCH] Update the comment on the input image format --- example/libfacedetectcnn-example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/libfacedetectcnn-example.cpp b/example/libfacedetectcnn-example.cpp index 98fa7f2..c1cf235 100644 --- a/example/libfacedetectcnn-example.cpp +++ b/example/libfacedetectcnn-example.cpp @@ -75,7 +75,7 @@ int main(int argc, char* argv[]) // CNN face detection // Best detection rate ////////////////////////////////////////// - //!!! The input image must be a RGB one (three-channel) + //!!! The input image must be a BGR one (three-channel) instead of RGB //!!! DO NOT RELEASE pResults !!! pResults = facedetect_cnn(pBuffer, (unsigned char*)(image.ptr(0)), image.cols, image.rows, (int)image.step);