Skip to content

Different versions have different decoding capabilities for calling wechat_qrcode_WeChatQRCode #1072

Closed
@peanutpaste

Description

@peanutpaste

Expected behaviour

Why can't the newer version be decoded

Actual behaviour

I tested different versions of opencv-python and opencv-contrib-python, including the two versions set to the same and different settings, and the decoding capabilities for the same QR code were inconsistent. Either the decoding result was empty or the error was as follows "AttributeError: module 'cv2.cv2' has no attribute 'wechat_qrcode_WeChatQRCode'. Only when opencv-python==4.6.0.66 and opencv-contrib-python==4.5.2.52, the decoding was normal. Thanks for the answer!
QR7

Steps to reproduce

  • example code
  • operating system
  • architecture (e.g. x86)
  • opencv-python version
Issue submission checklist
  • [√] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)
  • [√] I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)
  • The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")
  • [√] I'm using the latest version of opencv-python

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions