We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf2160 commit cae0c74Copy full SHA for cae0c74
1 file changed
Src/Plugins/LibFacedetection/DetectorLibfacedetection.cpp
@@ -37,8 +37,7 @@ int CDetectorLibfacedetection::Detect(const QImage &image, QVector<QRect> &faces
37
PERFORMANCE_START(Libfacedetection)
38
int *pResults = facedetect_cnn(pBuffer,
39
(unsigned char*)img.bits(), img.width(),
40
- img.height(),
41
- img.width() * 3);
+ img.height(), img.bytesPerLine());
42
PERFORMANCE_ADD_TIME(Libfacedetection, "detect:image width:"
43
+ QString::number(image.width())
44
+ ";Height:"
0 commit comments