Search in sources :

Example 1 with ConfigQrCode

use of boofcv.factory.fiducial.ConfigQrCode in project BoofCV by lessthanoptimal.

the class DetectQrCodeApp method createDetector.

@Override
protected void createDetector(boolean initializing) {
    if (!initializing)
        BoofSwingUtil.checkGuiThread();
    DetectQrCodeControlPanel controls = (DetectQrCodeControlPanel) DetectQrCodeApp.this.controls;
    synchronized (this) {
        ConfigQrCode config = controls.getConfigQr();
        config.threshold = controls.getThreshold().createConfig();
        detector = FactoryFiducial.qrcode(config, imageClass);
        detector.setProfilerState(true);
    }
}
Also used : ConfigQrCode(boofcv.factory.fiducial.ConfigQrCode)

Aggregations

ConfigQrCode (boofcv.factory.fiducial.ConfigQrCode)1