title: Issue to read multiple barcodes using zxing library
body: <p>I am trying to read 2D Data matrix barcode using zxing library(GenericMultipleBarcodeReader). I have multiple barcodes on a single image.</p>
  
  <blockquote>
    <p>The problem is that the efficiency of the zing reader is very low, it
    recognizes 1 barcode from image 1.png and no barcode from image 2.png which has 48 barcodes. Is there
    any way to get 100% efficiency or any other library which results 100%</p>
  </blockquote>
  
  <p>My code to read barcode is:</p>
  
  <pre><code>public static void main(String[] args) throws Exception {
          BufferedImage image = ImageIO.read(new File("1.png"));
          if (image != null) {
              LuminanceSource source = new BufferedImageLuminanceSource(image);
              BinaryBitmap bitmap = new BinaryBitmap(new HybridBinarizer(source));
  
              DataMatrixReader dataMatrixReader = new DataMatrixReader();
  
              Hashtable&lt;DecodeHintType, Object&gt; hints = new Hashtable&lt;DecodeHintType, Object&gt;();
              hints.put(DecodeHintType.TRY_HARDER, Boolean.TRUE);
  
              GenericMultipleBarcodeReader reader = new GenericMultipleBarcodeReader(
                      dataMatrixReader);
              Result[] results = reader.decodeMultiple(bitmap, hints);
  
              for (Result result : results) {
                  System.out.println(result.toString());
              }
          }
      }
  </code></pre>
  
  <p>And images I used are:</p>
  
  <p><img src="https://i.stack.imgur.com/wE7kV.png" alt="1.png">
  <img src="https://i.stack.imgur.com/Tvxeo.jpg" alt="2.jpg"></p>
  
  <p><strong>Please help to resolve this issue.</strong></p>
  
  <p>Thanks</p>