1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 21:40:49 +08:00

Fixed warnings

This commit is contained in:
Anna Petrovicheva
2016-07-22 16:15:45 +03:00
parent 1f020151c3
commit 083616d05f
3 changed files with 5 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ int main(int argc, char** argv)
Mat detectionMat(detection.rows(), detection.cols(), CV_32F, detection.ptrf());
float confidenceThreshold = parser.get<float>("min_confidence");
for(size_t i = 0; i < detectionMat.rows; i++)
for(int i = 0; i < detectionMat.rows; i++)
{
float confidence = detectionMat.at<float>(i, 2);