QRCodeDetectorDecode Method |
http://www.emgu.com
Decodes QR code in image once it's found by the detect() method.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.0.1.3373 (4.0.1.3373)
Syntaxpublic string Decode(
IInputArray image,
IInputArray points,
IOutputArray straightQrcode = null
)
Public Function Decode (
image As IInputArray,
points As IInputArray,
Optional straightQrcode As IOutputArray = Nothing
) As String
public:
String^ Decode(
IInputArray^ image,
IInputArray^ points,
IOutputArray^ straightQrcode = nullptr
)
member Decode :
image : IInputArray *
points : IInputArray *
?straightQrcode : IOutputArray
(* Defaults:
let _straightQrcode = defaultArg straightQrcode null
*)
-> string
Parameters
- image
- Type: Emgu.CVIInputArray
grayscale or color (BGR) image containing QR code. - points
- Type: Emgu.CVIInputArray
Quadrangle vertices found by detect() method (or some other algorithm). - straightQrcode (Optional)
- Type: Emgu.CVIOutputArray
The optional output image containing rectified and binarized QR code
Return Value
Type:
StringUTF8-encoded output string or empty string if the code cannot be decoded.
See Also