* @param image Buffered image for barcode recognition.
* @return Results array.
*/
public static Result[] getBarcodeResults(BufferedImage image) {
LuminanceSource source = new BufferedImageLuminanceSource(image);
BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source));
Hashtable<DecodeHintType, Object> hints = new Hashtable<DecodeHintType, Object>();
hints.put(DecodeHintType.TRY_HARDER, Boolean.TRUE);
Result[] results = null;
try {
MultiFormatReader multiFormatReader = new MultiFormatReader();