Hi, using the latest version of QZXING, I have a crash when I use a QZXingFilter into the VideoOutput filter property.
VideoOutput
{
id: videoOutput
source: camera
anchors.fill:parent
autoOrientation: true
fillMode: VideoOutput.PreserveAspectCrop
filters: [ zxingFilter ]
...
QZXingFilter
{
id: zxingFilter
captureRect:
{
// setup bindings
videoOutput.contentRect;
videoOutput.sourceRect;
return videoOutput.mapRectToSource(videoOutput.mapNormalizedRectToItem(Qt.rect(0.3,0.1,0.4,0.8))) ;
}
decoder
{
enabledDecoders: QZXing.DecoderFormat_CODE_128 | QZXing.DecoderFormat_EAN_13 | QZXing.DecoderFormat_QR_CODE
onTagFound:
{
root.lastTagType = decoder.foundedFormat()
root.lastTagValue = tag;
console.log("BARCODESCANNER: "+lastTagValue+"-"+lastTagType)
root.newTag(lastTagValue,lastTagType)
}
tryHarder: true
tryHarderType: QZXing.TryHarderBehaviour_ThoroughScanning | QZXing.TryHarderBehaviour_Rotate
}
}
I tried it on a pixel android 13 and galaxy S22+ android 13 as well..
do you have any clue?
thanks
Hi, using the latest version of QZXING, I have a crash when I use a QZXingFilter into the VideoOutput filter property.
VideoOutput
{
id: videoOutput
source: camera
anchors.fill:parent
autoOrientation: true
fillMode: VideoOutput.PreserveAspectCrop
filters: [ zxingFilter ]
...
I tried it on a pixel android 13 and galaxy S22+ android 13 as well..
do you have any clue?
thanks