diff --git a/openbr/core/core.cpp b/openbr/core/core.cpp index 8d9743a..86586ec 100644 --- a/openbr/core/core.cpp +++ b/openbr/core/core.cpp @@ -272,22 +272,20 @@ struct AlgorithmCore for (int j=0; jcompare(t[i], t[j]); if (score >= threshold) { - qDebug() << t[i].file.baseName() << t[j].file.baseName() << score << i; duplicates.append(i); + break; } } + Globals->currentStep++; + Globals->printStatus(); } std::sort(duplicates.begin(),duplicates.end(),std::greater()); qDebug("\n%d duplicates removed.", duplicates.size()); - qDebug() << duplicates; - - for (int i=0; i o(Gallery::make(outputGallery)); diff --git a/openbr/plugins/misc.cpp b/openbr/plugins/misc.cpp index 2aee23f..16c8c39 100644 --- a/openbr/plugins/misc.cpp +++ b/openbr/plugins/misc.cpp @@ -537,7 +537,7 @@ class ProgressCounterTransform : public TimeVaryingTransform { (void) data; float p = br_progress(); - qDebug("%05.2f%% ELAPSED=%s REMAINING=%s COUNT=%g/%g \r", p*100., QtUtils::toTime(Globals->startTime.elapsed()/1000.0f).toStdString().c_str(), QtUtils::toTime(0).toStdString().c_str(), Globals->currentStep, Globals->totalSteps); + qDebug("%05.2f%% ELAPSED=%s REMAINING=%s COUNT=%g/%g \r", p*100, QtUtils::toTime(Globals->startTime.elapsed()/1000.0f).toStdString().c_str(), QtUtils::toTime(0).toStdString().c_str(), Globals->currentStep, Globals->totalSteps); } void init()