docs: public static PDF417DetectorResult detect(BinaryBitmap image, Map<DecodeHintType,?> hints, boolean multiple)
        throws NotFoundException {
      // TODO detection improvement, tryHarder could try several different luminance thresholds/blackpoints or even 
      // different binarizers
      //boolean tryHarder = hints != null && hints.containsKey(DecodeHintType.TRY_HARDER);
  
      BitMatrix bitMatrix = image.getBlackMatrix();
  
      List<ResultPoint[]> barcodeCoordinates = detect(multiple, bitMatrix);
      if (barcodeCoordinates.isEmpty()) {
        bitMatrix = bitMatrix.clone();
        bitMatrix.rotate180();
        barcodeCoordinates = detect(multiple, bitMatrix);
      }
      return new PDF417DetectorResult(bitMatrix, barcodeCoordinates);
    }