You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright 2012 ZXing authors
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #import "ZXMultipleBarcodeReader.h"
  17. @protocol ZXReader;
  18. /**
  19. * Attempts to locate multiple barcodes in an image by repeatedly decoding portion of the image.
  20. * After one barcode is found, the areas left, above, right and below the barcode's
  21. * ZXResultPoints are scanned, recursively.
  22. *
  23. * A caller may want to also employ ZXByQuadrantReader when attempting to find multiple
  24. * 2D barcodes, like QR Codes, in an image, where the presence of multiple barcodes might prevent
  25. * detecting any one of them.
  26. *
  27. * That is, instead of passing an ZXReader a caller might pass
  28. * <code>[[ZXByQuadrantReader alloc] initWithDelegate:reader]</code>.
  29. */
  30. @interface ZXGenericMultipleBarcodeReader : NSObject <ZXMultipleBarcodeReader>
  31. - (id)initWithDelegate:(id<ZXReader>)delegate;
  32. @end