Skip to content

Commit

Permalink
Update the comment on the input image format
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiqiYu authored Mar 28, 2019
1 parent a3ef8ea commit 5d7fcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/libfacedetectcnn-example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 5d7fcbd

Please sign in to comment.