Struct opencv::wechat_qrcode::WeChatQRCode[][src]

pub struct WeChatQRCode { /* fields omitted */ }
Expand description
  • WeChat QRCode includes two CNN-based models:
  • A object detection model and a super resolution model.
  • Object detection model is applied to detect QRCode with the bounding box.
  • super resolution model is applied to zoom in QRCode when it is small.

Implementations

Initialize the WeChatQRCode. It includes two models, which are packaged with caffe format. Therefore, there are prototxt and caffe models (In total, four paramenters).

Parameters
  • detector_prototxt_path: prototxt file path for the detector
  • detector_caffe_model_path: caffe model file path for the detector
  • super_resolution_prototxt_path: prototxt file path for the super resolution model
  • super_resolution_caffe_model_path: caffe file path for the super resolution model
C++ default parameters
  • detector_prototxt_path: “”
  • detector_caffe_model_path: “”
  • super_resolution_prototxt_path: “”
  • super_resolution_caffe_model_path: “”

Trait Implementations

Wrap the specified raw pointer Read more

Return an the underlying raw pointer while consuming this wrapper. Read more

Return the underlying raw pointer. Read more

Return the underlying mutable raw pointer Read more

Executes the destructor for this type. Read more

Both detects and decodes QR code. To simplify the usage, there is a only API: detectAndDecode Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.