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);
}
}
Aggregations