-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
barcode_finder initial #1
Conversation
LuminanceSource source = new RGBLuminanceSource(bMap.getWidth(), bMap.getHeight(), intArray); | ||
BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source)); | ||
try { | ||
//Vector<BarcodeFormat> barcodeFormats = new Vector<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Algum motivo para deixar esses comentários?
public enum BarcodeType { | ||
BARCODE, QRCODE | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return null; | ||
} | ||
|
||
private String scanQRImage(Bitmap bMap, Reader reader) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parece que você está lendo todos os tipos possíveis com esta função, mas ela se chama scanQRImage, outro ponto é se não é feito um filtro com os tipos por que definir tipos diferentes? E isso não poderia acarretar em falsos positivos ao escanear um arquivo especifico com objetivo de apenas um dos itens?
No description provided.