Commit graph

  • 0e6441475c Improved the command line test app to accept multiple arguments, a --try_harder flag, and to skip hidden files and text files. dswitkin 2008-04-21 14:43:32 +0000
  • a69a87e98d Replaced the smaller, resized EAN13-2 test images with the full-size originals. dswitkin 2008-04-19 18:38:52 +0000
  • 6b69e75db6 Replaced the smaller, resized EAN13-2 test images with the full-size originals. dswitkin 2008-04-19 18:38:52 +0000
  • df25fc1389 Separate out test-unit and test-blackbox targets for running different sorts of tests srowen 2008-04-18 17:03:04 +0000
  • 0f9da95f26 Separate out test-unit and test-blackbox targets for running different sorts of tests srowen 2008-04-18 17:03:04 +0000
  • 9eceb0593e 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. dswitkin 2008-04-18 15:51:39 +0000
  • 9a44dcb972 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. dswitkin 2008-04-18 15:51:39 +0000
  • a2662ebb40 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. dswitkin 2008-04-18 14:43:56 +0000
  • 04e35c02f0 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. dswitkin 2008-04-18 14:43:56 +0000
  • a816d5d9b1 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. dswitkin 2008-04-18 14:30:02 +0000
  • b5ddfd2254 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. dswitkin 2008-04-18 14:30:02 +0000
  • cd7c4d21ac 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. dswitkin 2008-04-17 20:09:17 +0000
  • ee1bee1123 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. dswitkin 2008-04-17 20:09:17 +0000
  • 989dc395f0 Added workaround for NoSuchMethodError on some Nokia JVMs with a superfluous abstract method (thanks Marnix) srowen 2008-04-16 00:38:54 +0000
  • 4452ae241c Added workaround for NoSuchMethodError on some Nokia JVMs with a superfluous abstract method (thanks Marnix) srowen 2008-04-16 00:38:54 +0000
  • aa5cdcb64b Fix Issue 50, not building on Windows, by adding some small workarounds for Windows paths in build files for Android srowen 2008-04-16 00:34:13 +0000
  • e836445174 Fix Issue 50, not building on Windows, by adding some small workarounds for Windows paths in build files for Android srowen 2008-04-16 00:34:13 +0000
  • d2a240220c Small simplification of build file condition properties using else attribute srowen 2008-04-16 00:27:36 +0000
  • 9a0d27c33e Small simplification of build file condition properties using else attribute srowen 2008-04-16 00:27:36 +0000
  • 5c496574a3 A couple small improvements to the CameraManager. dswitkin 2008-04-15 22:34:49 +0000
  • d0833f4780 A couple small improvements to the CameraManager. dswitkin 2008-04-15 22:34:49 +0000
  • 66ae9f7ed4 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. dswitkin 2008-04-11 21:16:08 +0000
  • feef16672d 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. dswitkin 2008-04-11 21:16:08 +0000
  • 4c10031a67 Made the worker threads shut down synchronously to fix a race condition where the CameraManager could close the camera driver too soon. dswitkin 2008-04-11 20:25:09 +0000
  • eb9a064544 Made the worker threads shut down synchronously to fix a race condition where the CameraManager could close the camera driver too soon. dswitkin 2008-04-11 20:25:09 +0000
  • e14defda5f 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. dswitkin 2008-04-11 19:30:54 +0000
  • 44dbaff150 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. dswitkin 2008-04-11 19:30:54 +0000
  • 0b7bface5b Made sure the BitmapSource subclasses do not reuse a BitArray which is too small. dswitkin 2008-04-10 20:57:37 +0000
  • 7b70b32b61 Made sure the BitmapSource subclasses do not reuse a BitArray which is too small. dswitkin 2008-04-10 20:57:37 +0000
  • ae54d7a937 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. dswitkin 2008-04-10 20:26:42 +0000
  • c491839281 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. dswitkin 2008-04-10 20:26:42 +0000
  • d9fc77b9e2 Improved the CameraThread state machine, and fixed a bug where preview would not continue after capture. dswitkin 2008-04-08 16:06:13 +0000
  • 2d59260d8b Improved the CameraThread state machine, and fixed a bug where preview would not continue after capture. dswitkin 2008-04-08 16:06:13 +0000
  • e9ed806d30 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. dswitkin 2008-04-08 15:25:13 +0000
  • 26f09dccd5 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. dswitkin 2008-04-08 15:25:13 +0000
  • 1c9b906442 Workaround for codes that fail to include (required) final TERMINATOR mode indicator srowen 2008-04-07 22:05:40 +0000
  • 8bc57a673d Workaround for codes that fail to include (required) final TERMINATOR mode indicator srowen 2008-04-07 22:05:40 +0000
  • 19dbe047fd Oops, off-by-one bug fix, and some more comments srowen 2008-04-07 20:32:17 +0000
  • 9559d509ad Oops, off-by-one bug fix, and some more comments srowen 2008-04-07 20:32:17 +0000
  • 5659a711a2 Can now instantiate this to represent a region of a BufferedImage rather than the whole thing. srowen 2008-04-07 20:05:11 +0000
  • 7e07582dec Can now instantiate this to represent a region of a BufferedImage rather than the whole thing. srowen 2008-04-07 20:05:11 +0000
  • a5b385e764 Standardize array initializer syntax to use the form without "new type[]", to be consistent and make translation to C++ easier srowen 2008-04-07 19:42:35 +0000
  • 30e59ce85f Standardize array initializer syntax to use the form without "new type[]", to be consistent and make translation to C++ easier srowen 2008-04-07 19:42:35 +0000
  • 9c1b4a1393 Make two methods public for easier reuse by third-party implementaitons srowen 2008-04-04 16:34:42 +0000
  • b53df4912e Make two methods public for easier reuse by third-party implementaitons srowen 2008-04-04 16:34:42 +0000
  • 32d92ca3a9 Forward-porting Daniel's fix srowen 2008-04-03 22:43:56 +0000
  • 767dfca345 Forward-porting Daniel's fix srowen 2008-04-03 22:43:56 +0000
  • 5f25bd00a3 Moved the "geo:" fix to the 'right' place srowen 2008-04-03 22:18:16 +0000
  • 8707cce9e9 Moved the "geo:" fix to the 'right' place srowen 2008-04-03 22:18:16 +0000
  • 6f4417346c 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. dswitkin 2008-04-03 21:13:50 +0000
  • a2eb9588fb 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. dswitkin 2008-04-03 21:13:50 +0000
  • 87da7e9226 small typo fix. mschulkind 2008-04-03 20:34:30 +0000
  • 99beb2e8c3 small typo fix. mschulkind 2008-04-03 20:34:30 +0000
  • d1d7e96238 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. srowen 2008-04-03 16:39:44 +0000
  • 83ef405b76 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. srowen 2008-04-03 16:39:44 +0000
  • 28ea8e02f0 Parsing wasn't correctly ignoring the ':' in prefix! srowen 2008-04-03 16:12:08 +0000
  • 5c905af15c Parsing wasn't correctly ignoring the ':' in prefix! srowen 2008-04-03 16:12:08 +0000
  • 0e7872020c Another fix to ensure that 2 barcodes with the same info are counted separately. srowen 2008-04-03 15:39:06 +0000
  • 52dca915dc Another fix to ensure that 2 barcodes with the same info are counted separately. srowen 2008-04-03 15:39:06 +0000
  • 01075819c5 "Skip 0 barcodes" was incorrectly not returning the first barcode found srowen 2008-04-02 14:03:02 +0000
  • e6177c786f "Skip 0 barcodes" was incorrectly not returning the first barcode found srowen 2008-04-02 14:03:02 +0000
  • 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 srowen 2008-04-02 13:40:29 +0000
  • 0da6fa238b 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 srowen 2008-04-02 13:40:29 +0000
  • 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. dswitkin 2008-04-01 21:23:14 +0000
  • 783c330e19 Fixed the result points for 1D decoding so that we once again get a green line in the Android client across the successful row. dswitkin 2008-04-01 21:23:14 +0000
  • 0e2defcf66 Added latency measurement in milliseconds to the Android client. dswitkin 2008-04-01 19:23:05 +0000
  • e4e24d2285 Added latency measurement in milliseconds to the Android client. dswitkin 2008-04-01 19:23:05 +0000
  • 410b5b4e92 Improved the statistics reporting for the CommandLineRunner. dswitkin 2008-04-01 18:30:38 +0000
  • 5a513d859b Improved the statistics reporting for the CommandLineRunner. dswitkin 2008-04-01 18:30:38 +0000
  • 14a200b546 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. dswitkin 2008-04-01 16:11:36 +0000
  • 969db4c93a 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. dswitkin 2008-04-01 16:11:36 +0000
  • 4b0927626f Changed the project names for the two Android clients to disambiguate them. dswitkin 2008-03-31 20:55:38 +0000
  • 76662a3666 Changed the project names for the two Android clients to disambiguate them. dswitkin 2008-03-31 20:55:38 +0000
  • 11fc234d76 Completed basic support for NFC / NDEF formats applicable to 2D barcodes. Not yet enabled. srowen 2008-03-31 20:51:24 +0000
  • fce991e61d Completed basic support for NFC / NDEF formats applicable to 2D barcodes. Not yet enabled. srowen 2008-03-31 20:51:24 +0000
  • 87f79c076c Removed @Override from Tom's code, which gave errors in 1.5 because they referred to an interface instead of a base class. dswitkin 2008-03-31 19:49:08 +0000
  • 33395e67c1 Removed @Override from Tom's code, which gave errors in 1.5 because they referred to an interface instead of a base class. dswitkin 2008-03-31 19:49:08 +0000
  • 93db610970 Made the RGB to luminance approximation/optimization a little faster -- one less shift srowen 2008-03-31 19:04:38 +0000
  • bcdd87c32f Made the RGB to luminance approximation/optimization a little faster -- one less shift srowen 2008-03-31 19:04:38 +0000
  • 5cfa58629c Tiny improvement -- 'clean' target should remove generated javadoc srowen 2008-03-28 17:04:48 +0000
  • 82b421ec3d Tiny improvement -- 'clean' target should remove generated javadoc srowen 2008-03-28 17:04:48 +0000
  • 352cd6c981 Updates for 0.6; set aside a different android-m3-home variable for android-m3 build srowen 2008-03-28 16:57:55 +0000
  • f7994ba402 Updates for 0.6; set aside a different android-m3-home variable for android-m3 build srowen 2008-03-28 16:57:55 +0000
  • 10ce9dde67 Updates to build on M5 srowen 2008-03-28 16:54:29 +0000
  • 93d4478a8b Updates to build on M5 srowen 2008-03-28 16:54:29 +0000
  • 0198f58150 Branching the current Android client into an M3 directory so we can proceed with M5 development. dswitkin 2008-03-28 15:25:18 +0000
  • e75cad4f7f Branching the current Android client into an M3 directory so we can proceed with M5 development. dswitkin 2008-03-28 15:25:18 +0000
  • 683a78256d Improved bounds-checking and point-nudging logic in GridSampler. We should check more than endpoints. srowen 2008-03-26 17:01:13 +0000
  • 202cee9507 Improved bounds-checking and point-nudging logic in GridSampler. We should check more than endpoints. srowen 2008-03-26 17:01:13 +0000
  • 4473c00147 Restored a corrected Reed-Solomon optimization and fixed a small issue in black box test cases srowen 2008-03-26 16:22:02 +0000
  • abe8c7ce99 Restored a corrected Reed-Solomon optimization and fixed a small issue in black box test cases srowen 2008-03-26 16:22:02 +0000
  • c465263306 A few refactorings in anticipation of more formats that needs some common functionality srowen 2008-03-26 14:46:57 +0000
  • fcfefc2d55 A few refactorings in anticipation of more formats that needs some common functionality srowen 2008-03-26 14:46:57 +0000
  • e97b55f884 Removed old YUV-based implementation srowen 2008-03-26 14:43:42 +0000
  • 0ad8c16b48 Removed old YUV-based implementation srowen 2008-03-26 14:43:42 +0000
  • 7de539a67c biasTowardsWhite was, embarassingly, not accomplishing anything mathematically. It proved to not have much value so has been removed, to simplify the code. srowen 2008-03-26 14:42:33 +0000
  • 3952301b02 biasTowardsWhite was, embarassingly, not accomplishing anything mathematically. It proved to not have much value so has been removed, to simplify the code. srowen 2008-03-26 14:42:33 +0000
  • 5f1428308d Undo optimization that seems to not be correct in all cases -- will have to evaluate again later srowen 2008-03-26 14:13:14 +0000
  • 8df6cb4466 Undo optimization that seems to not be correct in all cases -- will have to evaluate again later srowen 2008-03-26 14:13:14 +0000
  • c32827af04 More aggressive inlining, to inline some key methods like BitArray.get(), resulting in significant performance boost srowen 2008-03-25 18:23:49 +0000