mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 15:26:53 +08:00
Configured ALPR to use the analysis_count setting
This commit is contained in:
@@ -136,7 +136,7 @@ namespace alpr
|
|||||||
// Reapply analysis for each multiple analysis value set in the config,
|
// Reapply analysis for each multiple analysis value set in the config,
|
||||||
// make a minor imperceptible tweak to the input image each time
|
// make a minor imperceptible tweak to the input image each time
|
||||||
ResultAggregator iter_aggregator(MERGE_COMBINE, topN, config);
|
ResultAggregator iter_aggregator(MERGE_COMBINE, topN, config);
|
||||||
for (unsigned int iteration = 0; iteration < 2; iteration++)
|
for (unsigned int iteration = 0; iteration < config->analysis_count; iteration++)
|
||||||
{
|
{
|
||||||
Mat iteration_image = iter_aggregator.applyImperceptibleChange(grayImg, iteration);
|
Mat iteration_image = iter_aggregator.applyImperceptibleChange(grayImg, iteration);
|
||||||
//drawAndWait(iteration_image);
|
//drawAndWait(iteration_image);
|
||||||
|
Reference in New Issue
Block a user