OpenCV 4.5.3(日本語機械翻訳)
wechat_qrcode.hpp
1 // This file is part of OpenCV project.
2 // It is subject to the license terms in the LICENSE file found in the top-level directory
3 // of this distribution and at http://opencv.org/license.html.
4 //
5 // Tencent is pleased to support the open source community by making WeChat QRCode available.
6 // Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
7
8 #ifndef __OPENCV_WECHAT_QRCODE_HPP__
9 #define __OPENCV_WECHAT_QRCODE_HPP__
10 #include "opencv2/core.hpp"
13 namespace cv {
14 namespace wechat_qrcode {
17
24 class CV_EXPORTS_W WeChatQRCode {
25 public:
36 CV_WRAP WeChatQRCode(const std::string& detector_prototxt_path = "",
37 const std::string& detector_caffe_model_path = "",
38 const std::string& super_resolution_prototxt_path = "",
39 const std::string& super_resolution_caffe_model_path = "");
40 ~WeChatQRCode(){};
41
51 CV_WRAP std::vector<std::string> detectAndDecode(InputArray img,
52 OutputArrayOfArrays points = noArray());
53
54 protected:
55 class Impl;
56 Ptr<Impl> p;
57};
58
60} // namespace wechat_qrcode
61} // namespace cv
62 #endif // __OPENCV_WECHAT_QRCODE_HPP__
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:295
WeChat QRCode includes two CNN-based models: A object detection model and a super resolution model....
Definition: wechat_qrcode.hpp:24
cv
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75
Definition: cvstd_wrapper.hpp:74