C# 基于OpenCv的视觉工作流-章53-QR二维码1
本章目标:
一、二维码识别;

一、二维码识别
OpenCv二维码识别可如下使用:
var qrDetector = new QRCodeDetector();
Point2f[] points;
string data = qrDetector.DetectAndDecode(dstMat, out points);
其中:参数1,为输入图像;
参数2,为输出二维码四个角点坐标;
参数data ,为识别的二维码的值;
效果如下

"VisionTool 探迹"免费视觉工具
下载地址:https://pan.baidu.com/s/11tktKOSnepLNIEqNbvnv6w?pwd=qv5i
"VisionTool Halcon"付费视觉工具
下载地址:https://pan.baidu.com/s/1v832KTonDYS6oNnWG2iZtQ?
对应系列文章"C# 基于Halcon的视觉工作流",欢迎前往阅读。
上述内容需要一定的技术功底,本章至此已结束,欢迎阅读下章,谢谢!