mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 05:00:54 +08:00
Fixed benchmark program to use setDebug rather than debugOff
This commit is contained in:
@@ -88,7 +88,7 @@ int main( int argc, const char** argv )
|
||||
if (benchmarkName.compare("segocr") == 0)
|
||||
{
|
||||
Config* config = new Config(country);
|
||||
config->debugOff();
|
||||
config->setDebug(false);
|
||||
config->skipDetection = true;
|
||||
|
||||
AlprImpl alpr(country);
|
||||
@@ -160,10 +160,10 @@ int main( int argc, const char** argv )
|
||||
timespec endTime;
|
||||
|
||||
Config config(country);
|
||||
config.debugOff();
|
||||
config.setDebug(false);
|
||||
|
||||
AlprImpl alpr(country);
|
||||
alpr.config->debugOff();
|
||||
alpr.config->setDebug(false);
|
||||
alpr.setDetectRegion(true);
|
||||
|
||||
Detector* plateDetector = createDetector(&config);
|
||||
|
@@ -18,7 +18,7 @@ void EndToEndTest::runTest(string country, vector<std::string> files)
|
||||
|
||||
|
||||
AlprImpl alpr(country);
|
||||
alpr.config->debugOff();
|
||||
alpr.config->setDebug(false);
|
||||
alpr.setDetectRegion(false);
|
||||
|
||||
vector<EndToEndBenchmarkResult> benchmarkResults;
|
||||
|
Reference in New Issue
Block a user