use of boofcv.factory.shape.ConfigPolygonDetector in project BoofCV by lessthanoptimal.
the class DetectBlackPolygonApp method createDetector.
@Override
protected void createDetector(boolean initializing) {
if (!initializing)
BoofSwingUtil.checkGuiThread();
synchronized (this) {
ConfigPolygonDetector config = getConfigPolygonDetector();
detector = FactoryShapeDetector.polygon(config, imageClass);
}
imageThresholdUpdated();
}
Aggregations