Closed neonknight closed 1 month ago
OpenCV python version: 4.9.0.80 (headless, via pip) Operating System / Platform: Debian 12.5 Python version: 3.11.2
When trying to create a QR code using QRCodeEncoder the python shell/application is terminated with Segmentation fault
python3 -m venv opencv . opencv/bin/activate pip install opencv-python-headless pip install opencv-contrib-python-headless python3
import cv2 encoder = cv2.QRCodeEncoder() qrcode = encoder.encode('foobar')
C++ code use ::create() factory to create the object. Python code have to call QRCodeEncoder_create() to achieve the same result. It's true for classes inherited from cv::Algorithm.
QRCodeEncoder_create()
cv::Algorithm
System Information
OpenCV python version: 4.9.0.80 (headless, via pip) Operating System / Platform: Debian 12.5 Python version: 3.11.2
Detailed description
When trying to create a QR code using QRCodeEncoder the python shell/application is terminated with Segmentation fault
Steps to reproduce
Issue submission checklist