dswitkin [Thu, 19 Jun 2008 15:51:04 +0000 (15:51 +0000)]
Trying to add image 26 back to the false positives unit test.
git-svn-id: http://zxing.googlecode.com/svn/trunk@449
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Thu, 19 Jun 2008 15:49:51 +0000 (15:49 +0000)]
Deleting image 26 which somehow arrived at the server with a length of zero bytes.
git-svn-id: http://zxing.googlecode.com/svn/trunk@448
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Thu, 19 Jun 2008 15:46:39 +0000 (15:46 +0000)]
Fixed the build.
git-svn-id: http://zxing.googlecode.com/svn/trunk@447
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
christian.brunschen [Thu, 19 Jun 2008 15:37:19 +0000 (15:37 +0000)]
added a default image to show while the application starts
git-svn-id: http://zxing.googlecode.com/svn/trunk@446
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
christian.brunschen [Thu, 19 Jun 2008 14:02:47 +0000 (14:02 +0000)]
Removed redundant RotatingNavigationController class
git-svn-id: http://zxing.googlecode.com/svn/trunk@445
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
christian.brunschen [Thu, 19 Jun 2008 08:52:37 +0000 (08:52 +0000)]
First version of the iphone client that actually works, for at least a subset
of the intended functionality.
git-svn-id: http://zxing.googlecode.com/svn/trunk@444
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 19 Jun 2008 01:37:49 +0000 (01:37 +0000)]
Added, at least, parsing of ECI mode in QR Code
git-svn-id: http://zxing.googlecode.com/svn/trunk@443
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 18 Jun 2008 22:52:45 +0000 (22:52 +0000)]
Simple check in Code 39 reader to determine wide bars vary in width a lot, to cut out most false positives
git-svn-id: http://zxing.googlecode.com/svn/trunk@442
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 18 Jun 2008 22:12:59 +0000 (22:12 +0000)]
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: http://zxing.googlecode.com/svn/trunk@441
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 18 Jun 2008 21:56:30 +0000 (21:56 +0000)]
Fix pretty clear bug on Code 128 and 39 readers: reject empty barcodes as a false positive.
git-svn-id: http://zxing.googlecode.com/svn/trunk@440
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 18 Jun 2008 21:44:09 +0000 (21:44 +0000)]
Make optimization of core.jar as a library more conservative -- no shrinking, obfuscation
git-svn-id: http://zxing.googlecode.com/svn/trunk@439
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 18 Jun 2008 17:56:29 +0000 (17:56 +0000)]
Added raw bytes to human readable output of zxing.org decoder
git-svn-id: http://zxing.googlecode.com/svn/trunk@438
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 18 Jun 2008 17:40:14 +0000 (17:40 +0000)]
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: http://zxing.googlecode.com/svn/trunk@437
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 17 Jun 2008 18:35:16 +0000 (18:35 +0000)]
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: http://zxing.googlecode.com/svn/trunk@436
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 16 Jun 2008 18:25:56 +0000 (18:25 +0000)]
Add support for core.jar as OSGi bundle, component in BugLabs's BUG platform
git-svn-id: http://zxing.googlecode.com/svn/trunk@435
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 16 Jun 2008 17:32:16 +0000 (17:32 +0000)]
Make sure to clean up generated web.xml with password!
git-svn-id: http://zxing.googlecode.com/svn/trunk@434
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 16 Jun 2008 16:42:29 +0000 (16:42 +0000)]
Update with notes for 0.8
git-svn-id: http://zxing.googlecode.com/svn/trunk@433
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 16 Jun 2008 16:29:48 +0000 (16:29 +0000)]
Final updates to use local test images rather than remote
git-svn-id: http://zxing.googlecode.com/svn/trunk@432
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 16 Jun 2008 16:13:12 +0000 (16:13 +0000)]
More updates to use local test images rather than remote
git-svn-id: http://zxing.googlecode.com/svn/trunk@431
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 16 Jun 2008 16:00:51 +0000 (16:00 +0000)]
First set of updates to use local test images rather than remote
git-svn-id: http://zxing.googlecode.com/svn/trunk@430
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 13 Jun 2008 12:15:49 +0000 (12:15 +0000)]
Minor style tweaks
git-svn-id: http://zxing.googlecode.com/svn/trunk@428
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 12 Jun 2008 17:11:07 +0000 (17:11 +0000)]
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: http://zxing.googlecode.com/svn/trunk@427
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 12 Jun 2008 16:30:01 +0000 (16:30 +0000)]
Remove compile-time reference to DataMatrixReader
git-svn-id: http://zxing.googlecode.com/svn/trunk@426
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 12 Jun 2008 16:29:04 +0000 (16:29 +0000)]
Made this more like RGBMonochromBitmapSource, caching a row instead of the whole image
git-svn-id: http://zxing.googlecode.com/svn/trunk@425
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 12 Jun 2008 15:57:07 +0000 (15:57 +0000)]
Updated for 0.8, remove references to android-m3
git-svn-id: http://zxing.googlecode.com/svn/trunk@424
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 12 Jun 2008 15:55:42 +0000 (15:55 +0000)]
Added build-optimized target to produce optimized core.jar; tests now test optimized version; also removed the dependency from core to MIDP 2.0 as it was just depending on silly IllegalStateException
git-svn-id: http://zxing.googlecode.com/svn/trunk@423
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 12 Jun 2008 15:17:53 +0000 (15:17 +0000)]
Now use integer math in patternMatchVariance for performance, plus a few other similar style and speed tweaks
git-svn-id: http://zxing.googlecode.com/svn/trunk@422
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 12 Jun 2008 12:52:18 +0000 (12:52 +0000)]
Oops one more style change
git-svn-id: http://zxing.googlecode.com/svn/trunk@421
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 12 Jun 2008 12:51:26 +0000 (12:51 +0000)]
Small tweaks on top of Daniel's excellent refactoring
git-svn-id: http://zxing.googlecode.com/svn/trunk@420
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Wed, 11 Jun 2008 23:58:04 +0000 (23:58 +0000)]
Missed one place that needs to cache the luminance data.
git-svn-id: http://zxing.googlecode.com/svn/trunk@419
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Wed, 11 Jun 2008 23:52:35 +0000 (23:52 +0000)]
Refactored the MonochromeBitmapSource hierarchy to share a great deal of code and shrink the derived classes considerably.
git-svn-id: http://zxing.googlecode.com/svn/trunk@418
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 11 Jun 2008 19:59:38 +0000 (19:59 +0000)]
Fix bad logic black point estimator, improving threshold estimation performance (and adjust some == to .equals())
git-svn-id: http://zxing.googlecode.com/svn/trunk@417
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 11 Jun 2008 19:30:57 +0000 (19:30 +0000)]
Unify UPC-A reader into EAN-13 reader since EAN-13 is a superset and we can take advantage of the commonality to improve performance.
git-svn-id: http://zxing.googlecode.com/svn/trunk@416
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 11 Jun 2008 18:12:41 +0000 (18:12 +0000)]
Add sharpening filter to this implementation too
git-svn-id: http://zxing.googlecode.com/svn/trunk@415
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 11 Jun 2008 13:26:05 +0000 (13:26 +0000)]
A few more cleanups while I'm at it in GUIRunner
git-svn-id: http://zxing.googlecode.com/svn/trunk@414
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 11 Jun 2008 13:21:02 +0000 (13:21 +0000)]
Fixed a tiny deprecation warning
git-svn-id: http://zxing.googlecode.com/svn/trunk@413
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 11 Jun 2008 12:51:38 +0000 (12:51 +0000)]
Removing android-m3 since it is no longer in active development (but we have it in SVN of course)
git-svn-id: http://zxing.googlecode.com/svn/trunk@412
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Wed, 11 Jun 2008 00:05:51 +0000 (00:05 +0000)]
- Added support for rotation in our blackbox test framework, and refactored the ways tests are created and run.
- Turned on 0 and 180 degree rotation for all 1D formats.
- Turned on 0, 90, 180, and 270 degree rotation for QR.
- Changed the 1D code to re-enable upside down scanning, with a dramatic improvement in barcodes found and fewer false positives.
git-svn-id: http://zxing.googlecode.com/svn/trunk@411
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Tue, 10 Jun 2008 19:44:47 +0000 (19:44 +0000)]
Tiny bug fix, need to deal with no query params case correctly
git-svn-id: http://zxing.googlecode.com/svn/trunk@410
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Tue, 27 May 2008 17:58:59 +0000 (17:58 +0000)]
git-svn-id: zxing.googlecode.com/svn/trunk@404
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Tue, 27 May 2008 17:51:46 +0000 (17:51 +0000)]
SnapshotThread now Runnable instead of a Thread, to dodge an odd override problem with stop() method
git-svn-id: http://zxing.googlecode.com/svn/trunk@403
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 23 May 2008 22:40:13 +0000 (22:40 +0000)]
Added SMSTO support, added subject/body param support in mailto:, improved handling of mailto: and tel: URIs
git-svn-id: http://zxing.googlecode.com/svn/trunk@402
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 23 May 2008 22:20:10 +0000 (22:20 +0000)]
Added handy toString() methods
git-svn-id: http://zxing.googlecode.com/svn/trunk@401
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Sun, 11 May 2008 18:01:23 +0000 (18:01 +0000)]
Improvements and refinements to web site
git-svn-id: http://zxing.googlecode.com/svn/trunk@397
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Sat, 10 May 2008 23:53:19 +0000 (23:53 +0000)]
A simple GUI interface -- still needs work
git-svn-id: http://zxing.googlecode.com/svn/trunk@396
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 8 May 2008 15:12:44 +0000 (15:12 +0000)]
Detector is now a little more skeptical once it has found 3 confirmed finder patterns -- one may be a false positive, so it also checks to see if the estimated module sizes are "pretty similar". If not, keeps looking.
git-svn-id: http://zxing.googlecode.com/svn/trunk@394
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 5 May 2008 18:12:19 +0000 (18:12 +0000)]
Updates for 0.7
git-svn-id: http://zxing.googlecode.com/svn/trunk@390
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 5 May 2008 18:05:00 +0000 (18:05 +0000)]
Update Analytics tag for javadoc too
git-svn-id: http://zxing.googlecode.com/svn/trunk@389
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 5 May 2008 17:56:47 +0000 (17:56 +0000)]
Fix some minor javadoc issues
git-svn-id: http://zxing.googlecode.com/svn/trunk@388
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 5 May 2008 17:54:15 +0000 (17:54 +0000)]
Oops, one more compile problem fixed. Also delete redundant copies of core and javase jars.
git-svn-id: http://zxing.googlecode.com/svn/trunk@387
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 5 May 2008 17:39:33 +0000 (17:39 +0000)]
Reformatted code, updated to new Analytics tags, fixed a problem with EmailAuthenticator
git-svn-id: http://zxing.googlecode.com/svn/trunk@386
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 5 May 2008 17:31:31 +0000 (17:31 +0000)]
Checking in somewhat ugly 'fix' for ArrayIndexOutOfBoundsException in rare cases
git-svn-id: http://zxing.googlecode.com/svn/trunk@385
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Sat, 3 May 2008 16:10:16 +0000 (16:10 +0000)]
Merged revisions 378,380,382 via svnmerge from
https://zxing.googlecode.com/svn/trunk/android-m3
........
r378 | dswitkin | 2008-04-28 21:27:27 -0400 (Mon, 28 Apr 2008) | 4 lines
- Added Joseph's excellent supermarket checkout beep. There seems to be a bug in the M3 framework where it sometimes plays twice or hiccups.
- Changed the status bar to flash green for a second when the result points are drawn.
- Added install as a target to the build file.
- Fixed a crashing bug when decoding from preview mode (driver problem).
........
r380 | srowen | 2008-05-02 14:39:03 -0400 (Fri, 02 May 2008) | 2 lines
Added preliminary support for MobileTag formats; not enabled yet.
Added "sms:" URI support.
........
r382 | srowen | 2008-05-02 15:18:14 -0400 (Fri, 02 May 2008) | 1 line
Many more little tweaks from IntelliJ inspections
........
git-svn-id: http://zxing.googlecode.com/svn/trunk@384
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 2 May 2008 22:18:38 +0000 (22:18 +0000)]
Added source code to zxing.org
git-svn-id: http://zxing.googlecode.com/svn/trunk@383
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 2 May 2008 19:18:14 +0000 (19:18 +0000)]
Many more little tweaks from IntelliJ inspections
git-svn-id: http://zxing.googlecode.com/svn/trunk@382
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 2 May 2008 18:41:05 +0000 (18:41 +0000)]
Fix typo introduced at the last second before commit. Watch that 'a' key!
git-svn-id: http://zxing.googlecode.com/svn/trunk@381
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 2 May 2008 18:39:03 +0000 (18:39 +0000)]
Added preliminary support for MobileTag formats; not enabled yet.
Added "sms:" URI support.
git-svn-id: http://zxing.googlecode.com/svn/trunk@380
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 29 Apr 2008 01:27:27 +0000 (01:27 +0000)]
- Added Joseph's excellent supermarket checkout beep. There seems to be a bug in the M3 framework where it sometimes plays twice or hiccups.
- Changed the status bar to flash green for a second when the result points are drawn.
- Added install as a target to the build file.
- Fixed a crashing bug when decoding from preview mode (driver problem).
git-svn-id: http://zxing.googlecode.com/svn/trunk@378
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 23 Apr 2008 14:38:43 +0000 (14:38 +0000)]
Remove experimental shell code for now
git-svn-id: http://zxing.googlecode.com/svn/trunk@377
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
christian.brunschen [Wed, 23 Apr 2008 13:05:17 +0000 (13:05 +0000)]
First version of iPhone skeleton app using official iPhone SDK.
Very much unpolished & a work in progress.
git-svn-id: http://zxing.googlecode.com/svn/trunk@376
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Mon, 21 Apr 2008 23:16:48 +0000 (23:16 +0000)]
Fixed a typo in the Android build file.
git-svn-id: http://zxing.googlecode.com/svn/trunk@375
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Mon, 21 Apr 2008 22:44:40 +0000 (22:44 +0000)]
Merged revisions 321,327,330,332,334,342-343,352-353,355-358,361-363,365,372 via svnmerge from
https://zxing.googlecode.com/svn/trunk/android-m3
........
r321 | srowen | 2008-03-28 09:57:55 -0700 (Fri, 28 Mar 2008) | 1 line
Updates for 0.6; set aside a different android-m3-home variable for android-m3 build
........
r327 | srowen | 2008-03-31 12:04:38 -0700 (Mon, 31 Mar 2008) | 1 line
Made the RGB to luminance approximation/optimization a little faster -- one less shift
........
r330 | dswitkin | 2008-03-31 13:55:38 -0700 (Mon, 31 Mar 2008) | 1 line
Changed the project names for the two Android clients to disambiguate them.
........
r332 | dswitkin | 2008-04-01 09:11:36 -0700 (Tue, 01 Apr 2008) | 1 line
Added some debugging features to the M3 Android client. You can now press 'C' to capture a photo, 'U' to decode only UPC/1D barcodes, and 'Q' to decode only QR Codes.
........
r334 | dswitkin | 2008-04-01 12:23:05 -0700 (Tue, 01 Apr 2008) | 1 line
Added latency measurement in milliseconds to the Android client.
........
r342 | dswitkin | 2008-04-03 14:13:50 -0700 (Thu, 03 Apr 2008) | 1 line
Improved the Android M3 viewfinder display, by making the framing box larger and zooming in. Also fixed a bug when restarting the activity where the camera params were stale. Fixed handling of geo and tel URIs.
........
r343 | srowen | 2008-04-03 15:18:16 -0700 (Thu, 03 Apr 2008) | 1 line
Moved the "geo:" fix to the 'right' place
........
r352 | dswitkin | 2008-04-08 08:25:13 -0700 (Tue, 08 Apr 2008) | 1 line
Rewrote the Android M3 client to do continuous decoding, which means you no longer have to push the shutter button. Now you can just place the barcode in the viewfinder and it will display the contents as soon as it decodes them. That also means you no longer get "barcode not found" error dialogs which is a big improvement. Also made sure that capturing debug JPEGs uses unique filenames.
........
r353 | dswitkin | 2008-04-08 09:06:13 -0700 (Tue, 08 Apr 2008) | 1 line
Improved the CameraThread state machine, and fixed a bug where preview would not continue after capture.
........
r355 | dswitkin | 2008-04-10 13:57:37 -0700 (Thu, 10 Apr 2008) | 1 line
Made sure the BitmapSource subclasses do not reuse a BitArray which is too small.
........
r356 | dswitkin | 2008-04-11 12:30:54 -0700 (Fri, 11 Apr 2008) | 1 line
Changed ProGuard settings so it will inline methods which use private members. This eliminates tens of thousands of function calls to BitArray.get() on a typical decode, and lots of other work as well. Overall we're roughly 20% faster by using ProGuard than turning it off.
........
r357 | dswitkin | 2008-04-11 13:25:09 -0700 (Fri, 11 Apr 2008) | 1 line
Made the worker threads shut down synchronously to fix a race condition where the CameraManager could close the camera driver too soon.
........
r358 | dswitkin | 2008-04-11 14:16:08 -0700 (Fri, 11 Apr 2008) | 1 line
Added 'T' as a shortcut to toggle debug method tracing using android.os.Debug and traceview for analysis. The traces are written to /sdcard, which means the SD Card must not be mounted as a volume by USB at the time. Tracing can slow down decoding by a factor of 5 or more but gives very useful insights into where the time is going.
........
r361 | dswitkin | 2008-04-15 15:34:49 -0700 (Tue, 15 Apr 2008) | 1 line
A couple small improvements to the CameraManager.
........
r362 | srowen | 2008-04-15 17:27:36 -0700 (Tue, 15 Apr 2008) | 1 line
Small simplification of build file condition properties using else attribute
........
r363 | srowen | 2008-04-15 17:34:13 -0700 (Tue, 15 Apr 2008) | 1 line
Fix Issue 50, not building on Windows, by adding some small workarounds for Windows paths in build files for Android
........
r365 | dswitkin | 2008-04-17 13:09:17 -0700 (Thu, 17 Apr 2008) | 1 line
Converted the Android client to use a status bar on the bottom of the screen instead of dialogs for a much better, less interrupting user experience.
........
r372 | dswitkin | 2008-04-21 11:11:02 -0700 (Mon, 21 Apr 2008) | 1 line
Added some simple sharpening for 1D decoding which allowed a couple more blackbox images to pass. There were a few cases where the format or content is now misdetected, but since the net gain was positive I decided to make those non-fatal errors. In real world use the sharpening seems to help, and I think we can do even better with a better algorithm.
........
git-svn-id: http://zxing.googlecode.com/svn/trunk@374
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Mon, 21 Apr 2008 19:58:44 +0000 (19:58 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-319" from
https://zxing.googlecode.com/svn/trunk/android-m3
git-svn-id: http://zxing.googlecode.com/svn/trunk@373
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Mon, 21 Apr 2008 18:11:02 +0000 (18:11 +0000)]
Added some simple sharpening for 1D decoding which allowed a couple more blackbox images to pass. There were a few cases where the format or content is now misdetected, but since the net gain was positive I decided to make those non-fatal errors. In real world use the sharpening seems to help, and I think we can do even better with a better algorithm.
git-svn-id: http://zxing.googlecode.com/svn/trunk@372
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Mon, 21 Apr 2008 14:43:32 +0000 (14:43 +0000)]
Improved the command line test app to accept multiple arguments, a --try_harder flag, and to skip hidden files and text files.
git-svn-id: http://zxing.googlecode.com/svn/trunk@371
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Sat, 19 Apr 2008 18:38:52 +0000 (18:38 +0000)]
Replaced the smaller, resized EAN13-2 test images with the full-size originals.
git-svn-id: http://zxing.googlecode.com/svn/trunk@370
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 18 Apr 2008 17:03:04 +0000 (17:03 +0000)]
Separate out test-unit and test-blackbox targets for running different sorts of tests
git-svn-id: http://zxing.googlecode.com/svn/trunk@369
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 18 Apr 2008 15:51:39 +0000 (15:51 +0000)]
Added a new test library of 16 blurry EAN-13 barcodes. Currently we cannot decode any of them. I'm checking these in as a baseline so we can evaluate various sharpening techniques.
git-svn-id: http://zxing.googlecode.com/svn/trunk@368
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 18 Apr 2008 14:43:56 +0000 (14:43 +0000)]
Changed the black box tests to require an absolute number of images to decode successfully, instead of a percentage, and set the high water mark for each test.
git-svn-id: http://zxing.googlecode.com/svn/trunk@367
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 18 Apr 2008 14:30:02 +0000 (14:30 +0000)]
Changed the parsing logic to refer to EAN-8 and EAN-13 as UPCs as well, so that the clients can recognize them as product barcodes and offer to do a product search.
git-svn-id: http://zxing.googlecode.com/svn/trunk@366
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Thu, 17 Apr 2008 20:09:17 +0000 (20:09 +0000)]
Converted the Android client to use a status bar on the bottom of the screen instead of dialogs for a much better, less interrupting user experience.
git-svn-id: http://zxing.googlecode.com/svn/trunk@365
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 16 Apr 2008 00:38:54 +0000 (00:38 +0000)]
Added workaround for NoSuchMethodError on some Nokia JVMs with a superfluous abstract method (thanks Marnix)
git-svn-id: http://zxing.googlecode.com/svn/trunk@364
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 16 Apr 2008 00:34:13 +0000 (00:34 +0000)]
Fix Issue 50, not building on Windows, by adding some small workarounds for Windows paths in build files for Android
git-svn-id: http://zxing.googlecode.com/svn/trunk@363
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 16 Apr 2008 00:27:36 +0000 (00:27 +0000)]
Small simplification of build file condition properties using else attribute
git-svn-id: http://zxing.googlecode.com/svn/trunk@362
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 15 Apr 2008 22:34:49 +0000 (22:34 +0000)]
A couple small improvements to the CameraManager.
git-svn-id: http://zxing.googlecode.com/svn/trunk@361
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 11 Apr 2008 21:16:08 +0000 (21:16 +0000)]
Added 'T' as a shortcut to toggle debug method tracing using android.os.Debug and traceview for analysis. The traces are written to /sdcard, which means the SD Card must not be mounted as a volume by USB at the time. Tracing can slow down decoding by a factor of 5 or more but gives very useful insights into where the time is going.
git-svn-id: http://zxing.googlecode.com/svn/trunk@358
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 11 Apr 2008 20:25:09 +0000 (20:25 +0000)]
Made the worker threads shut down synchronously to fix a race condition where the CameraManager could close the camera driver too soon.
git-svn-id: http://zxing.googlecode.com/svn/trunk@357
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Fri, 11 Apr 2008 19:30:54 +0000 (19:30 +0000)]
Changed ProGuard settings so it will inline methods which use private members. This eliminates tens of thousands of function calls to BitArray.get() on a typical decode, and lots of other work as well. Overall we're roughly 20% faster by using ProGuard than turning it off.
git-svn-id: http://zxing.googlecode.com/svn/trunk@356
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Thu, 10 Apr 2008 20:57:37 +0000 (20:57 +0000)]
Made sure the BitmapSource subclasses do not reuse a BitArray which is too small.
git-svn-id: http://zxing.googlecode.com/svn/trunk@355
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Thu, 10 Apr 2008 20:26:42 +0000 (20:26 +0000)]
Changed how many rows we scan while detecting QR finder patterns. The mobile case dynamically calculates this based on the height of the image, and ranges from a small speedup to a big difference for large inputs. Also changed the try harder case to scan every 3rd line for a 3x speedup. The unit tests have the same success rate as before: 16/20 on qr1, 10/10 on qr2.
git-svn-id: http://zxing.googlecode.com/svn/trunk@354
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 8 Apr 2008 16:06:13 +0000 (16:06 +0000)]
Improved the CameraThread state machine, and fixed a bug where preview would not continue after capture.
git-svn-id: http://zxing.googlecode.com/svn/trunk@353
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 8 Apr 2008 15:25:13 +0000 (15:25 +0000)]
Rewrote the Android M3 client to do continuous decoding, which means you no longer have to push the shutter button. Now you can just place the barcode in the viewfinder and it will display the contents as soon as it decodes them. That also means you no longer get "barcode not found" error dialogs which is a big improvement. Also made sure that capturing debug JPEGs uses unique filenames.
git-svn-id: http://zxing.googlecode.com/svn/trunk@352
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 7 Apr 2008 22:05:40 +0000 (22:05 +0000)]
Workaround for codes that fail to include (required) final TERMINATOR mode indicator
git-svn-id: http://zxing.googlecode.com/svn/trunk@351
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 7 Apr 2008 20:32:17 +0000 (20:32 +0000)]
Oops, off-by-one bug fix, and some more comments
git-svn-id: http://zxing.googlecode.com/svn/trunk@350
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 7 Apr 2008 20:05:11 +0000 (20:05 +0000)]
Can now instantiate this to represent a region of a BufferedImage rather than the whole thing.
git-svn-id: http://zxing.googlecode.com/svn/trunk@349
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Mon, 7 Apr 2008 19:42:35 +0000 (19:42 +0000)]
Standardize array initializer syntax to use the form without "new type[]", to be consistent and make translation to C++ easier
git-svn-id: http://zxing.googlecode.com/svn/trunk@348
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Fri, 4 Apr 2008 16:34:42 +0000 (16:34 +0000)]
Make two methods public for easier reuse by third-party implementaitons
git-svn-id: http://zxing.googlecode.com/svn/trunk@345
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 3 Apr 2008 22:43:56 +0000 (22:43 +0000)]
Forward-porting Daniel's fix
git-svn-id: http://zxing.googlecode.com/svn/trunk@344
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 3 Apr 2008 22:18:16 +0000 (22:18 +0000)]
Moved the "geo:" fix to the 'right' place
git-svn-id: http://zxing.googlecode.com/svn/trunk@343
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Thu, 3 Apr 2008 21:13:50 +0000 (21:13 +0000)]
Improved the Android M3 viewfinder display, by making the framing box larger and zooming in. Also fixed a bug when restarting the activity where the camera params were stale. Fixed handling of geo and tel URIs.
git-svn-id: http://zxing.googlecode.com/svn/trunk@342
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
mschulkind [Thu, 3 Apr 2008 20:34:30 +0000 (20:34 +0000)]
small typo fix.
git-svn-id: http://zxing.googlecode.com/svn/trunk@341
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 3 Apr 2008 16:39:44 +0000 (16:39 +0000)]
At last, removing SKIP_N_BARCODES and separating this logic out in a way that individual projects can implement it on their own. It's a bit too onerous and project-specific to live on in the main code.
git-svn-id: http://zxing.googlecode.com/svn/trunk@340
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 3 Apr 2008 16:12:08 +0000 (16:12 +0000)]
Parsing wasn't correctly ignoring the ':' in prefix!
git-svn-id: http://zxing.googlecode.com/svn/trunk@339
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Thu, 3 Apr 2008 15:39:06 +0000 (15:39 +0000)]
Another fix to ensure that 2 barcodes with the same info are counted separately.
git-svn-id: http://zxing.googlecode.com/svn/trunk@338
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 2 Apr 2008 14:03:02 +0000 (14:03 +0000)]
"Skip 0 barcodes" was incorrectly not returning the first barcode found
git-svn-id: http://zxing.googlecode.com/svn/trunk@337
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
srowen [Wed, 2 Apr 2008 13:40:29 +0000 (13:40 +0000)]
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: http://zxing.googlecode.com/svn/trunk@336
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 1 Apr 2008 21:23:14 +0000 (21:23 +0000)]
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: http://zxing.googlecode.com/svn/trunk@335
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 1 Apr 2008 19:23:05 +0000 (19:23 +0000)]
Added latency measurement in milliseconds to the Android client.
git-svn-id: http://zxing.googlecode.com/svn/trunk@334
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 1 Apr 2008 18:30:38 +0000 (18:30 +0000)]
Improved the statistics reporting for the CommandLineRunner.
git-svn-id: http://zxing.googlecode.com/svn/trunk@333
59b500cc-1b3d-0410-9834-
0bbf25fbcc57
dswitkin [Tue, 1 Apr 2008 16:11:36 +0000 (16:11 +0000)]
Added some debugging features to the M3 Android client. You can now press 'C' to capture a photo, 'U' to decode only UPC/1D barcodes, and 'Q' to decode only QR Codes.
git-svn-id: http://zxing.googlecode.com/svn/trunk@332
59b500cc-1b3d-0410-9834-
0bbf25fbcc57