144 Commits

Author SHA1 Message Date
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
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
22e969b5c2 added c++11 config in BarcodeEncoder project 2016-02-20 15:19:23 +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
098f495449 minor fix in the log files of the test results. 2016-01-24 03:14:23 +02:00
favoritas37
f1dee56e4d added a log file with the status of v2.4 as a reference for future comparisons. 2016-01-24 02:51:56 +02:00
favoritas37
7d280e4067 Added separate list of inconsistent files. Added sector at the end that has a total result. 2016-01-24 01:16:31 +02:00
favoritas37
a1e658b975 Created reporting at the end of the tests. Failed images are enlisted there. TODO: separate listing of inconsistant successfull decodings (because of actual content decoded.) 2016-01-24 00:30:58 +02:00
favoritas37
36e303e8be minor style edit 2016-01-24 00:27:00 +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
ef160e3ae7 enhancements in testing functions. Fixed results matching boolean 2016-01-23 21:55:45 +02:00
favoritas37
e227543035 added compiler flag needed for Mingw to support C++11 2016-01-23 21:50:58 +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
5507ab4786 expanded the selection of test folders in test application 2016-01-19 21:49:23 +02:00
favoritas37
664561bcb1 First end-to-end version of the automated test. Needs to be further enhanced and add more result analysis. 2016-01-12 21:28:46 +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
f2a23c0a34 Added new project that will be used for automatic testing for decoding/encoding functions. 2016-01-10 14:56:52 +02:00