srowen
64bce22867
Update Maven config and advance to v2.2
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2477 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-22 14:13:57 +00:00
srowen
63990f3a13
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2472 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-22 13:29:52 +00:00
srowen
063276937a
[maven-release-plugin] prepare release javase-2.1
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2470 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-22 13:29:37 +00:00
srowen
ba5dd02852
Speedup for black/white image rendering
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2365 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-01 23:48:37 +00:00
srowen
7bc138ed7a
Avoid check for transparency when there is no alpha channel
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2327 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-26 10:23:54 +00:00
srowen
845b3d81e1
Issue 1296 Faster check for transparent pixels
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2324 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-25 21:33:18 +00:00
srowen
8d86437747
Add ability to rotate LuminanceSource 45 degrees, for later use
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2314 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-20 14:46:00 +00:00
srowen
d2fcfb0606
Update some Maven version stuff
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2306 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-08 18:26:20 +00:00
srowen
0b0a7cf3b7
Issue 1146 add custom colors
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2169 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-07 11:11:10 +00:00
srowen
2fa4bb5a5d
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2145 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-04 10:57:38 +00:00
srowen
339efaf7bb
[maven-release-plugin] prepare release javase-2.0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2143 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-02-04 10:57:25 +00:00
srowen
7eb68cb75a
Use RGB not ARGB so that ImageIO can write more image formats
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2105 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-07 05:19:57 +00:00
srowen
5ef08d7719
More pom changes - may need later plugin versions to proceed
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2073 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-09 11:55:42 +00:00
srowen
130dc89beb
Few more pom fixes for new OSS config
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2072 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-09 10:47:11 +00:00
srowen
6796e12bff
pom changes I believe are necessary to get this into oss.sonatype.org correctly
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2071 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-08 17:23:11 +00:00
srowen
be03860ec9
Typo fix - mixed up x/y!
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2037 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-16 10:00:28 +00:00
srowen
f5df4e5adc
Issue 1059 treat transparent areas as white
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2028 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-12 11:05:00 +00:00
srowen
db60385d7d
Update all Java code to use Java 6
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@2002 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-11-02 11:16:30 +00:00
srowen
92b240a5c1
Issue 1021 command line encoder
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1990 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-22 17:07:57 +00:00
srowen
bfbcf2b796
Use new translate v2 API; v1 is deprecated and we should probably not have been encouraging people to access it automatically as it was apparently quite abused. v2 is for-pay; bring your own key. But, no more rate limiting.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1977 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-18 10:04:57 +00:00
srowen
b5be6c68cf
Issue 1006 touch up pom.xml files and add new contributed one for android-integration
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1950 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-06 16:43:20 +00:00
srowen
d0c59c4c16
Issue 727 contributed initial Maxicode support
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1949 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-10-04 10:12:55 +00:00
srowen
eda536772b
More small static analysis stuff
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1945 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-28 18:27:53 +00:00
srowen
303ed2e6a0
A pile of changes from proper static analysis for nullability issues, with full annotations.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1937 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-26 19:09:45 +00:00
srowen
4add23c286
Issue 987 chop down most of the wi-fi functionality so that it triggers the network change and moves on; seems much less fragile in the face of Android device strangeness
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1929 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-24 15:46:17 +00:00
srowen
a0f08df51e
Japanese language strings better as "values-ja", and other small translator tweaks
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1914 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-17 16:23:36 +00:00
srowen
ea218233b9
Improvements to string translation
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1910 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-16 20:35:28 +00:00
srowen
20a8a3a29f
Fix Issue 978, bad Brazil/Bulgaria mapping. Also add a new framework for auto-translating HTML assets.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1905 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-12 17:30:21 +00:00
srowen
a866e832c9
Fix problem in translator with %s strings; restore deleted string
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1829 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-21 09:24:00 +00:00
srowen
7ac5c29d97
Issue 869, handle ImageIO.write() failure per user suggestion
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1823 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-14 18:37:57 +00:00
srowen
df65c5b83e
A bunch of code style related changes
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1795 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-21 03:36:39 +00:00
dswitkin@google.com
11d348a59f
Cleaned up a bunch of TODOs and deleted the old ImageConverter app which has been supplanted by CommandLineRunner.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1778 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-17 20:13:20 +00:00
dswitkin@google.com
8ff9e7f4fa
Standardized the naming of our barcode formats and alphabetized them.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1775 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-17 15:46:09 +00:00
dswitkin@google.com
45bebd195c
Added RSS_EXPANDED to the CommandLineRunner.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1774 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-17 15:27:27 +00:00
srowen
b02b2b55b7
Chopped up into several classes, made into beans, etc for a bit of clarity
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1760 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-08 14:48:34 +00:00
dswitkin@google.com
a48dbeab11
Made recursive behavior optional, and caused hidden directories to always be skipped.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1757 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-04 15:17:10 +00:00
dswitkin@google.com
b21e0a935d
Made the CommandLineRunner optionally multithreaded and added a less verbose option. This change also allows summaries to be printed over multiple arguments, not just one directory, and adds recursive directory traversal.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1756 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-03 18:51:50 +00:00
dswitkin@google.com
abe6cdc573
Refactored the CommandLineRunner a bit.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1755 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-03 15:33:42 +00:00
srowen
6f62deca64
Issue 693 add --multi. Committed for drejc83
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1708 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-01-20 10:55:13 +00:00
srowen
2cd75045fd
Issue 677, faster grayscale conversion from Wolfgang
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1697 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-01-07 17:16:33 +00:00
srowen
99d09e0a44
Style stuff mostly but fix a problem between Aztec and J2ME too
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1681 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-12-15 14:42:17 +00:00
srowen
c4dede3689
Style changes to Aztec, enable in web app and command line
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1669 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-21 20:47:00 +00:00
srowen
5108924d05
Use includeantruntime=false to avoid Ant 1.8 warning
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1631 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-25 21:03:11 +00:00
srowen
2874ed0988
Overhaul 'extractPureBits' implementations and standardize. Improve by looking for bottom-right black pixel. Fix PDF417 pure barcode mode along the way.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1628 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-23 19:14:03 +00:00
srowen
f1bee324b4
Morgan's cosmetic improvement to a translation, and equivalent for other translations we dare touch
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1606 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-27 21:51:10 +00:00
dswitkin@google.com
226bf1a1a6
Added rounding code to getRow() as well and updated the tests accordingly.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1564 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-26 14:06:44 +00:00
smparkes@smparkes.net
4836a3e28c
Issue 494 round luminance values rather than truncate
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1558 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-25 15:54:19 +00:00
smparkes@smparkes.net
dd1336d0cf
Tweak svn/git ignores
...
Add OS X libzxing.a project
Include a copy of scons-local for cpp
git-svn-id: https://zxing.googlecode.com/svn/trunk@1549 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-20 00:41:26 +00:00
dswitkin@google.com
2cb4f5f82b
Issue 495: Renamed DATAMATRIX to DATA_MATRIX for consistency.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1508 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-08-05 15:22:30 +00:00
flyashi
99ca70d7f3
Java CommandLineRunner: print result points
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1496 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-07-29 18:54:36 +00:00
srowen
02f090dd34
Add auto-translation tool to help update strings with Google Translate. Let it reorder (but not change) existing translations alphabetically by key. Add bulk-scan strings along the way as a test.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1442 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-17 10:55:00 +00:00
srowen
492492b591
Update Codabar style and disable it as its causing too many false positives
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1403 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-31 12:49:29 +00:00
bas5winkel@gmail.com
73635c7585
Added support for codabar format
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1400 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-31 12:20:50 +00:00
srowen
05e8181ef5
Add Code 93 support. Update tests to reflect new (better) number of successes.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1398 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-30 14:37:08 +00:00
srowen
e51dbb3c53
Use RSS14 on the command line; scan more lines since RSS14 stacked kind of needs this; fix VerifyError when RSS14 is enabled on Android
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1311 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-19 09:23:43 +00:00
srowen
634273cfdb
Use jar packaging
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1287 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 19:58:40 +00:00
srowen
be71fb0613
Back up and restore poms to prerelease state
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1285 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 12:38:26 +00:00
srowen
26a63fc183
Add --crop=left,top,width,height arg
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1269 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-31 18:22:32 +00:00
srowen
7410fd3082
Issue 361
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1268 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-30 22:53:34 +00:00
srowen
ae635078cb
"Unfix" previous fix -- account for odd ByteMatrix representation by flipping black and white to make result correct
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1246 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-19 12:17:29 +00:00
srowen
813f4070bf
For better handling of some formats, perform rotation with help of Graphics2D
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1240 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-05 11:08:53 +00:00
srowen
aa8ad02e16
Add pure barcode support to web app and command line
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1228 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-01 12:09:43 +00:00
srowen
508697a318
Related to Issue 205, but not the direct issue: read both copies of the format info and use both in determining the right one. This avoids a close, but incorrect first match throwing off the decoding. Also fix creating an image from ByteMatrix -- was inverted
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1226 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-01 11:04:22 +00:00
srowen
5ef5f3b02d
"Split" ReaderException into subclasses to enable more useful error reporting
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1195 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-02 08:23:46 +00:00
dswitkin
5cc1df3c92
Finished work on the local binarizer and renamed it to HybridBinarizer. It uses the old histogram for 1D and the new approach for 2D. The unit tests don't fully demonstrate how much better this is in real-world lighting, but it pretty much solves the situation of pointing at a QR Code for 30 seconds without scanning, due to a shadow or gradient.
...
HybridBinarizer is now the default across all the fast clients and the unit tests.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1157 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 21:08:57 +00:00
dswitkin
fde805cc02
Added a --products_only flag to the CommandLineRunner.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1156 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 17:19:27 +00:00
dswitkin
8ba08bb916
Added the ability to track who is throwing exceptions and how often in the core library. Uncomment to enable it.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1155 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 17:10:02 +00:00
srowen
b710e257eb
More fixes, to cropping BufferedImages
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1109 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-13 10:46:04 +00:00
srowen
a853429282
Fix a typo and add better javadoc
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1096 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-03 14:39:07 +00:00
srowen
2cc7a2c8fa
Oops, rendering based on ByteMatrix was reversed, white on black (Issue 265)
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1095 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-03 13:43:53 +00:00
srowen
967afc8e64
Fix scanline stride issue
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1079 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-20 17:41:23 +00:00
srowen
7d0acf8bd9
Tiny changes to System.err usage, closed a stream, saved a reused Pattern
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1064 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-26 13:25:37 +00:00
srowen
0bf2c2a66e
Boneheaded mistake: was writing transparent pixels
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1032 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-04 21:59:24 +00:00
srowen
6dbf893cb0
Add MatrixToImageWriter convenience class, small code tweaks in javase/, make ByteMatrix width/height property getters names standard
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1028 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-30 08:58:57 +00:00
dswitkin
c3e5f1fcfd
Modified the CommandLineRunner to use all available decoders, even the ones which aren't considered production quality yet.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1000 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-26 20:03:10 +00:00
dswitkin
167197ec7a
Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build.
...
This change will allow new thresholding algorithms to be developed and tested, as well as implemented per platform if needed (e.g. in JNI on Android). It should also perform better when multiple 2D Readers are installed, because the underlying image will only be converted to 1 bit once. It also allows some platforms to return luminance data without a copy.
The current state of this checkin is to use the old black point algorithm, which now lives in GlobalHistogramBinarizer. This will be our benchmark and fallback for slower platforms. Going forward we will begin to use LocalBlockBinarizer as I shake out the edge cases and tune it for performance. Currently it is unused.
IMPORTANT: I have temporarily included three methods from MonochromeBitmapSource at the end of BinaryBitmap as a way to make this change in stages. They are deprecated and will be removed soon. All of the Reader classes will need to change the way they examine 1 bit pixels to use the new getBlackRow() and getBlackMatrix() calls.
git-svn-id: https://zxing.googlecode.com/svn/trunk@993 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-26 17:49:45 +00:00
dswitkin
da4f56b022
Fixed some code which was ignoring the result of MonochromeBitmapSource calls, which may work in some cases but isn't legal and failed and in some experiments.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@986 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-25 19:46:49 +00:00
dswitkin
1da9bd60b3
Added a new blackbox test with extreme shadows and highlights. We do pretty poorly on this, but I've been experimenting with local thresholding algorithms which are a night and day improvement.
...
Also made the ImageConverter app ignore some kinds of files.
git-svn-id: https://zxing.googlecode.com/svn/trunk@969 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-16 18:47:34 +00:00
dswitkin
0fe2f0365f
Wrote a usage message for the CommandLineRunner.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@962 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-28 18:59:11 +00:00
dswitkin
70eab118c1
You can now dump the black point for URLs to the pwd.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@954 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-26 18:12:22 +00:00
dswitkin
0a4e715ae4
Extended the command line tool to dump the results of black point calculation. You can now use the flag --dump_black_point to generate a PNG which contains the original image, the row scanning monochrome version, and the 2D scanning monochrome version side by side. It will be saved as originalfilename.mono.png.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@953 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-26 16:39:00 +00:00
dswitkin
e19e9a83f6
I moved a chunk of the histogram/black point code out of BaseMonochromeBitmapSource and into BlackPointEstimator which makes a lot more sense. Unfortunately I had to expose three new methods and touch a bunch of files. But I did manage to reuse an array on subsequent calls, which was being allocated on every row scanned, so that might be a bit faster. It will also be easier to convert this code to JNI in the future if we want to, and/or do more advanced thresholding.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@945 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-21 19:56:25 +00:00
srowen
6d472ea18a
Removed deprecation of 'cropping' constructor -- in the end replacing it introduced some non-trivial performance hit, not worth it
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@938 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-11 21:42:07 +00:00
srowen
29d7d6443e
Issue 183: Adds support for detecting multiple barcodes, and simplifies ResultPoint abstraction
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@918 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-04-28 17:35:33 +00:00
dswitkin
c1bc060065
Changed the order of the BaseMonochromeBitmapSource constructor arguments to be width, height to match the rest of the codebase, and added two apparently missing methods to the J2ME subclass, although I can't test it.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@874 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-03-06 16:52:35 +00:00
srowen
f2a9165b7c
Refactored width/height values into superclass and enabled construction of RGBMonochromeBitmapSource from a Bitmap
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@846 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-09 21:25:45 +00:00
srowen
5efb6ef335
Separated rectangle detection from decoder for reuse
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@824 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-14 10:44:46 +00:00
srowen
9433c5955b
Add more unit tests for client.result, and more small code tweaks.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@809 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-30 15:31:25 +00:00
dswitkin
48480eba95
Fixed crash and bad parsing of an SMS with a question mark in the subject or message.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@794 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-19 15:00:20 +00:00
srowen
131cfe4c5c
More reckless refactoring and code style tweaks -- mostly adding braces around conditional/loops, and using @Override
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@784 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-11 23:34:49 +00:00
srowen
62d9959a3c
Remove my old email address from files. Might as well save spammers the trouble.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@706 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-15 00:07:25 +00:00
srowen
79d7b01e9e
Updated qrcode-2 with corrected output for some Japanese-language results. Also standardized on UTF-8 encoding for test result files and enabled --dump_results for single-file case.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@663 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-02 11:06:20 +00:00
dswitkin
952dc0ea77
Added a --dump_results flag to the J2SE client, which will create a text file of the contents of each file scanned. This is very useful for adding golden results for new blackbox images tests.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@657 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-31 17:57:31 +00:00
dswitkin
8671371c59
Did a big refactoring on the MonochromeBitmapSource. I removed all the caching luminance calls and converted them to getting luminance data on demand. This saved another 33,000 function calls per rejected scan, good for another 15 ms savings. I also moved the luminance calls to BaseMonochromeBitmapSource and made them protected, to indicate that the decoders shouldn't use them.
...
Overall the recent optimizations took one rejected scan from 307 to 135 ms, which is definitely noticeable.
WARNING: I am not able to build the Bug or J2ME clients, but I believe they are correct.
git-svn-id: https://zxing.googlecode.com/svn/trunk@656 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-30 18:44:10 +00:00
srowen
96f6428eea
Add column caching to MonochromeBitmapSources and use it to improve Data Matrix speed
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@631 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-22 08:43:56 +00:00
srowen
7e022edf66
Improved error message when file/URI is mistyped.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@598 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-04 10:12:17 +00:00
dswitkin
bacd1469af
- Fixed a crash when parsing a particular VCard with a blank entry.
...
- Trimmed whitespace around many fields to sanitize the results (this is very useful upstream, for example we hyphenate phone numbers on Android but can't tolerate extra whitespace).
- Fixed a bug with 1D result points when scanning upside down - they needed to be mirrored to draw correctly.
git-svn-id: https://zxing.googlecode.com/svn/trunk@592 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-29 18:45:00 +00:00
dswitkin
3a4d3e1ed2
Updated Alasdair's ImageConverter tool to take -row and -2d arguments to evaluate our black point estimators. Also converted the output format to png and added red lines when the dynamic range was insufficient to calculate a meaningful black point.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@551 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-06 17:53:12 +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
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