Commit Graph

48 Commits

Author SHA1 Message Date
Nikolaos Ftylitakis 9f8a13569c enable the orientation binding 2021-12-26 10:45:46 +02:00
Nikolaos Ftylitakis 30fa997992 exclude custom android code if Qt 6 and greater 2021-12-26 10:45:13 +02:00
Nikolaos Ftylitakis c48a7a9006 fix camera activation for Android with @deletexl suggestion #199 2021-12-02 19:19:25 +02:00
Nikolaos Ftylitakis 638e68de6c Updated library version from 3.2 to 3.3 2021-11-03 11:53:46 +02:00
Nikolaos Ftylitakis ea066e1cb2 Updated QZXingLive example: use of QZXingFilter to comply with Qt 6.2 #199 2021-11-03 11:28:28 +02:00
Nikolaos Ftylitakis b1659be29a Add orientation binding in QZXingFilter QML component 2021-08-12 11:05:36 +03:00
Nikolaos Ftylitakis 7582cdceb3 update QZXing versions to 3.2 2021-08-08 12:06:30 +03:00
Nikolaos Ftylitakis cfc728583b changed all QML versions from 2.3 to 3.1 2021-01-26 11:51:42 +02:00
Nikolaos Ftylitakis 9c80b90d7c Updated REAME files with Qt 6 limitations 2021-01-26 11:39:59 +02:00
Nikos Ftylitakis 9d70b9a33b Change all Version* usages to Ref<Version> to avoid valrgind of reporting memory leak on static Version objects. #155 2020-02-12 11:37:14 +02:00
Nikos Ftylitakis 10ba99586e replace all occurences of '#include <QZXing.h>' with '#include QZXing.h'. Possible fix for #81 #118 #123 2019-10-15 10:04:09 +03:00
Nikolaos Ftylitakis 6070e98f38
Add conditional builds in pro (#141)
* first refactoring on QZXing.pri to group sources based on type of barcode and operation

* Moved the newly created source code groups of functionalities to separate pri file (QZXing-components.pri).

* In QZXing.pri include QZXing-components.pri having previously added as configuration all the available modules to preserve the backward compatibility.

* Deactivate parts of code based on the configuration of the pro file. (Work in Progress).

* fix compilation error

* Fix include issue when only "enable_encoder_qr_code" config is used through QZXing-components.pri

Update example projects to use QZXing-components.pri
2019-10-03 15:56:14 +03:00
Björn Bidar f51cc2fdbe update gradle build file to latest android support and gradle tools 2019-04-12 10:28:18 +02:00
Björn Bidar 006e091f91 update gradle version of example 2019-04-12 10:27:44 +02:00
Alexander Stillich 3f3a89b2ba Introduced ZXING_NULLPTR and ZXING_NOEXCEPT to abstract differences between C+11 and non-C++11 compilers
Fixed warnings in QZXingFilter.cpp
Removed C++11 requirement from all .pro files
Set compiler warning flags via CONFIG += warn_on instead of using GCC specific switches
2018-11-16 13:05:58 +01:00
Alexander Stillich d2242ac24a Fixed XXX has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit in Exception and derived classes
Enabled -Wall and -Wextra
2018-11-05 14:50:45 +01:00
favoritas37 9c361587a4 Updated QZXingImageProvider::requestImage implementation to:
- fix bug when '?' is included without correct definition of options
 - utilize requestedSize for the generated barcode

Updated README.md file to reflect changes.
2018-03-11 19:21:19 +02:00
Nikolaos Ftylitakis 710a6f6ab4 added Info.plist to allow iOS to use Camera feature 2017-05-11 17:32:23 +03:00
favoritas37 6a40ab118d Merge branch 'master' of https://github.com/ftylitak/qzxing 2017-03-20 17:24:53 +02:00
favoritas37 2207c3c248 Removed qzxing_qml tag from the defaults
Automatically add qzxing_qml if qzxing_multimedia tag is used
Refactorings to wrap QML dependant code in QZXING_QML scopes
update README.md to reflect the above changes
changes triggered from #26
2017-03-20 17:23:52 +02:00
favoritas37 51346e19d6 Fixed processing of RGB32 images. Fix inverted y directly at the construction of the image. Fixes issue #27. 2017-03-20 15:11:40 +02:00
favoritas37 f581e879de fixed compilation of QZXingLive for platforms other than Android 2017-03-16 16:26:48 +02:00
favoritas37 a69cd45ac6 added higher resolution icons in QZXingLive 2017-03-03 19:02:49 +02:00
favoritas37 29860c538c Added example with proper handling of Android application permissions for QZXingLive triggered by #22 2017-01-29 17:54:16 +02:00
Nikolaos Ftylitakis cbaef5e90f Delete gradle.properties
removed unnecessary file
2017-01-16 20:04:22 +02:00
favoritas37 c48d31f523 removed unecessary file 2017-01-16 20:02:13 +02:00
favoritas37 75eb47e8c5 fine tune the use of QZXing::registerQMLTypes to include the QZXingFilter. Update QZXingLive with the latest changes 2017-01-16 19:57:25 +02:00
favoritas37 905ee3359a make QZXingLive aware of the Android configuration 2017-01-16 19:54:20 +02:00
favoritas37 ac2d636532 Added initial Android files 2017-01-16 19:52:44 +02:00
favoritas37 a3e71ec1e7 created qzxing_qml and qzxing_multimedia qmake CONFIG tags for QZXing.pri to allow the control of dependencies based on the needs. qzxing_qml enables QML specific parts of the library. qzxing_multimedia enables QZXingFilter which requires Qt's multimedia. 2017-01-15 20:36:41 +02:00
Milian Wolff 594b178501 Make QZXingFilter "official" by moving it out of the example folder
The filter is much more performant than using the QZXing API in an
imparative way for the use-case of live-analyzing video frames in QML.
2017-01-10 13:24:55 +01:00
Milian Wolff 449a808972 Crop to capture rect directly when converting RGB to grayscale
This improves the performance since we only need to convert the
actually interesting part of the frame, instead of the full frame.
2017-01-10 13:17:54 +01:00
Milian Wolff c882465649 Improve performance of rgb(a) reading, convert directly to greyscale
This again leads to a noticeable performance improvement of the
QZXingFilter example, as we get rid of one full copy of the image
data by converting directly into greyscale, instead of first
converting to RGB and then converting to greyscale.
2017-01-10 13:17:54 +01:00
Milian Wolff b5e4f06e9f Fix linking on recent Qt for iOS
The qtmn hack is not required anymore.
2017-01-10 13:17:54 +01:00
Milian Wolff 0e10d8aeca Add simple FPS counter to QZXingLive example 2017-01-10 13:17:54 +01:00
Milian Wolff 69e05c1ff1 Add support for NV12 video frames
This was encountered on a recent Android device.
2017-01-10 13:17:54 +01:00
Milian Wolff 75b1a0d355 Further optimize QZXingFilterRunnable::processVideoFrameProbed
Do not call detaching QByteArray::data, use constData instead.
Also hoist some constants out of the inner conversion loops and make
more variables const.
2017-01-10 13:17:54 +01:00
Milian Wolff 3eb5b0b869 Cleanup debug code, save at most 100 images. 2017-01-10 13:17:54 +01:00
Milian Wolff bc2badb5b5 Optimize: reduce memory allocations, convert directly to grayscale
This dramatically improves the performance of the QZXingFilter.
2017-01-10 13:17:54 +01:00
Milian Wolff d112bf4186 Don't try harder by default in the QZXingLive example 2017-01-10 13:17:54 +01:00
Milian Wolff 7937cb84b5 Only try to mirror images when tryHarder is set to true
Additionally, this is only done until a match is found, instead of
always applying mirroring for the 2nd, 3rd and 4th frames.
2017-01-10 13:17:54 +01:00
Milian Wolff cafad4a9c0 Add captureRect functionality
This allows one to only detect within a certain unscaled region
of the input frame. The reduction of pixels scanned leads to
a significant performance win, and the removal of the scaling
improves the quality of the checked image, thereby leading to
higher detection rates.
2017-01-10 13:17:54 +01:00
Milian Wolff a7103d5cac Expand QZXingFilter example code
- allow autofocus and manual focus
- count number of tags matched
- allow configuring the barcode scanner from QML
2017-01-10 13:17:54 +01:00
favoritas37 7ea672e6d1 fixes issues #4 and #9 (dummy commit to add the issue reference to the commit 37ca7a1 ) 2016-12-03 15:46:26 +02:00
Nikolaos Ftylitakis 37ca7a13e1 Merge pull request #12 from ChALkeR/patch-2
QZXingFilter: add YUV420P format support
2016-12-03 12:16:01 +02:00
Сковорода Никита Андреевич fe1337394e QZXingFilter: add YUV420P format support 2016-12-01 17:22:33 +03:00
Сковорода Никита Андреевич 3adcc83300 QZXingLive example: remove unused qzxing.h include
qzxing.h doesn't exist, and the example works fine without it.
2016-12-01 02:58:00 +03:00
favoritas37 fa186c2cc9 Added new example project for live decoding in QtQuick 2 (contibution of Luiggi Reffatti from Fira Soft ). Will be examined in the future to embed QZxingFilter implementation to the main implementation fo the library. 2016-09-27 03:06:28 +03:00