Commit a246d8d8 authored by michal-kowalczyk's avatar michal-kowalczyk Committed by Alexander Alekhin

Merge pull request #13709 from michal-kowalczyk:flush-processed-samples-number

* Add flushing to printing number of processed positive/negative samples so that user is informed of updates quickly.

* use flush C api instead of C++ api
parent 64629cb9
......@@ -341,6 +341,7 @@ int CvCascadeClassifier::fillPassedSamples( int first, int count, bool isPositiv
{
getcount++;
printf("%s current samples: %d\r", isPositive ? "POS":"NEG", getcount);
fflush(stdout);
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment