Comments (5)
Could you be kind enough and take a look at https://github.com/ftylitak/qzxing/tree/master/examples/QZXingLive. Do you consider this as outdated?
The only example that contains Qt Declarative is https://github.com/ftylitak/qzxing/tree/master/examples/QMLBarcodeScanner. Why is that such a problem to you?
Moreover, an issue when opened needs to be informative. When you point out an issue, refer also the code that proves your sayings. This way, the issue reporting can be helpful and lower the resolution times. Last but not least, the language must be kind and respectful. No one here is obligated to do anything thus your writing can not be dictating.
Best regards.
from qzxing.
Hi ftliak!
Thank you for your rapid answer. Sorry if you find my report issue offensive. I was just surprised that some one still use Qt Declarative... In true I try QZXingLive with commented line:
//decoder.setDecoder(QZXing::DecoderFormat_Aztec | QZXing::DecoderFormat_QR_CODE);
And I printed two codes (EAN-8 (with coded '1234567' value) and Data Matrix (with encoded my email)). But sadly it didn't recognize them... But I have wrote simple app and I successfully decode image file with one of the codes. But our expectations is that decode codes from video stream... So: maybe you can give me some advices how to force QZXing to decode codes from stream buffer?!? Or maybe can you give me test codes values which are success fully decode by QZXing library?!?
from qzxing.
Hello @JacekMarcinJ
sorry for the delay. The QZXingLive example is the code that you are looking for. It makes use of the QZXingFilter in order to decode messages as they are provided by video feed. The decoder included in the QZXingFilter item can be fine-tuned. For instance, you can set the enabled decoders. Right now the enabled decoders are: EAN_13, CODE_39, QR_CODE. So this answers your question why you could not decode the DataMatrix and possible the EAN-8.
Right now the project has a low success rate for DataMatrixes though it is a good thing to try out for your self and see.
Feel free to look the example once more and if you are still experiencing problems, sent here and i will try to assist you.
from qzxing.
did you have any progress on this?
from qzxing.
Yes. I can recognized many codes from video on the fly, but there is other problem. I merge QZXingLive example and multimedia/declarative-camera from Qt examples. Because I want video recording, image capture and codes recognition in one (test) app. And then there is huge problem with camera lock by VideoOutput in QZXing part. I normally need the camera output for video preview in main window. So I manually switch two VideoOutput's sources. For example:
State {
name: "BarcodeCapture"
StateChangeScript {
script: {
camera.stop();
viewfinder.visible = false; // z jakiegoś powodu to musi być, bo inaczej się wiesza
viewfinder.source = null;
camera.captureMode = Camera.CaptureStillImage;
camera.focus.focusMode = CameraFocus.FocusContinuous;
camera.focus.focusPointMode = CameraFocus.FocusPointAuto;
barcodeCapture.source = camera;
camera.start();
barcodeCapture.recoginitionEnabled = true;
//barcodeCapture.visible = true;
}
}
}
But I don't think that this is the "right" or Qt way... Maybe you can give me some advice how to properly handle two VideoOutput objects in the same time with one camera? Switching they visibility does not enough - it does not work for some unknown reason (camera lock happen).
from qzxing.
Related Issues (20)
- UPC-A addon decoding issue
- Crash of QZXingLive with Qt 6.2.3 on Android 12 HOT 6
- QZXingTests - The Tests should detect the Barcode format as well HOT 1
- QrCode with text
- QZXing Crashing on Qt6.4 on IOS for latest Iphone 13 HOT 4
- Segmentation fault on android HOT 1
- No QR code is detected on Qt6.4/Ubuntu
- pdf417 Fail
- Qt 6.4.2 Android Qml loader issue
- Cannot open input file 'debug\cameraimagewrapper.oby HOT 3
- QAbstractVideoFilter not found
- Ios and Android with Qt 6.4.1
- compiling example QZXingLive : application.cpp:(.text+0x234): undefined reference to `NativeHelpers::application_p_' HOT 1
- Android Qt 6.5.0 build error
- When trying to decode a large number of DataMatrix from png (fed 2500 DataMatrix), not all were decoded HOT 1
- crash on QT android 5.15.13 QZXingFilter HOT 1
- SberPay QR codes are never detected HOT 5
- QAbstractVideoFilter removed in Qt6
- QT6.5.1 Memory leak with function
- Shared Object
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qzxing.