ch.codeblock.qrinvoice.infrastructure.BoofCvCodeReaderFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qrinvoice-boofcv Show documentation
Show all versions of qrinvoice-boofcv Show documentation
BoofCV module contains a BoofCV based implementation for detecting/decoding QR codes
The newest version!
package ch.codeblock.qrinvoice.infrastructure;
import ch.codeblock.qrinvoice.boofcv.BoofQrCodeReader;
import ch.codeblock.qrinvoice.qrcode.IQrCodeReader;
import ch.codeblock.qrinvoice.qrcode.QrCodeLibrary;
import java.util.Collection;
public class BoofCvCodeReaderFactory implements IQrCodeReaderFactory {
@Override
public IQrCodeReader create() {
return new BoofQrCodeReader();
}
@Override
public boolean supports(Collection libraries) {
return QrCodeLibrary.BOOFCV.supportedBy(libraries);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy