Interface QrCodeDetector<T extends ImageGray<T>>

All Known Implementing Classes:
QrCodePreciseDetector

public interface QrCodeDetector<T extends ImageGray<T>>
High level interface for reading QR Codes from gray scale images
  • Method Summary

    Modifier and Type Method Description
    List<QrCode> getDetections()
    List of detected fiducials
    List<QrCode> getFailures()
    List of likely fiducials that were rejected.
    Class<T> getImageType()
    Type of image it can process
    void process​(T image)
    Processes the image and searches for fiducials
  • Method Details

    • process

      void process​(T image)
      Processes the image and searches for fiducials
      Parameters:
      image - The image being processed
    • getDetections

      List<QrCode> getDetections()
      List of detected fiducials
      Returns:
      List of detected QR-Codes. WARNING: Data might be recycled on next call to process(T)
    • getFailures

      List<QrCode> getFailures()
      List of likely fiducials that were rejected.
      Returns:
      List of rejected candidate QR-Codes. WARNING: Data might be recycled on next call to process(T)
    • getImageType

      Class<T> getImageType()
      Type of image it can process
      Returns:
      input image type