Search in sources :

Example 6 with ConfigPolygonDetector

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();
}
Also used : ConfigPolygonDetector(boofcv.factory.shape.ConfigPolygonDetector)

Aggregations

ConfigPolygonDetector (boofcv.factory.shape.ConfigPolygonDetector)6 GrayU8 (boofcv.struct.image.GrayU8)3 ListDisplayPanel (boofcv.gui.ListDisplayPanel)1 GrayF32 (boofcv.struct.image.GrayF32)1 Point2D_F64 (georegression.struct.point.Point2D_F64)1 Test (org.junit.Test)1