|
|||||||
| Register | FAQ | XDA-Portal | XDA-Wiki | Device database | Donate! | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#21
|
||||
|
||||
|
I get the same error as nsa666 on my tilt (default rom)
|
| Sponsored Links |
|
#22
|
|||
|
|||
|
Quote:
Both of those are quite possible, just not desirable by default. On a slow phone, where we're trying 6 1D formats and QR Codes, we don't want to spend too much time. We were thinking of adding a "try harder" hint/mode that would tell it to try a longer search. The other note is that it will look around the vertical middle of the image for a barcode but not search too far outside that range. So you should try to center the barcode in the capture. Again that could be changed or expanded in a "try harder" mode. You can toss images against the decoder library here: http://zxing.org/w/decode.jspx The original image won't decode but it will if you flip it 90 degrees clockwise. |
|
#23
|
|||
|
|||
|
to srowen:
I have actually slightly modified the recognition code to search both horizontally and vertically, though only "left to right" in both cases. So the photo with the "green cd case" I've uploaded does get recognized. Have you tried it and it failed? hypest
__________________
HTC TyTN II Please consider donating for Barcorama[Pet project] Log your purchases with costpad.com. See statistics, share prices and more
|
|
#24
|
|||
|
|||
|
Quote:
This observation was certainly good! I've made some adjustments and I've uploaded (yet another build) in #1 post - the "nonewdir" one. Perhaps you want to try that also... hypest
__________________
HTC TyTN II Please consider donating for Barcorama[Pet project] Log your purchases with costpad.com. See statistics, share prices and more
|
|
#25
|
|||
|
|||
|
Great, new version works!
Now you can try to speed it up( for example settings for codetypes that should be recognized schould greatly improve the performance). If it was my programm i would extract the recognition in another thread(than the graphics) and make a progress bar or something, because it seems for some seconds that it hangs.
__________________
I suppose you have tried a soft reset?
|
|
#26
|
|||
|
|||
|
Quote:
Your recommendation about the separate thread is actually already in the version I'm working on ![]() hypest
__________________
HTC TyTN II Please consider donating for Barcorama[Pet project] Log your purchases with costpad.com. See statistics, share prices and more
|
|
#27
|
||||
|
||||
|
Sweet! After many, many, tries realizing it was on the wrong resolution or i was holding it the wrong way, it works!
...has anyone tried it with 2D barcodes? |
|
#28
|
|||
|
|||
|
Quote:
|
|
#29
|
|||
|
|||
|
Quote:
EAN13Reader will only look for EAN13, and should be blazingly fast by itself. MultiFormatOneDReader will look for all six supported 1D formats pretty efficiently. If you use the full MultiFormatReader then it's also looking for QR Codes (later, Data Matrix too) which you don't seem to want. But at least it tries 1D formats first, so, you're only incurring that overhead when a 1D format is not recognized. |
|
#30
|
|||
|
|||
|
Please, find in the #1 post a newer version, implementing new (micro)features and incorporating the fixes from the "remoting debugging" sessions I had here with fellow posters! This is a more user-friendly version as it bypasses the second "ok" to close the camera application, and uses backgound threads for the main jobs.
to srowen: I have already spotted the decoder-selection functionality, and also have noticed the oftenly quick response of the EAN13 decoder. I hope I will quickly make progress in the basic application functionality so I can dive into the zxing code. I'm particularily interested in experimenting with the image preprocessing. have fun, hypest
__________________
HTC TyTN II Please consider donating for Barcorama[Pet project] Log your purchases with costpad.com. See statistics, share prices and more
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|