View Source Evision.QRCodeDetector (Evision v0.1.8)

Link to this section Summary

cv

Decodes QR code in image once it's found by the detect() method.

Decodes QR code in image once it's found by the detect() method.

Decodes QR code on a curved surface in image once it's found by the detect() method.

Decodes QR code on a curved surface in image once it's found by the detect() method.

Decodes QR codes in image once it's found by the detect() method.

Decodes QR codes in image once it's found by the detect() method.

Detects QR code in image and returns the quadrangle containing the code.

Detects QR code in image and returns the quadrangle containing the code.

Both detects and decodes QR code

Both detects and decodes QR code

Both detects and decodes QR code on a curved surface

Both detects and decodes QR code on a curved surface

Both detects and decodes QR codes

Both detects and decodes QR codes

Detects QR codes in image and returns the vector of the quadrangles containing the codes.

Detects QR codes in image and returns the vector of the quadrangles containing the codes.

Python prototype (for reference):

sets the epsilon used during the horizontal scan of QR code stop marker detection.

sets the epsilon used during the vertical scan of QR code stop marker detection.

Link to this section cv

Link to this function

decode(self, img, points)

View Source

Decodes QR code in image once it's found by the detect() method.

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing QR code.

  • points: Evision.Mat.

    Quadrangle vertices found by detect() method (or some other algorithm).

Return
  • straight_qrcode: Evision.Mat.

    The optional output image containing rectified and binarized QR code

Returns UTF8-encoded output string or empty string if the code cannot be decoded.

Python prototype (for reference):

decode(img, points[, straight_qrcode]) -> retval, straight_qrcode
Link to this function

decode(self, img, points, opts)

View Source

Decodes QR code in image once it's found by the detect() method.

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing QR code.

  • points: Evision.Mat.

    Quadrangle vertices found by detect() method (or some other algorithm).

Return
  • straight_qrcode: Evision.Mat.

    The optional output image containing rectified and binarized QR code

Returns UTF8-encoded output string or empty string if the code cannot be decoded.

Python prototype (for reference):

decode(img, points[, straight_qrcode]) -> retval, straight_qrcode
Link to this function

decodeCurved(self, img, points)

View Source

Decodes QR code on a curved surface in image once it's found by the detect() method.

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing QR code.

  • points: Evision.Mat.

    Quadrangle vertices found by detect() method (or some other algorithm).

Return
  • straight_qrcode: Evision.Mat.

    The optional output image containing rectified and binarized QR code

Returns UTF8-encoded output string or empty string if the code cannot be decoded.

Python prototype (for reference):

decodeCurved(img, points[, straight_qrcode]) -> retval, straight_qrcode
Link to this function

decodeCurved(self, img, points, opts)

View Source

Decodes QR code on a curved surface in image once it's found by the detect() method.

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing QR code.

  • points: Evision.Mat.

    Quadrangle vertices found by detect() method (or some other algorithm).

Return
  • straight_qrcode: Evision.Mat.

    The optional output image containing rectified and binarized QR code

Returns UTF8-encoded output string or empty string if the code cannot be decoded.

Python prototype (for reference):

decodeCurved(img, points[, straight_qrcode]) -> retval, straight_qrcode
Link to this function

decodeMulti(self, img, points)

View Source

Decodes QR codes in image once it's found by the detect() method.

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing QR codes.

  • points: Evision.Mat.

    vector of Quadrangle vertices found by detect() method (or some other algorithm).

Return
  • decoded_info: [string].

    UTF8-encoded output vector of string or empty vector of string if the codes cannot be decoded.

  • straight_qrcode: [Evision.Mat].

    The optional output vector of images containing rectified and binarized QR codes

Python prototype (for reference):

decodeMulti(img, points[, straight_qrcode]) -> retval, decoded_info, straight_qrcode
Link to this function

decodeMulti(self, img, points, opts)

View Source

Decodes QR codes in image once it's found by the detect() method.

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing QR codes.

  • points: Evision.Mat.

    vector of Quadrangle vertices found by detect() method (or some other algorithm).

Return
  • decoded_info: [string].

    UTF8-encoded output vector of string or empty vector of string if the codes cannot be decoded.

  • straight_qrcode: [Evision.Mat].

    The optional output vector of images containing rectified and binarized QR codes

Python prototype (for reference):

decodeMulti(img, points[, straight_qrcode]) -> retval, decoded_info, straight_qrcode

Detects QR code in image and returns the quadrangle containing the code.

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing (or not) QR code.

Return
  • points: Evision.Mat.

    Output vector of vertices of the minimum-area quadrangle containing the code.

Python prototype (for reference):

detect(img[, points]) -> retval, points

Detects QR code in image and returns the quadrangle containing the code.

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing (or not) QR code.

Return
  • points: Evision.Mat.

    Output vector of vertices of the minimum-area quadrangle containing the code.

Python prototype (for reference):

detect(img[, points]) -> retval, points
Link to this function

detectAndDecode(self, img)

View Source

Both detects and decodes QR code

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing QR code.

Return
  • points: Evision.Mat.

    optional output array of vertices of the found QR code quadrangle. Will be empty if not found.

  • straight_qrcode: Evision.Mat.

    The optional output image containing rectified and binarized QR code

Python prototype (for reference):

detectAndDecode(img[, points[, straight_qrcode]]) -> retval, points, straight_qrcode
Link to this function

detectAndDecode(self, img, opts)

View Source

Both detects and decodes QR code

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing QR code.

Return
  • points: Evision.Mat.

    optional output array of vertices of the found QR code quadrangle. Will be empty if not found.

  • straight_qrcode: Evision.Mat.

    The optional output image containing rectified and binarized QR code

Python prototype (for reference):

detectAndDecode(img[, points[, straight_qrcode]]) -> retval, points, straight_qrcode
Link to this function

detectAndDecodeCurved(self, img)

View Source

Both detects and decodes QR code on a curved surface

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing QR code.

Return
  • points: Evision.Mat.

    optional output array of vertices of the found QR code quadrangle. Will be empty if not found.

  • straight_qrcode: Evision.Mat.

    The optional output image containing rectified and binarized QR code

Python prototype (for reference):

detectAndDecodeCurved(img[, points[, straight_qrcode]]) -> retval, points, straight_qrcode
Link to this function

detectAndDecodeCurved(self, img, opts)

View Source

Both detects and decodes QR code on a curved surface

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing QR code.

Return
  • points: Evision.Mat.

    optional output array of vertices of the found QR code quadrangle. Will be empty if not found.

  • straight_qrcode: Evision.Mat.

    The optional output image containing rectified and binarized QR code

Python prototype (for reference):

detectAndDecodeCurved(img[, points[, straight_qrcode]]) -> retval, points, straight_qrcode
Link to this function

detectAndDecodeMulti(self, img)

View Source

Both detects and decodes QR codes

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing QR codes.

Return
  • decoded_info: [string].

    UTF8-encoded output vector of string or empty vector of string if the codes cannot be decoded.

  • points: Evision.Mat.

    optional output vector of vertices of the found QR code quadrangles. Will be empty if not found.

  • straight_qrcode: [Evision.Mat].

    The optional output vector of images containing rectified and binarized QR codes

Python prototype (for reference):

detectAndDecodeMulti(img[, points[, straight_qrcode]]) -> retval, decoded_info, points, straight_qrcode
Link to this function

detectAndDecodeMulti(self, img, opts)

View Source

Both detects and decodes QR codes

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing QR codes.

Return
  • decoded_info: [string].

    UTF8-encoded output vector of string or empty vector of string if the codes cannot be decoded.

  • points: Evision.Mat.

    optional output vector of vertices of the found QR code quadrangles. Will be empty if not found.

  • straight_qrcode: [Evision.Mat].

    The optional output vector of images containing rectified and binarized QR codes

Python prototype (for reference):

detectAndDecodeMulti(img[, points[, straight_qrcode]]) -> retval, decoded_info, points, straight_qrcode

Detects QR codes in image and returns the vector of the quadrangles containing the codes.

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing (or not) QR codes.

Return
  • points: Evision.Mat.

    Output vector of vector of vertices of the minimum-area quadrangle containing the codes.

Python prototype (for reference):

detectMulti(img[, points]) -> retval, points
Link to this function

detectMulti(self, img, opts)

View Source

Detects QR codes in image and returns the vector of the quadrangles containing the codes.

Positional Arguments
  • img: Evision.Mat.

    grayscale or color (BGR) image containing (or not) QR codes.

Return
  • points: Evision.Mat.

    Output vector of vector of vertices of the minimum-area quadrangle containing the codes.

Python prototype (for reference):

detectMulti(img[, points]) -> retval, points

Python prototype (for reference):

QRCodeDetector() -> <QRCodeDetector object>

sets the epsilon used during the horizontal scan of QR code stop marker detection.

Positional Arguments
  • epsX: double.

    Epsilon neighborhood, which allows you to determine the horizontal pattern of the scheme 1:1:3:1:1 according to QR code standard.

Python prototype (for reference):

setEpsX(epsX) -> None

sets the epsilon used during the vertical scan of QR code stop marker detection.

Positional Arguments
  • epsY: double.

    Epsilon neighborhood, which allows you to determine the vertical pattern of the scheme 1:1:3:1:1 according to QR code standard.

Python prototype (for reference):

setEpsY(epsY) -> None

Link to this section Functions

Link to this function

decode!(self, img, points)

View Source

Raising version of decode/3.

Link to this function

decode!(self, img, points, opts)

View Source

Raising version of decode/4.

Link to this function

decodeCurved!(self, img, points)

View Source

Raising version of decodeCurved/3.

Link to this function

decodeCurved!(self, img, points, opts)

View Source

Raising version of decodeCurved/4.

Link to this function

decodeMulti!(self, img, points)

View Source

Raising version of decodeMulti/3.

Link to this function

decodeMulti!(self, img, points, opts)

View Source

Raising version of decodeMulti/4.

Raising version of detect/2.

Link to this function

detect!(self, img, opts)

View Source

Raising version of detect/3.

Link to this function

detectAndDecode!(self, img)

View Source

Raising version of detectAndDecode/2.

Link to this function

detectAndDecode!(self, img, opts)

View Source

Raising version of detectAndDecode/3.

Link to this function

detectAndDecodeCurved!(self, img)

View Source

Raising version of detectAndDecodeCurved/2.

Link to this function

detectAndDecodeCurved!(self, img, opts)

View Source

Raising version of detectAndDecodeCurved/3.

Link to this function

detectAndDecodeMulti!(self, img)

View Source

Raising version of detectAndDecodeMulti/2.

Link to this function

detectAndDecodeMulti!(self, img, opts)

View Source

Raising version of detectAndDecodeMulti/3.

Raising version of detectMulti/2.

Link to this function

detectMulti!(self, img, opts)

View Source

Raising version of detectMulti/3.

Raising version of qrCodeDetector/0.

Raising version of setEpsX/2.

Raising version of setEpsY/2.