OpenCvSharp (C# OpenCV) 微信QRCode解码功能使用介绍(附源码)

导读

    微信开源了QRCode解码功能,并可以在OpenCV中使用:

 

WeChatQRCode模块为OpenCV4.5.1新增功能,具体介绍可参考下面文章:

OpenCV4.5.1新增微信QRCode解码功能使用步骤与测评 附源码和效果视频_Color Space的博客-CSDN博客 

本文给出OpenCvSharp实现代码 (版本4.6.0.20220608):

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using OpenCvSharp;
using OpenCvSharp.Dnn;
using OpenCvSharp.Face;

namespace QRCode_Decoder
{
    class Program
    {
        static void Main(string[] args)
        {
            string detect_prototxt =

猜你喜欢

转载自blog.csdn.net/stq054188/article/details/125397553