Open xiaowodaweiwang opened 2 years ago
Thanks for the report. We're not planning to update this package in the near future, but if you'd like to try building the new version yourself, follow the instructions here. And if you're successful, please make a pull request so we can add the new version to the public repository.
Alternatively, it looks like you could use the QRCodeDetector
API (example here), which is available in Chaquopy's current OpenCV version.
If anyone else needs a new version of this package, please click the thumbs up button above, and post a comment explaining why you need it.
Thank you very much for your help!
The next time we update OpenCV, we should see if it's possible to enable its camera API, which apparently had some Android improvements in version 4.5.2:
Older links (probably not useful):
Previous discussion: #303
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!