Resolve valgrind issue at QRCode detector

This commit is contained in:
Dmitry Kurtaev 2024-04-03 16:58:46 +03:00
parent 99cacaaad6
commit df627e1281

View File

@ -2936,7 +2936,8 @@ QRDecode::QRDecode(bool _useAlignmentMarkers):
useAlignmentMarkers(_useAlignmentMarkers),
version(0),
version_size(0),
test_perspective_size(0.f)
test_perspective_size(0.f),
mode(QRCodeEncoder::EncodeMode::MODE_AUTO)
{}
std::string ImplContour::decode(InputArray in, InputArray points, OutputArray straight_qrcode) const {