161 Commits

Author SHA1 Message Date
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
3975befb68 completed implementation of zxing/qrcode/encoder/BitArrayTests 2016-07-22 02:06:24 +03:00
favoritas37
711d9537b9 added implementation of zxing/qrcode/encoder/QRCodeTests 2016-07-22 02:05:30 +03:00
favoritas37
7ca98d0365 Added unfinished implementation of BitArrayTests 2016-07-21 01:49:43 +03:00
favoritas37
bcc4f016d4 Implementation of tests for MASKUTILTESTS_H
+ regactoring
2016-07-21 00:50:37 +03:00
favoritas37
be836d3b76 Continuation of development on Testing framework. Ported tests for Qrcode::Encoder::MatrixUtil 2016-07-20 23:09:08 +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
f8e1574b6c fixed the refresh of the generated image from Encode procedure (disabled image caching) 2016-07-02 01:06:55 +03:00
favoritas37
cc0cd49996 minor optimization in the BarcodeEncoder view. 2016-06-16 01:20:15 +03:00
favoritas37
916903ed83 Update BarcodeEncoder to make use of Image Provider in order to display the image of the generated barcode to the QML viewe. 2016-06-16 01:16:35 +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
b0e3661c44 minor enhancement to the BarcodeEncoder UI. 2016-06-14 02:41:37 +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
favoritas37
345cab88a0 added test result log of current state of changes towards v3.0dev as a reference 2016-05-30 09:58:26 +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
Nikolaos Ftylitakis
65bf641007 Merge /u/moebucks123/qzxing/ branch master into HEAD
https://sourceforge.net/p/qzxing/code/merge-requests/3/
2016-05-26 18:22:39 +00:00
favoritas37
bac12b2dc8 Revert "Started the transission of char containers to unsinged char. By changing BitArray, there are 100 our of 1100 more tests that succeed."
This reverts commit afbe30fe0da52552d1e1bf7cce66e33dc0c26fe5.
2016-05-26 21:11:37 +03:00
favoritas37
afbe30fe0d Started the transission of char containers to unsinged char. By changing BitArray, there are 100 our of 1100 more tests that succeed. 2016-05-24 21:27:45 +03: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
e000997e96 Exmaple Code That should work now after small changes, before it was indecisive and didn't work 2016-04-25 10:40:08 +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
favoritas37
995c01a5c8 Merge branch 'encoder_changes' 2016-04-08 20:20:56 +03:00
favoritas37
0c59e57f79 In automatic tests, enhanced logs to provide more info for the inconsistent results. Also handled the fact that the txt files used for results matching instead of having \r\n they have \n. 2016-04-08 19:49:14 +03: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
3798e89fb6 rename project QZXingTests to the valid name QZXingDragNDropTest 2016-02-28 15:40:05 +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