yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III General] hypest:
I'm afraid you have too many expectations out of the command line interface of programs :)... What a target program does with the data passed is totally in its control. Barcorama has no control over the usage of the passed data. In your case, Barcorama seems to work perfectly.

That means that you will have to contact the OneNote support if it's supposed to paste the data somewhere but doesn't. I'm almost certain though that OneNote is not supposed to do that.

...hope I helped ;)
[Tilt, TyTN II, MDA Vario III General] vivek.krishnan:
Nice work, only it does not work on my Samsung i200, WM6.1. Any help?

It gives a StackOverflowError. Also it did not create the shortcut, had to launch the application manually...., I am using the 09h version.

Also installed QuickMark, however that also did not work, it just launches the application and shows a green screen, around the size of 176x144, presumabe the camera screen.

Guess will have to try the apps on my i780.
[Tilt, TyTN II, MDA Vario III General] hypest:
yes, please try it on the i780... the i200 is a WM Standard edition device and I think that Barcorama does not work on that...

i780 is WM Professional so it has higher probability to work :)
[Tilt, TyTN II, MDA Vario III General] LakisFM1:
Κερναω σαντουιτς στον DEVIDO !

:)

Greets from thessaloniki. Lakis.
[Tilt, TyTN II, MDA Vario III General] zacbr:
great! thx!
[Tilt, TyTN II, MDA Vario III General] hypest:
I've uploaded a new version (see #1 post) with some major features that speed up the casual usage (barcode type selection, recapturing before decoding).

There are quite a few changes in this release, so I hope I haven't broke anything. I also hope when breakage is found, you nice guys (and gals maybe?) will care to report it :)

thanks,

hypest
[Tilt, TyTN II, MDA Vario III General] sunglint:
probably just me, but...

Just D/Ld this, AT&T Tilt w/ Duttys latest 6.1 ROM. I didn't copy the DLLs due to a later post suggesting they were unnecessary. I can take pictures of nice crisp barcodes at any angle and I keep getting "No Barcode". I've tried "L" and "1M" images.

Don't be discouraged, this is awesome, thanks for your efforts!

wayne
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
Maybe upload one of the pics you've taken?

as for me, everything seems to be working fine, but my school textbooks have a barcode on them. I tried to scan them. I took the picture, it tried to find it, it "found" it (it asks if i want to copy it and shows no error), but it displays no translation or text. ill upload one of the photos in a few minutes.

EDIT: adding the pic.
[Tilt, TyTN II, MDA Vario III General] nsa666:
same here. it didnt recognizes any EAN13 barcode.
[Tilt, TyTN II, MDA Vario III General] srowen:
If you guys have time to post images that don't decode, it would be a great help. I can debug from there as any errors like this are probably in the original library.

We've improved quite a lot in the 1D barcode decoding code recently, since 0.3.

The image above is Code 39 BTW and yeah it does decode. EAN-13 should work; the UPC/EAN formats are hardest to decode in my opinion since they rely more on the detected width of the bars. They're really not as suitable for optical recognition versus a laser scanner. So yeah test cases are appreciated here since it's an area to improve most.
[Tilt, TyTN II, MDA Vario III General] srowen:
I would like to see the images too as this probably traces back to deficiencies in the original library.
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
Wait, you got mine to decode?
[Tilt, TyTN II, MDA Vario III General] nsa666:
Images

no of these want recognize.
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
have you tried shooting it in landscape instead of portrait?
[Tilt, TyTN II, MDA Vario III General] nsa666:
Yes and it didnt work too. Earler version worked with portrait mode.
[Tilt, TyTN II, MDA Vario III General] hypest:
I see those errors myself too... started debugging...

Also, has anybody tested the app with "Auto return from capture" deselected?

hypest
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
noting that i was using v0.3 in my previous posts, i cant seem to decode any barcode in 0.4 regardless of autoreturn. i can capture and decode a picture in 0.3 in less than 5 seconds, but using the same image in 0.4 (by opening it) it returns no barcode.

(im sorry to say i DO NOT remember if i had tried 0.4 at all so i do not know if selecting "do not autoreturn" caused this.)

also, if you try to scan a code you have selected to not work, will it return "no barcode" or something like "this code has been turned off"?
[Tilt, TyTN II, MDA Vario III General] hypest:
I found that EAN13 error.... it was a very nasty copy-paste bug that completely disabled the EAN13 recognition!!! :eek:

sorry for the frustration guys... you can download the fixed version from then #1 post.

hypest
[Tilt, TyTN II, MDA Vario III General] hypest:
well, the "autoreturn" feature is only a way to enable a "cancelling the decoding for blurry captures" feature-request.

With ZXing (at least), something like "this code has been turned off" would mean that the code is tried and found!

So, to answer your question, "no barcode" will be returned.

hypest
[Tilt, TyTN II, MDA Vario III General] hypest:
newer ZXing

I've upgraded ZXing to 0.4.5, but only for 1D barcodes. 2D will come later... Once again, download it from #1.

Newer version of ZXing seems better indeed! Thank you srowen! :)

I've test it with pizzaguy's book barcode and it is recongized properly. It also recognizes all 3 of nsa666's captures!
[Tilt, TyTN II, MDA Vario III General] Radeon123:
Just want to say the latest version is now reading 1D barcodes fine :).

With this software could it be programmed to look up online what the barcode item is, would be a great feature, especially for cataloguing items like DVD's :).

Look forward to future releases.
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
yeah i think this would be good. i would like to be able to enter a url, that could be automatically contacted with the code. like you save "http://mysite.com/codes.php?code=" and it would automatically append the code... :-)
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
I found a bug where it crashes when i try to decode QR code.

I take a picture of this picture (picture of the comp screen), it sits, then crashes.

this is the Crash details:

Barcorama.exe
PlatformNotSupportedExecption

at System.Text.Encodig.GetDataItem()
at System.Text.CodePageEncoding..ctor() <-- there ARE two dots there
at System.Text.Encoding.GetEncoding()
at System.Text.Encoding.GetEncoding()
at com.google.zxing.qrcode.decoder.DecodedBitStreamParser.decodeByteSegment()
at com.google.zxing.qrcode.decoder.Decoder.decode()
at com.google.zxing.qrcode.QRCodeReader.decode()
at com.google.zxing.MultiFormatReader.decode()
at TestNS.TestCL.decode()
at BackgroundDecoder.BackgroundDecoder()

is there a way to copy the details or something? i dont like having to type it all out...
[Tilt, TyTN II, MDA Vario III General] nsa666:
It works with EAN13 now. With pizzaguys QR-Code it says "no barcode"(but it is a bunch of Programms there for QR Barcodes. QuickMark or so).

P.S.:pizzaguy try this to copy the exceptions http://www.mymobiler.com/

P.P.S.: there is a free service to request information for barcodes http://www.upcdatabase.com/xmlrpc.asp it should be easy to integrate that in the software.
[Tilt, TyTN II, MDA Vario III General] srowen:
The Java library reads that QR Code as "test". Looks like some character encoding issue? The code tries to guess whether the encoding is UTF-8, ISO-8859-1, or Shift_JIS. Here I am assuming it guessed ISO-8859-1.

I am just speculating but I wonder if the code has to be tweaked to use a different name for this encoding in the .NET environment? I know nothing about it. Or it's possible that my recent changes are causing this to guess UTF-8 -- which is not quite wrong in this case -- and again that encoding is not liked by the .NET runtime somehow.
[Tilt, TyTN II, MDA Vario III General] sunglint:
MUCH better

OK, I get a barcode now, at least for some things, I got one off a book, which checked at nsa666's suggested site. I could not read pizzaguys crashing 2D barcode, but it didnt crash either.

Would it help if you posted pdfs of test barcodes we could print out and try?

thanks again,

wayne
[Tilt, TyTN II, MDA Vario III General] hypest:
I made a small fix so this QR is decoded ok. Download from post #1. QuickMark and iNigma are certainly much better apps (for the time being :)) to use for QR codes.

to srowen: FYI .netcf supports a very small set of encodings...

hypest
[Tilt, TyTN II, MDA Vario III General] latiszm:
Works perfect on my swedish Kaiser! Would be sweet to have a backend for it aswell :)
[Tilt, TyTN II, MDA Vario III General] hypest:
running external prog

I've put together a new version that includes the ability to run an external program. Grab it from post #1.

The default sample used is running PIE directing it to google along with the barcode. The recognized code is inserted wherever the "!###!" (without the quotes) string is found.

hypest
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
Awesome! now i just need to find a use for it :D

Incase anyone wants one, a good place for UPC lookup i think is http://www.upclookup.com/item/!###!
[Tilt, TyTN II, MDA Vario III General] hypest:
Based on your high activity on this thread, I would've thought you already have a use for it ;)

hypest

P.S. I checked that upclookup.com you posted but seems to be down (google does not return relevant results either!)
[Tilt, TyTN II, MDA Vario III General] SilentlyScreaming:
I wrote a couple of short posts on the app over at my blog (third domain listed if you google Barcorama); hopefully one of my readers will come up with some inspired uses :)

I'm looking at the possibility of cataloguing the books I have back in Britain, to ensure I don't end up buying the same title twice (can be a problem with such literary greats as Andy McNab lmao).
[Tilt, TyTN II, MDA Vario III General] hypest:
Hey SilentlyScreaming, I checked your blog the other day... Thank you very much for that posts :D

I hope too that some good "real-life" uses come up, though I'm concerned about the slow performance of having to launch the HTC camera application to take a "simple" photo. I believe that in some cases it would have been easier (read: faster) to just type-in the barcode yourself!! I'm still investigating how to bypass the HTC app and take a decent (autofocused) photo by my own means. Sadly, the video capture I tried in earlier versions of Barcorama was too low-resolution and too unfocus for ZXing to decode it... :(

In the midtime, my main usage-goal of Barcorama will be using it as a supermarket-companion: I want to know what I purchase, see when was the last time I purchased it, keep statistics of expenses and then, on a "second level", share with a community relevant information on where a product is cheaper. I hope you reach your book-cataloging goal soon!

hypest
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
a) lol i just like cool apps that i can show off :P

b) wow... it was up at 11:30 last night... im making a guess that, that site is some guys personal computer that gets turned off at nigh,t as it says "its his hobby" on the home page.
[Tilt, TyTN II, MDA Vario III General] riot1031:
This looks very interesting. I would like to use it to manage my inventory. I currently tag each computer in my agency with a number then inventory the numbers/computers in an excel spreadsheet. If I could replace the numbers with barcodes and then just scan to inventory/relocate/decommission a computer that would be great.
[Tilt, TyTN II, MDA Vario III General] nsa666:
Another bugreport

It seems that it don't save the settings for the program it should launch.
[Tilt, TyTN II, MDA Vario III General] irisa2:
Usability question

Hi Guys !

First of all congrats for the wonderful application. It's a very nice idea, and very practical.

My question is:

When I try to scan an 1D bar code (from my ice cream for example) the software recognizes the numbers below the code,but should be there another info in 1D bar code ?Like name, producer, etc. ?

Because the only thing I'm getting is the number ...
[Tilt, TyTN II, MDA Vario III General] hypest:
nsa666, thank you for that report! I seem to have missed it while testing :(. Actually, the app saved the settings OK, but corrupted the file when loading! Anyway, it was certainly a bug :mad:

I've corrected it and uploaded it...

I'm afraid I'm going to disappoint you on that. In general (for EAN codes at least), the barcode just contains a "code" that has to be looked up in some database, where the product specific info is stored. In some products though, the code also contains dynamic information, like for example the weight or the price of the product (say, 1.6Kgr of tomatoes, or 2.6Euros of tomatoes). So, Barcorama will just read what's in the code.... (The number below the code is actually for a human to read). Any fellow poster that can shine some more light on this, please do so :)

hypest
[Tilt, TyTN II, MDA Vario III General] nsa666:
First 3 numbers of EAN13 code is the country code. http://en.wikipedia.org/wiki/List_of_GS1_country_codes

its followed by manufacturer code and product code given by this manufacturer. there is no other data there(no price or something).
[Tilt, TyTN II, MDA Vario III General] hypest:
1.59euro worth of cheese

Here is a capture of one of my local supermarket's product. It is for 0.186Kgr of yellow cheese and the its price is 1.59euros. I have verified that the price is included in the product code (those "159", without the final 4). This is quite logical for products that have to weighted to be priced; how else will the store's system know the price of the particular product when you pass it from the counter?

Additional to nsa666's wikipedia link, here is the GS1 site regarding the first 3 digits of the EAN13 code: http://www.gs1.org/productssolutions/barcodes/support/prefix_list.html. As it says in this site (and unfortunately for us, the consumers), this 3-digit code is not an identification of the country of manufacture :(

hypest
[Tilt, TyTN II, MDA Vario III General] nibblah:
Barcorama Program Icon?

@hypest

the new version works on my tytn 2, so i made a shortcut in the startmenu and noticed, that barcorama has no icon. i consider myself an aesthete and don't like the standard windows mobile program icon.

in the attachement are two proposals, one fancy pseudo 3D and one basic. critique welcome.

a quick google for win mobile 6 icons didnt return anything useful, so i made 128x128 pngs.

i understand, that this has no high priority..
[Tilt, TyTN II, MDA Vario III General] hypest:
I also don't like the default icon that is on Barcorama!! And since you're the first to post about that, I will try and use one of your proposals :). Resizing it to 16x16 will more or less damage your icon, so maybe you want to redo it in 16x16... pleaseeee :)

Maybe some other time I'll put up a poll to choose from a set of icons, if more icons appear around!

hypest
[Tilt, TyTN II, MDA Vario III General] cbgnl:
ean codes on dutch site

http://www.livaad.nl/Mobiel.php

If i copy the code in here it gives me the brand and so on ..maybe its helpfull.

hmm i think its only for food..
[Tilt, TyTN II, MDA Vario III General] hypest:
no recognition

to srowen:

I'm uploading another EAN13 code that should probably be recognized but it doesn't. Any clues?

hypest

p.s. Photo taken by user nhariton
[Tilt, TyTN II, MDA Vario III General] srowen:
Not sure, thanks for the report. It looks like a clean shot of an EAN-13 barcode so I am not sure what's wrong. The bars look... a little funny to me or something, like the thick ones are too thick. I'll see if that's what the decoder is thinking. Maybe it needs to be more tolerant.
[Tilt, TyTN II, MDA Vario III General] ChInEsE ChIcKeN:
is there anyway that we could just take a picture of a specific bar code and input our own information for the product at hand?
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
heres an icon i made (its all the same just different file formats)

its more of just looking good than a barcode theme because its hard to have a barcode at 32x32 (im pretty sure it doesnt have to be 16x16?)
[Tilt, TyTN II, MDA Vario III General] hypest:
For the time being, no, there is no way (with Barcorama) to input such info. Almost certainly though, I will add such features, so... keep checking this thread

;)

to pizzaguy:

nice job with the icon! Although I'm not sure why you picked black for the "B" color :confused:... it's a bit "invisible".

16x16 seems to be the size on the top bar and the size of the icons in QuickMenu. Of course, the icon displayed in the standard "Programs" window is larger, that's why I'm still investigating the whole "icons stuff" and whether it's possible to have multiple icons.

hypest
[Tilt, TyTN II, MDA Vario III General] hypest:
official barcode service!

I found an official barcode registrar: http://directory.gs1.org/gtin

It is probably for European codes only... I haven't tested it much, but it is very interesting. The Greek and German barcodes I've tested, only returned info on the product owner, not the product item itself.

Use it in Barcorama as: http://directory.gs1.org/gtin/!###!

hypest
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
i had black originally so i never changed it. here is a version with a white B

:D
[Tilt, TyTN II, MDA Vario III General] wovens:
Thanks guys, this is a very useful tool. Will try it tonight to see if I can catalogue my books putting the codes on a spreadsheet, then see if Amazon comes up with anything interesting to add to it.

Cool!
[Tilt, TyTN II, MDA Vario III General] wovens:
I am out of luck here. Phone number 1 is an HTC but it is VGA with crap camera. Barcode pic is rubbish. Phone number 2 has a great camera with macro, is a WM with QVGA but is not an HTC (i.e., no HTC Camera), so application does not show the "capture" bit onscreen so I cannot access the picture I've taken, so cannot analyse results.

Shame!:(
[Tilt, TyTN II, MDA Vario III General] hypest:
try to keep the phone far enough so the barcode is at the focal distance, and enable any zoom factor, if the phone supports any...

320x240 is probably too low, but if the picture is sharp enough it should read it.

I'm not sure I'm following you...can you please re-explain it?

By the way, what phones/OS versions are those exactly?

hypest
[Tilt, TyTN II, MDA Vario III General] hypest:
yet another version

Fellow posters,

I've fixed a bug related to mishandling the program and arguments strings. Also I added an icon based on nibblah's one).

have fun,

hypest
[Tilt, TyTN II, MDA Vario III General] manuv1615:
i-nigma

downloaded this tonight... great stuff...

did you have a look i-nigma? (http://www.freewarepocketpc.net/ppc-download-i-nigma-barcode-reader-v1-4.html)

very impressive recognition speed... i-nigma is actually quite cool to download stuff from freewarepocketpc.net...
[Tilt, TyTN II, MDA Vario III General] hypest:
Thank you manuv1615!

Indeed, i-Nigma (and QuickMark) is super fast! The "bad" thing is that it does not read 1D codes.... only 2D :(

My primary interest is in 1D codes so I decided to craft my own program...

hypest
[Tilt, TyTN II, MDA Vario III General] manuv1615:
any plans to make barcorama open source ? that could be a good coplex/sourceforge project :D
[Tilt, TyTN II, MDA Vario III General] srowen:
i-nigma is great (well, it's the underlying 3GVision engine that's pretty sweet, which they license). The decoder works well on blurry images. Does it recognize 1D barcodes? I don't think so, but am not sure I have ever confirmed this. It would be super if the 3GVision part was open-sourced, but understandably I don't think it will be.
[Tilt, TyTN II, MDA Vario III General] hypest:
Not very soon, I'm afraid. For the time being, I prefer to use my spare time for coding it instead of managing its community :). But for sure, I will release it eventually...

Besides, ZXing is already open source ;), check it out!

hypest
[Tilt, TyTN II, MDA Vario III General] wovens:
Making myself clear...I hope!

Sorry to take so long to answer that. Too much housework, fridge broke down, microwave light faulty and broken toaster... what luck!

Here goes.

Let me rephrase my other post.

Phone number 1 is an XDA Exec with VGA screen (640x480) and 1 megapixel camera, no zoom. See screenshot below:

Message said: No barcode. Then I get that funny bar on top if I change to the settings screen and back, sometimes.

Phone number 2 is a Ubiquio with QVGA screen (320x240). It is not an HTC phone. It has a 2 megapixels camera with macro to take close shots. You said in one of the posts that you use the HTC Camera software to take the pictures. It may be addressing a specific piece of software that my phone does not have because I get the following screenshot with no Open or Shoot buttons to press. See below:

Is this any clearer?

Thanks.
[Tilt, TyTN II, MDA Vario III General] hypest:
Thanx for the details wovens (the screenshots really help)! I think I can address some of these problems :) Please, keep an eye for updates here ;)

hypest
[Tilt, TyTN II, MDA Vario III General] hypest:
New version

I've updated post #1 with a newer version of Barcorama that can handle landscape mode and greater resolutions. There are some more cosmetic changes and small fixes.

to wovens: Since I don't have access to any VGA devices, your feedback (or any other VGA users') is specially welcomed :)

hypest
[Tilt, TyTN II, MDA Vario III General] nhariton:
Hi,

I bought a pda because i wanted to test barcorama. :) Hypest, I hope you not to disapoint me :p

Well, It would be nice, if I had a choice to keep or delete the last photo (barcode), I've taken from the barcorama.

Thank you my best man :D
[Tilt, TyTN II, MDA Vario III General] hypest:
Well, in that case, I'll see what I can do ;) Stay tuned!

hypest
[Tilt, TyTN II, MDA Vario III General] hypest:
speedy

I've added an additional version in post#1 that includes some speed improvements. The changes are quite extensive, so the is "marked as experimental".

The improvement is considerable - it is now practical to leave all 1D codes enabled all the time (the QR is still too slow).

Please, any adventurous of you, test it so to see that nothing was broken in the makings...

Thank you all,

hypest
[Tilt, TyTN II, MDA Vario III General] ekw:
been following this thread for a while ;)

Guess ill contribute

Anyway, when in settings i hit the corner "ok" button, it just exits the program, instead of returning to main :[

and the http://www.upcdatabase.com/item/*insert upc code*

would be great if it was the default search site :D(another idea is that if the program recognizes the barcode to be UPC, it would use that site, otherwise google away!!)

So far the speedy one is working great, but im noticing that it requires a near perfect crisp shot.

Also if possible, can you put a option to delete the image if no barcode is found. It would cause less clutter in the folder :D

Thanks!
[Tilt, TyTN II, MDA Vario III General] hypest:
thanx!

Presently, the keyboard navigation is really crappy. For the moment, the whole application is only one window, that's why when you press "ok" it closes altogether... It is true although, that when somebody goes to "settings" in any application, he/she is compelled to press ok to return to the main app.

The settings file is not changing/included in the .zip I upload. So, there is no need to re-type your favorite database if you just overwrite the .exe and .dlls :).

hm, interesting... Have you encountered a capture that was recognized before but with _speedy it doesn't? (you can rename the program's exe, so to have both normal and _speedy in the same directory)

That was requested by another user too (nhariton), and will certainly be included at some time. As the application is actually still in alpha stage, the captures are useful in finding a photo that one version recognizes while another doesn't...

have fun,

hypest