I had done some works on recognizing Mark in far distance, based on Zxing-Android and Camera2 API.
My result is the best way is to zoom the image.
However, the image quality is not clear if the level is zoom is high.
Can anyone give me a advise to improve the image quality after zoom.
Thank you in advance.
The attachment is the zoomed-image of mark, whose data is (0x11) and two Reed-Solomon coded bytes on GenericGF.QR_CODE_FIELD_256.
Code for Binarizer is as:
PlanarYUVLuminanceSource source = new PlanarYUVLuminanceSource(yuvBytesY, widthNew, heightNew);
bitmap = new BinaryBitmap(new HybridBinarizer(source));
bMatrix = bitmap.getBlackMatrix();