Commit Graph

325 Commits

Author SHA1 Message Date
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
favoritas37 c54b7a61a4 updated README file of test resources. 2016-01-10 13:47:52 +02:00
favoritas37 94f76f27d6 added resources that will be used for the automated tests that will soon be implemented. 2016-01-09 16:47:37 +02:00
favoritas37 3d28afb79d updated example projects to the new file structure of the repository (renaming of the source folder) 2016-01-08 22:31:48 +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 e6dcc06032 Deleted folder binary as obsolete. To produce binary file (library) compile project src/QZXing.pro 2016-01-08 22:19:19 +02:00
favoritas37 afd1a88468 rename folder "source" to "src" 2016-01-08 22:17:13 +02:00
favoritas37 dfa2c5b2f8 Minor edit: Removed dummy character from BitArray.cpp 2016-01-08 22:08:07 +02:00
favoritas37 807176f7dd deleted unwanted/obsolete folders. 2016-01-08 22:06:33 +02:00
favoritas37 89163533d4 Fixed QZXingTestApp to use QQuickItem instead of QDeclarativeItem. Also removed the file path editing from the QML, it is properly handled by decoding function with the use of QUrl. 2016-01-08 21:49:49 +02:00
favoritas37 6542fb1d6a Applied patch provided by Sergiy Korobov in Ticket #3 "Cannot detect QR code". 2016-01-08 21:42:46 +02:00
favoritas37 b661cc2480 bug fixing at qr code encoder. 2015-12-05 16:02:49 +02:00
favoritas37 09c7d0c2c8 bug fixing in the decoder side 2015-11-22 20:33:49 +02:00
favoritas37 630f560e89 bug fixing at qr code encoding. this tests fail 2015-10-31 19:14:59 +02:00
Alexxey593 4ad07d7cb3 WinRt (and Windows Phone) compilation fixes. std::Min and std::Max are in algorithm header. 2015-10-21 12:24:24 +03:00
favoritas37 45aa03fdca bug fixing in QR encoder. Still not functional 2015-10-18 19:36:09 +03:00
favoritas37 95a2e44571 Added the main function that will be used for encoding in qzxing.cpp + latest bug fixes 2015-07-16 22:28:28 +03:00
favoritas37 8dbdb08997 updated pri file to include widget components and added the renaming of the Encoder to QREncoder 2015-07-16 22:22:02 +03:00
favoritas37 48d546aaea Added the example project BarcodeEncoder which will be used as the base for the barcode encoding functions (and testing) 2015-07-16 21:09:44 +03:00
favoritas37 f6c5917c38 initial implementation of Qr Encoder. Not tested 2015-06-19 01:56:26 +03:00