public class TldNonMaximalSuppression
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TldNonMaximalSuppression.Connections
Contains connection information for a specific rectangular region
|
| Constructor and Description |
|---|
TldNonMaximalSuppression(double connectionThreshold)
Configures non-maximum suppression
|
| Modifier and Type | Method and Description |
|---|---|
org.ddogleg.struct.FastQueue<TldNonMaximalSuppression.Connections> |
getConnections() |
void |
process(org.ddogleg.struct.FastQueue<TldRegion> regions,
org.ddogleg.struct.FastQueue<TldRegion> output)
Finds local maximums from the set of provided regions
|
public TldNonMaximalSuppression(double connectionThreshold)
connectionThreshold - Two regions are considered connected of their overlap is ≥ to this value.
0 to 1.0. A value of 0.5 is recommendedpublic void process(org.ddogleg.struct.FastQueue<TldRegion> regions, org.ddogleg.struct.FastQueue<TldRegion> output)
regions - Set of high confidence regions for targetoutput - Output after non-maximum suppressionpublic org.ddogleg.struct.FastQueue<TldNonMaximalSuppression.Connections> getConnections()