Using debugDetector config option in detectors

This commit is contained in:
Matt Hill
2015-03-18 18:17:02 -04:00
parent f5b795ebe3
commit c04dd4104d
3 changed files with 7 additions and 7 deletions

View File

@@ -80,7 +80,7 @@ namespace alpr
// The frame is too wide
this->scale_factor = ((float) config->maxDetectionInputWidth) / ((float) frame.cols);
if (config->debugGeneral)
if (config->debugDetector)
std::cout << "Input detection image is too wide. Resizing with scale: " << this->scale_factor << endl;
}
else if (frame.rows > config->maxDetectionInputHeight)
@@ -88,7 +88,7 @@ namespace alpr
// The frame is too tall
this->scale_factor = ((float) config->maxDetectionInputHeight) / ((float) frame.rows);
if (config->debugGeneral)
if (config->debugDetector)
std::cout << "Input detection image is too tall. Resizing with scale: " << this->scale_factor << endl;
}