christian.brunschen
ee44225e3d
Refactored ParsedResult classes into ResultParsers & ParsedResults, to allow multiple different formats to generate the same result type
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@478 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-25 13:17:06 +00:00
dswitkin
12a57d0baf
Added new test of unsupported barcodes, to make sure we don't decode them.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@477 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-25 01:26:22 +00:00
dswitkin
cfa10cf26c
Added blackbox test of partial barcodes which should not decode.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@476 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-25 01:10:52 +00:00
dswitkin
67656a7ee3
Reworked the false positives unit tests to track each rotation separately, and to allow new tests to be added. I also removed four images which are going to live in another test.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@475 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-25 00:51:37 +00:00
srowen
a012185b85
AUTHORS file, build file changes and improvements
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@474 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-24 19:57:41 +00:00
srowen
8fb592777b
Initial checkin of bug client code from buglabs
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@473 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-24 19:00:09 +00:00
christian.brunschen
753ca4afbf
debug printout cleanup
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@472 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-24 16:27:52 +00:00
christian.brunschen
8cffdc4b70
scan archive UI improvements, phase 3
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@471 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-24 16:24:36 +00:00
christian.brunschen
ad66af0ce1
scan archive UI improvements, phase 2
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@470 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-24 14:18:11 +00:00
christian.brunschen
8c345b81e8
scan archive UI improvements, phase 1
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@469 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-24 10:04:08 +00:00
srowen
584564a594
Added ECI for values 0-2 and also standardize character encoding names throughout the code to use the canonical values for java.lang and java.io
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@468 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-23 17:11:53 +00:00
srowen
c9ead4ce8a
Added some degree of support for Character Set ECIs
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@467 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-20 22:38:35 +00:00
dswitkin
72dfe0c28f
Changed the core build file to run clean before building each time, which is necessary when switching between debug and optimized versions.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@466 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-20 21:50:46 +00:00
dswitkin
d713f52437
Tuned the Code 128 parameters:
...
Right-side up went from 9/40 to 33/40
Upside down went from 8/40 to 34/40
and try harder now gets 39/40.
git-svn-id: https://zxing.googlecode.com/svn/trunk@462 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-20 19:57:48 +00:00
dswitkin
834bc3297a
Added 40 real world Code 128 images. We decode 9/40 right-side up, and 8/40 upside down. A fix will follow shortly to get these numbers up - we overtightened the pattern matching in the first round of false positive changes.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@461 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-20 19:24:02 +00:00
dswitkin
40ca2706e2
Added 17 real world Code 39 images to our unit tests. We decode all 17, upside down and right-side up.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@460 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-20 19:20:27 +00:00
dswitkin
f5fb52c464
Added which format was decoded to the CommandLineRunner output.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@459 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-20 18:35:42 +00:00
srowen
ce549d76c3
More updated to build-optimized to work correctly with dex -- now really doesn't generate local var info
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@458 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-20 15:22:45 +00:00
christian.brunschen
970eea8a8f
Localized application into English, German & Swedish
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@457 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-20 13:50:07 +00:00
dswitkin
12e5d9462c
Fixed a bug in patternMatchVariance() which caused the max individual variance to never eliminate any patterns. As a result, the false positives unit test dropped from 15 to 4. Also did some other minor cleanup.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@456 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 21:38:48 +00:00
srowen
e0db8f9271
Standardize and update all copyright statements to name "ZXing authors" as suggested by open-source team to correctly attribute copyright in a project with contributions from several sources.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@455 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 20:56:24 +00:00
srowen
09e6c3bbce
Another possible fix for issues between ProGuard and Android's dex -- don't output local var symbols
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@454 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 20:48:12 +00:00
dswitkin
fb5fbccf7c
Add 26.jpg back with the command line client
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@453 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 20:00:13 +00:00
dswitkin
d4cda3377d
Delete 26.jpg again.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@452 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 19:59:23 +00:00
srowen
24e31c6a9a
Correct a few more things about ECI parsing
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@451 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 16:49:04 +00:00
dswitkin
466130bcf0
Added rotation to unit test output for clarification.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@450 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 16:41:40 +00:00
dswitkin
640ccb5fd2
Trying to add image 26 back to the false positives unit test.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@449 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 15:51:04 +00:00
dswitkin
eea1c7fd2f
Deleting image 26 which somehow arrived at the server with a length of zero bytes.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@448 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 15:49:51 +00:00
dswitkin
905d44424b
Fixed the build.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@447 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 15:46:39 +00:00
christian.brunschen
2c39fdb648
added a default image to show while the application starts
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@446 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 15:37:19 +00:00
christian.brunschen
5a2cdcede7
Removed redundant RotatingNavigationController class
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@445 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 14:02:47 +00:00
christian.brunschen
d02ea4bd84
First version of the iphone client that actually works, for at least a subset
...
of the intended functionality.
git-svn-id: https://zxing.googlecode.com/svn/trunk@444 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 08:52:37 +00:00
srowen
9ee69fee5a
Added, at least, parsing of ECI mode in QR Code
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@443 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 01:37:49 +00:00
srowen
15f34edb52
Simple check in Code 39 reader to determine wide bars vary in width a lot, to cut out most false positives
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@442 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-18 22:52:45 +00:00
srowen
180e833b3e
Improved approach to 1D decoding -- better use of integer math by scaling pattern ratios up to expected number of pixels, rather than the other way. Modified constants accordingly. Also introduced notion of maxium variance that any one bar in a pattern can have and stiill be accepted. Finally, adjusted false-positives test failure limit downward due to recent improvements.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@441 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-18 22:12:59 +00:00
srowen
2f9e5ca32b
Fix pretty clear bug on Code 128 and 39 readers: reject empty barcodes as a false positive.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@440 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-18 21:56:30 +00:00
srowen
593128df02
Make optimization of core.jar as a library more conservative -- no shrinking, obfuscation
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@439 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-18 21:44:09 +00:00
srowen
6921d91095
Added raw bytes to human readable output of zxing.org decoder
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@438 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-18 17:56:29 +00:00
srowen
6effdd4bd0
Renamed core OSGi bundle to "ZXing"; removed "level=" attribute on <jar> tasks since it singlehandly introduces a depence on Ant 1.7 and doesn't buy much. OS X for example does not ship with Ant 1.7 yet.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@437 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-18 17:40:14 +00:00
dswitkin
4d1229bd65
Created a library of images which do not contain barcodes, or contain barcodes we don't yet support. Wrote a new unit test designed to identify false positives, and set a benchmark which we can improve over time. Out of these 26 images, tested in all four rotations, we currently find 44/104 false positives. The Code 39 decoder in particular seems to be too lenient.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@436 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-17 18:35:16 +00:00
srowen
c29b094932
Add support for core.jar as OSGi bundle, component in BugLabs's BUG platform
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@435 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-16 18:25:56 +00:00
srowen
83e8ca4eca
Make sure to clean up generated web.xml with password!
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@434 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-16 17:32:16 +00:00
srowen
0f7a4e936f
Update with notes for 0.8
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@433 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-16 16:42:29 +00:00
srowen
b5b4351727
Final updates to use local test images rather than remote
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@432 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-16 16:29:48 +00:00
srowen
ab3a9bf493
More updates to use local test images rather than remote
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@431 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-16 16:13:12 +00:00
srowen
f66a048f5c
First set of updates to use local test images rather than remote
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@430 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-16 16:00:51 +00:00
srowen
70c64558cf
Minor style tweaks
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@428 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-13 12:15:49 +00:00
srowen
6f7a348f5d
Adjust optimization options: make sure to actually exclude more unused code, but keep what Android client needs; this means tests have to run against unoptimized version
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@427 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-12 17:11:07 +00:00
srowen
4cc490db56
Remove compile-time reference to DataMatrixReader
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@426 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-12 16:30:01 +00:00
srowen
20df62a8af
Made this more like RGBMonochromBitmapSource, caching a row instead of the whole image
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@425 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-12 16:29:04 +00:00