[][src]Function opencv::objdetect::detect_qr_code

pub fn detect_qr_code(
    _in: &dyn ToInputArray,
    points: &mut VectorOfPoint,
    eps_x: f64,
    eps_y: f64
) -> Result<bool>

Detect QR code in image and return minimum area of quadrangle that describes QR code.

Parameters

  • in: Matrix of the type CV_8UC1 containing an image where QR code are detected.
  • points: Output vector of vertices of a quadrangle of minimal area that describes QR code.
  • eps_x: Epsilon neighborhood, which allows you to determine the horizontal pattern of the scheme 1:1:3:1:1 according to QR code standard.
  • eps_y: Epsilon neighborhood, which allows you to determine the vertical pattern of the scheme 1:1:3:1:1 according to QR code standard.

C++ default parameters

  • eps_x: 0.2
  • eps_y: 0.1