Skip to content

Update opencv version #620

@xiaowodaweiwang

Description

@xiaowodaweiwang

Hi, @mhsmith , I've tried an android project which used cv2.wechat_qrcode_WeChatQRCode function in opencv. So I tried to build with help of chaquopy by using 'pip install opencv', then opencv with the version 4.5.1.48 was installed and no error happend during build, but an error occured "AttributeError: module 'cv2.cv2' has no attribute 'wechat_qrcode_WeChatQRCode'" during run the project, so I update the opencv version by change build "pip install opencv==4.5.4.60", cause of wechat_qrcode_WeChatQRCode only included after version 4.5.2 of opencv. But an error "Process 'command 'py'' finished with non-zero exit value 1" happened during build.
I would appreciate it if you could solve this problem, thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions