48 Commits

Author SHA1 Message Date
favoritas37
52262cb0d2 better aligned implementation of WhiteRectangleDetector with the Java implementation 2016-09-27 02:08:03 +03:00
favoritas37
d5e5c895d8 For backward compatibility, after merging pull request #3, the original tagFoundAdvanced signal has been reimplemented. Also added try catch clause around the new singal since in a lot of cases it fails to detect the decoded barcode's rectangle. To be improved. 2016-09-27 02:06:54 +03:00
Aleksey Lysenko
30f6f70e3e Add getting barcode region and sending it in advanced signal 2016-09-19 11:44:53 +03:00
favoritas37
af86c7857c trying to deal with linker errors on msvc 2013 2016-08-03 17:47:36 +03:00
favoritas37
5b5b851c96 refactoring on the namespaces
Added call to ReedSolomonEncoderTests
2016-08-01 19:39:09 +03:00
favoritas37
2db02dffee Further enhance tests for QRcode encoder 2016-08-01 18:36:01 +03:00
favoritas37
365ab5b269 Fixed the way exceptions are thrown, changed 'throw new' to 'throw' 2016-07-28 21:22:35 +03:00
favoritas37
48ee696c42 Started implementation of zxing/qrcode/encoder/EncoderTests
minor refactoring on BitArrayTests.
2016-07-22 03:03:12 +03:00
favoritas37
450afbe54b Enable new tests. 2016-07-22 02:09:55 +03:00
favoritas37
ad35bd294a changed visibility of functions included in qrcode encoder MatrixUtil 2016-07-20 23:03:19 +03:00
favoritas37
ecfaba0b54 revisit the translation of >>> symbol from Java to C++. 2016-07-20 23:02:06 +03:00
favoritas37
665e596c83 Implemented BitArray::toString 2016-07-20 22:47:01 +03:00
favoritas37
81b63588ae Use the Image Provider in the encoder.
Support static function to register the image provider to the QQuickView.
2016-06-16 01:15:44 +03:00
favoritas37
3184ce6b8e Implemented singleton class of Image Provider. Will be used from the encoders to provide the latest produced image to QML Items. 2016-06-16 01:12:56 +03:00
favoritas37
7f86f35883 Introduced new option for QZXing. if QZXing::setTryHarder is set to true, if the image decoding fails, the image will be rotated and will be tested against angles 90o, 180o, 270o. This increased the success rate for the Qr codes.
Plus, minor changes at the handling of failed decoding in QZXing.
2016-06-15 23:31:44 +03:00
favoritas37
0ecf27cc37 Experimental implementation => in case of failure retry having rotated the image (1st @ 90 degrees, 2nd @ 180 degrees, 3rd @ 270 degrees). Increased success rate at QrCode tests. 2016-06-15 04:13:37 +03:00
favoritas37
c7bbe4779a minor changes in the QRFinderPatternFinder.cpp 2016-06-15 04:10:52 +03:00
favoritas37
052615aae7 changed the algorithm that calculates the grayscale of a pixel 2016-06-15 04:09:46 +03:00
favoritas37
f6bf265df7 completed the transition from char to byte. 2016-06-14 23:27:05 +03:00
favoritas37
53c80b3313 Ported functions
@ qrcode/decoder/QRBitMatrixParser.cpp
 - remask
 - setMirror
 - mirror
2016-06-14 02:43:53 +03:00
favoritas37
aabc0e2fbb reverting wrongly commited file 2016-06-14 02:40:43 +03:00
favoritas37
b381f9cc5e Aligning implementation with the Java original version.
Added:
 @ BitArray => ported flip function
 @ BitMatrix => ported flip, rotate180, getEnclosingRectangle
2016-06-14 00:12:12 +03:00
favoritas37
148deb5108 Created file zxing/common/Types.h to hold common types. Created global typedef of unsigned char to byte and applied everywhere possible. 2016-06-12 14:44:39 +03:00
favoritas37
86ad0f27cc minor optimization at the handling of file paths through URLs that are given to QZXing::decodeImageFromFile 2016-06-12 14:21:14 +03:00
favoritas37
983390d465 continued the transition of changing all byte references from char to unsinged char => Qr Encoder 2016-06-12 14:19:58 +03:00
favoritas37
9708a0ed23 all types that store bytes have changed from "char" to "unsigned char" 2016-06-09 15:06:11 +03:00
Nikolaos Ftylitakis
2b57ef7103 Merge /u/kl222/qzxing/ branch master into master
https://sourceforge.net/p/qzxing/code/merge-requests/5/
2016-05-26 18:28:07 +00:00
KangLin
f519e7b391 Fix compatibility BUG:
qt less than 5.5 does not support QImage::Format_Grayscale8
2016-05-12 11:23:08 +08:00
KangLin
f9604ec163 Modify install prefix 2016-05-11 14:05:02 +08:00
mb
db0ae28c0d Commited old wrong file before 2016-04-27 11:28:12 +02:00
Maurice Backes
9f8fa0a8b7 PDF-417
Changed Tolanerance from 75% to 80%
added another parameter to the getValueWithMaxVotes for the indecisive Case
2016-04-25 10:33:37 +02:00
Lauri Laanmets
04ffa66367 Disable saving image files by default and correct wrong scope for returned image. 2016-04-07 11:43:47 +03:00
Lauri Laanmets
ab17c8ecb0 Fix bad signness comparison for default values. 2016-04-07 11:43:47 +03:00
Lauri Laanmets
7e92f2981c Fix memory leaks. 2016-04-07 11:43:47 +03:00
favoritas37
00d0e8d8d0 refactoring in qzxing.cpp to remove uneeded references 2016-03-18 21:01:48 +02:00
favoritas37
dfde91a225 added custom function for calculating the grayscale value of a pixel. 2016-02-21 04:12:02 +02:00
favoritas37
41ebf93087 Reimplemented CameraImageWrapper to internally use GreyscaleLuminanceSource.
Enhanced QZXing, in case of decode failure, it now reties with "tryHarder" added decode hint.
These changes have the following increment on success rates when decoding (numbers generated by test application):
CODE_128: was 44/48, is 47/48
EAN_8: was 7/8, is 8/8
EAN_13: was 101/157, is 119/157
ITF: was 18/27, is 22/27
QR_CODE: was 135/178, is 137/178
UPC_A: was 80/167, is 99/167
UPC_E: was 40/55, is 47/55
2016-02-21 03:41:45 +02:00
favoritas37
5de6bf853f changed the calculation of grayscale since there is a very slight persentage increment of succeeded tests. To be reviewed. 2016-02-20 16:17:28 +02:00
favoritas37
66ef3add5a removed unsued variables 2016-02-20 16:15:06 +02:00
favoritas37
ea5c7c1d52 optimized CameraImageWrapper::getMatrix by removing an extra (uneeded) image copy 2016-02-20 15:31:36 +02:00
favoritas37
07cc5c9c6b Refactoring on CameraImageWrapper on the conversion of image to grayscale 2016-02-20 15:27:07 +02:00
favoritas37
7c24420fdc compilation fix for Mingw, was not able to find _isnan function in windows systems 2016-02-20 15:24:47 +02:00
favoritas37
f1f7013621 The suggestion of max resolution 999x999 per image got embedded in the standard decoding function. If image is bigger, it will be resized by default. 2016-01-24 03:19:51 +02:00
favoritas37
b5b557ff89 made function QZXing::decoderFormatToString static. Also updated the correspondance of decoder enumeration to string. 2016-01-24 00:24:43 +02:00
favoritas37
c916e0952b Bug fix for edge case in UPC reader. Row to be decoded was null producing null results. Added TODO for future work. 2016-01-23 20:57:37 +02:00
favoritas37
a4c8f03d7b In the function decodeImage added the const qualifier at the input argument of QImage 2016-01-10 15:01:57 +02:00
favoritas37
98b6550a11 Added an initial README.md file that will include the needed information. Will be updated from time to time. 2016-01-08 22:30:35 +02:00
favoritas37
afd1a88468 rename folder "source" to "src" 2016-01-08 22:17:13 +02:00