srowen
012a8c0ce7
Fixed same ResultPoint bug in Code 128 and Code 39 reader; added convenient toString() to Result and GenericResultPoint; added arg checking for Result constructor too
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@336 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-04-02 13:40:29 +00:00
dswitkin
f299f413e0
Fixed the result points for 1D decoding so that we once again get a green line in the Android client across the successful row.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@335 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-04-01 21:23:14 +00:00
srowen
11fc234d76
Completed basic support for NFC / NDEF formats applicable to 2D barcodes. Not yet enabled.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@329 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-31 20:51:24 +00:00
srowen
683a78256d
Improved bounds-checking and point-nudging logic in GridSampler. We should check more than endpoints.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@317 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-26 17:01:13 +00:00
srowen
4473c00147
Restored a corrected Reed-Solomon optimization and fixed a small issue in black box test cases
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@316 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-26 16:22:02 +00:00
srowen
c465263306
A few refactorings in anticipation of more formats that needs some common functionality
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@315 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-26 14:46:57 +00:00
srowen
7de539a67c
biasTowardsWhite was, embarassingly, not accomplishing anything mathematically. It proved to not have much value so has been removed, to simplify the code.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@313 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-26 14:42:33 +00:00
srowen
5f1428308d
Undo optimization that seems to not be correct in all cases -- will have to evaluate again later
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@312 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-26 14:13:14 +00:00
srowen
3a1e3dc156
Optimized 0- and 1-error case of Reed Solomon decoding a bit
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@309 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-24 20:02:06 +00:00
srowen
eec9cd339f
More small improvements to SKIP_N_BARCODES -- now remembers value across invocations of doDecode()
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@305 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-20 17:08:07 +00:00
srowen
93054c2213
Restored SKIP_N_BARCODES functionality and corrected a logic error
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@304 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-20 17:01:19 +00:00
srowen
76757bdcd4
More proper support for geo: URLs in Android
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@301 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-19 20:18:28 +00:00
srowen
b0f43f0991
"Try harder" mode now tries 2D formats first. BlackPointEstimator more conservative about rejecting histograms with too little dynamic range. Temporarily deprecated SKIP_N_BARCODES hint.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@300 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-19 18:40:52 +00:00
srowen
fc2f28080d
Take small advantage of "TRY_HARDER" in QR code decoder
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@299 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-19 17:10:58 +00:00
srowen
c28040bc61
Oops, forgot to include in last commit
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@298 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-19 17:10:11 +00:00
srowen
14a9eb7d20
Fixed bug in rotation code for BufferedImageMonochromeBitmapSource; fixed "SKIP_N_BARCODES" behavior to ignore barcodes already found.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@297 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-19 17:09:27 +00:00
srowen
efb0fb9e3b
Dumb logic error in boundary case for transformation: "nudging" the rightmost pixel of a line back onto the image was actually nudging the leftmost pixel
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@296 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-19 14:45:49 +00:00
srowen
7129e6a5ee
Added overdue Reed-Solomon tests
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@293 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 20:48:32 +00:00
srowen
379c3a8cc0
Add support for tel: URIs
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@292 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 20:17:20 +00:00
srowen
5248fb1a7e
Only parse UPC result out of a UPC format code, to avoid "false positives" from other formats
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@291 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 20:16:20 +00:00
srowen
5ae6e5be71
git-svn-id: https://zxing.googlecode.com/svn/trunk@290 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 18:41:10 +00:00
srowen
cc06bc326b
Fixed naming convention. Everything should be a "ParsedResult"
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@289 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 18:24:26 +00:00
srowen
b18107391b
Nope, disable link from geo: URL to Google Maps. Does not quite work in the browser yet.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@287 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 16:50:03 +00:00
srowen
4af9453acf
First checkin of support for basic NDEF message types -- not enabled yet
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@286 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 15:35:27 +00:00
srowen
444ec0b00f
Add client support for geo URIs
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@285 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 15:16:59 +00:00
srowen
fab1e27971
Add geo: URL support (oh and removed an old moved file)
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@284 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 14:57:56 +00:00
srowen
bf29a16253
"Try harder" now examines a lot more lines in the image
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@282 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 20:54:12 +00:00
srowen
1215cc3512
Added result metadata mechanism: now, reports orientation for 1D barcodes if it's not an upright orientation
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@281 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 20:49:46 +00:00
srowen
b6e14d880d
Oops, delete old files that were moved
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@280 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 18:54:09 +00:00
srowen
94e3009849
Changed signature of parse() to take in more general Result
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@279 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 18:53:25 +00:00
srowen
34cc1d2b9d
Move GridSampler into common package and refactor to ready it for use with Data Matrix
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@278 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 18:44:41 +00:00
srowen
40e039302d
This URL seems dead, removing the test
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@277 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 18:43:41 +00:00
srowen
3219223f9d
Trying out a new user-requested decode hint, allowing a caller to skip the first n barcodes found.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@276 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-13 19:32:08 +00:00
srowen
5f9237e9d0
Javadoc typo fix
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@273 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-12 19:27:17 +00:00
srowen
d31305c5f6
Temporarily turning off Data Matrix in MultiFormatReader until it's done
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@271 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-12 19:19:02 +00:00
srowen
ea13f8b052
Refactorings to allow raw bytes to be passed back with reader result, where applicable
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@270 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-12 18:51:46 +00:00
srowen
727cc95858
Fixed a few more extractPureBits() gotchas that came up, and added a couple tests for UPC-E
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@269 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11 17:43:32 +00:00
srowen
0be4184870
Added overdue EAN-8 tests
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@268 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11 15:28:23 +00:00
srowen
df4e3ac853
Added some needed bounds checking in Data Matrix, QR Code extractPureBits() methods
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@267 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11 15:26:45 +00:00
srowen
fd1620e753
Small tweaks on this test too
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@266 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11 15:05:10 +00:00
srowen
1b36bc820e
Completed some modest tweaks to new Data Matrix code based on IntelliJ suggestions
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@265 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11 15:01:02 +00:00
briangbrown
916edd548e
Added code for the Data Matrix decoder.
...
Added initial ASCII tests for Data Matrix.
Added test symbols for DataMatrix.
Modified MultiFormatReader to try the DataMatrixReader after 1D and QRCode.
git-svn-id: https://zxing.googlecode.com/svn/trunk@264 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11 03:48:12 +00:00
srowen
600e93c174
Overdue unit tests for some QR code classes
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@260 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-10 20:38:00 +00:00
srowen
7a6f72bad4
Move BitSource to common package so that it can be reused by Data Matrix decoder
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@259 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-10 20:16:57 +00:00
srowen
7d3abc8896
Add support for Android Intent URIs encoded in a barcode
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@251 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-06 16:05:56 +00:00
srowen
f7306489b6
Now supports KDDI/AU / Softbank address book format
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@249 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-06 15:43:31 +00:00
srowen
513479cf20
More minor code improvements
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@248 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-05 21:55:18 +00:00
srowen
a78f7f40d5
Various code tweaks and refactorings suggested by IntelliJ
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@246 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-05 17:26:44 +00:00
srowen
c82d0790c3
Try more possible finder patterns, but be stricter about vetting them. Produces about a 30% increase in accuracy on our test cases.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@244 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-04 20:42:34 +00:00
srowen
e3d418f458
Minor change to avoid using synthetic accessor for private member
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@243 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-04 16:35:22 +00:00