yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III General] hypest:
EAN13 generally seems to work. Please, could you try this image?

I have tested the prog on about 10 actual products. Try to keep the phone about 6-10cm away from the target (not closer than 5, anyway).

Thank you for the info on the behavior of the load dialog. I will try and use a different facility to browse every folder.

hypest
[Tilt, TyTN II, MDA Vario III General] hypest:
I cannot completely rule out the possibility to be a localization issue, even though, the second Kaiser device I used today was not a Greek one (I thing was English-default) and it worked on it too.
[Tilt, TyTN II, MDA Vario III General] nsa666:
With your shot it actually works. With my it reads wrong code.
[Tilt, TyTN II, MDA Vario III General] hypest:
Indeed, your image produces a false recognition. It is quite probable that this is a zxing related bug, but I'll have to investigate it further. Actually I have encountered this faulty recognition once.

hypest
[Tilt, TyTN II, MDA Vario III General] PengLord:
Do you plan to release your source so that others might be able to develop customized applications? I personally would like to have it query a MySQL DB via the web over HSDPA connection to query inventory levels and pricing of product in my warehouse. Other uses might be to have it auto-query the UPC against an online DB to find the best price for a given product or to upload the UPC to an on-line DB to review later from your desktop.
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
After you take the picture with the Shoot option what do you hit to have it decode it? If i hit the return (back arrow) nothing happens, and if i hit the OK key on the front of my Tilt, nothing happens...
[Tilt, TyTN II, MDA Vario III General] hypest:
Actually, these uses are exactly what I have in mind! The app will act just as the barcode-recognition medium. The backend will be the really interesting stuff ;).

I just have to figure out some serious problems and in the meantime I'll decide whether to release the code in an organized manner, or just enable the tool to be used as external executable from other apps (or a linkable lib).

On my kaiser, either way works :(. Most of the time though, I use the front (D-PAD) OK button just because is easier to press.

I have updated the #1 post and attached a build with some debugging messages. Please try that too and report which messages you see.

hypest
[Tilt, TyTN II, MDA Vario III General] nibblah:
"Dialog didn't return OK!"

apears when pressing OK on the D-Pad or the icon.

i have a German TyTn II.

ROM Version: 1.56.407.3

Nadavi_HTC_Camera_5_0_4_2915_00.cab is installed, could this be the issue? the preinstalled version was .... sh.... not very good.

hope this helps you a bit..
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
Im not a great coder but i found a nice PDF that might be good to help with decoding the image. http://www.atilim.edu.tr/~misafran/proje web/BIS04.pdf
[Tilt, TyTN II, MDA Vario III General] hypest:
bypass build

Fellow posters,

I have revised the #1 post to include a newer build, hopefully with better results. This one tries a different approach to reach the captured image..

to pizzaguy:

The paper might be helpful, event though it is not presented as simply software-based (it benefits from the DSP processor present).

hypest
[Tilt, TyTN II, MDA Vario III General] nsa666:
it still doesnt work.

Barcorama_bypass.exe

IOException

bei System.IO.__Error.WinIOError()

bei System.IO.Directory.InternalCreateDirectory()

bei System.IO.Directory.CreateDirectory()

bei TestNS.TestCL.button1_Click()

bei System.Windows.Forms.Control.OnClick()

bei System.Windows.Forms.Button.OnClick()

bei System.Windows.Forms.ButtonBase.WnProc()

bei System.Windows.Forms.Control._InternalWnProc()

bei Microsoft.AGL.Forms.EVL.EnterModalDialog()

bei System.Windows.Forms.Form.ShowDialog()

bei TestNS.TestCL.Main()

P.S.: This comes if i klick on "shot" buton. The camera app dont even starts.

P.S.2: just tested the verbose version. It seems to be something wrong with directory name. it says \Storagecard\Barcorama\Barcorama_verbose.exe. I think it should say only \Storagecard\Barcorama .
[Tilt, TyTN II, MDA Vario III General] Le Sage:
@mkrivoy : you probably mean http://web.archive.org/web/20070305031155/http://aura.research.microsoft.com/aura/AuraU.CAB :rolleyes:
[Tilt, TyTN II, MDA Vario III General] bobzero:
has anyone been able to get barcodes recognized on the HTC Vogue or another 2MP camera?
[Tilt, TyTN II, MDA Vario III General] mrdummy:
I have searching for many tools on Internet, but ...

There are almost no one good working with camera use.

Until i see Barcorama... whoa, one of the free and best working program!

I tested it with Xperia X1 and it works indeed.

But there are still issues.

The Shoot does indeed call Camera program and i shoot a picture. It saves, goes back and ... No capture! message popped up. No way! The stored picture is not found :(

What is missing here? I cannot fix the problem. There is no setting for it. Have you any clue for it? What is actually default setting inside the program?

I have done some barcode tests and i came to result that "speedy" version recognize barcodes very bad compared to normal version. The normal version reacts much faster on average barcode shots. "Speedy" is in fact a failure.

The barcode scan function works good in my eyes. But the image on the screen is heavy compressed in portrait mode. In landscape it's stretched. Why not 1:1 image? Does it affect scan very much?

I really hate the open function. Too much images are opened and too bad no sub directory scan. I made shots in /My images/Camera/xxxx.jmg and that is already sub directory.

My advice: use setting to point the directory where the barcode images are stored. With Open, you see immediately all images in setted directory. Much better and faster.

Until now i must move made camera photos to another directory so i can pick up the image with Barcorama. That is just too much work.

And what is more, it can read TIFF files (but there is only *.jpg and *.* as search option... Why?)

In my eyes, Barcorama has very high potential. If you made it better and fix some errors (camera<>program exchange) then it's the unique program in the world who can scan free 1D barcodes for free. There is almost nothing free for 1D scanning. Because the business made 1D scanning too much expensive.

I tried ZXing as second scan tool. I can install it, but the java code wont run it correctly on Xperia, still hung in loading part. Too bad!

Do you use ZXing scancode inside Barcorama? Or not?

There is a SDK package from DTK Barcode Reader which has a program who can run on WM6.1. Perhaps you can see if there is something useful with SDK. But it's commercial program. The scanner engine is very good with poorest barcode images. What is more, they have sample barcode images inside SDK package to test the scan engine. I tested it on Barcorama and many works indeed good. :)
[Tilt, TyTN II, MDA Vario III General] hypest:
Thank you!

I'll have to investigate that "No capture" a bit and report back to you...

Yes it IS! It will be removed shortly...

This is just a visualization "bug". The recognition process is performed on 1:1 ratio.

The whole "open" function was a minimal hack just to give the ability to rescan photos. And ofcourse you are right about the open dialog function. This is actually the default NETCF dialog and really SUCKS!

you're so right ;)

Yes, ZXing is the library I ported and use in Barcorama.

I'm really not interested in commercial SDKs and such. I only want Barcorama to be free of any charge and was happy to find ZXing for that!

cool!

mrdummy, your whole post, plus you trying it on X1, gave me an incentive to work some more on Barcorama! Perhaps I'll find some time these days and put together a newer version... I hope you stick around and try it :)

hypest
[Tilt, TyTN II, MDA Vario III General] mario23:
I'm trying now.

I've been looking for a barcode reader...

Tks

Does anyone know of another external program besides the google one that will bring up a price list kind of like that G1?
[Tilt, TyTN II, MDA Vario III General] GREGHARKINS:
I cant even get barcorama to install.. can anyone help me
[Tilt, TyTN II, MDA Vario III General] hypest:
The zip does not contain any installation means (e.g. CAB file) so you have to transfer it like "normal" files...

So: copy the zip using Activesync/Explorer to the device and unzip it using TotalCommander (or your other favorite PDA unzipper). Then just run the .exe.

The unzip process k be done on the PC too. In that case, transfer all extracted files to any folder on the PDA.

No shortcut is created in the Programs menu. You'll have to do that manually too (TotalCommander can again help with that...)

hypest
[Tilt, TyTN II, MDA Vario III General] smoody:
Few Questions

What happens after a image in recognized? I mean what information does this provide me? Is there something i'm missing here? I see it goes out and checks agaisnt google, but for what? is there some other software that does a price comparison and such?

I am really fascinated by this program just for the fact it can simply read barcodes, but aside from that what uses are there for it?

I guess that sounds dumb but it seems I am missing the concept.

Thanks for the help!
[Tilt, TyTN II, MDA Vario III General] TT01:
The google product page works well and accepts the passed arguments:

http://www.google.com/products?q=!###!&btnG=Search+Products
[Tilt, TyTN II, MDA Vario III General] bnl552:
Excel

I know that it had already been discussed that there is currently no way to add to or edit an excel document autoatically, but if I have an excel sheet with UPC codes in it could I automatically open it up and search for that upc code?

Thanks
[Tilt, TyTN II, MDA Vario III General] nagevmai:
Works great on my FUZE in conjunction with Frucall.com

Great App! I installed and moved the .exe right to my program menu folder so I can quick launch. I was not happy with the Google search results I was getting so I used the settings to launch Opera 9.5 instead and set the arguments to direct me right to www.frucall.com/m. Unfortunately their technology doesnt read teh barcode directly from the URL string, but since Barcorama places teh 12 digit code on the clipboard I just paste it into the field and search. Great results, instant shopability.
[Tilt, TyTN II, MDA Vario III General] Wolfblood:
Screen Layout may not fit VGA 640x480

Thanks! This is a great apps I'm looking for. But maybe it is not fit in 640x480 (Or not fit in my hTC Diamond)

Here is some screen capture for ref. Is it can fix? Thanks a lot.
[Tilt, TyTN II, MDA Vario III General] hypest:
hey, Thanx for the shots Wolfblood! They are probably very helpful if debugging the app!
[Tilt, TyTN II, MDA Vario III General] Wolfblood:
You're welcome :)

Hope can see the fix before the Christmas (Because I try to use this app to save $$$ when I buy the Xmas Gift :) )

BTW, I'm looking a Database App can work Barcorama & WM6 VGA. Did you have any suggestion?
[Tilt, TyTN II, MDA Vario III General] adoute:
I poked around in the code for the frucall pages, and discovered that you can put the barcode data in the url. You can also put a zip code in so it will try to calculate shipping costs. The url string to use is:

http://www.frucall.com/m/xhtml/lookup.do?code=!###!&zip=your_5_digit_zip_code

The non-mobile version of the site works as well, and provides more information. The URL string for the non-mobile version is:

http://www.frucall.com/lookup.do?code=!###!&zip=your_5_digit_zip_code

The &zip= part is optional in both the mobile and non-mobile versions - it does not appear to be required.

Thanks to hypest for providing the software, and to nagevmai for pointing out the frucall site.
[Tilt, TyTN II, MDA Vario III General] hypest:
hello fellow posters,

I've just uploaded an updated version (v0.7a). The only major change is in the file open dialog. The exe included in the zip must replace your previous one...

have fun,

hypest
[Tilt, TyTN II, MDA Vario III General] branedge:
I keep getting "the page cannot be fond. Check the name and try again" I get this on all the bar codes i scan.
[Tilt, TyTN II, MDA Vario III General] jrinco11:
perhaps I'm missing something, but I downloaded both attachments to the OP and replaced the exe w/the .7a one, and once it asks to open in an external application, it opens up Opera (I am using att fuze - htc touch pro) and goes to google.com/webhp -- any suggestions?

thanks!!

EDIT: nevermind, I took some better pictures of the barcode and it's working :)
[Tilt, TyTN II, MDA Vario III General] diar:
great app. thanks. works on my fuze.

i used to do this manually all the time when shopping for electronics (bluetooth headsets, computer accessories, etc.)
[Tilt, TyTN II, MDA Vario III General] micgrob:
great app, thnx.
[Tilt, TyTN II, MDA Vario III General] hopper13:
Runs great on the Fuze, but my recognition percentage is low. I'm shooting in landscape with the numbers to the right when viewed in portrait. I'm trying for the largest possible image.

Any recognition tips?
[Tilt, TyTN II, MDA Vario III General] Hisshadiness:
This is amazing! Excellent work! One thing...

I wanted to open Skyfire instead of Internet Explorer. When I go to modify the "Program to run" setting, I can't select the symbols menu (Fn+Sym) to add the backslashes! The software keyboard doesn't show either.

BTW My screen looks the same as the VGA screenshots from post #192 even though I'm running in QVGA on my tilt.
[Tilt, TyTN II, MDA Vario III General] Mr_Armageddon:
Works on my Fuze

This is a great application, works well on my HTC Fuze (Touch Pro) and I have been wanting something like this ever since my co-worker showed me ShopSavvy on his G1.

I changed mine to use Opera 9.5:

\windows\OperaL.exe

And decided to try Pricegrabber for the searches:

http://www.pricegrabber.com/search.php?form_keyword=!###!

Thanks.
[Tilt, TyTN II, MDA Vario III General] hypest:
as a workaround, try editing "settings.txt" with your favorite text editor... In there, you can find the "RUN" and "RUNARGS" lines.

hope that helps :)

hypest
[Tilt, TyTN II, MDA Vario III General] del4:
Thanks for posting those. I've meant to, but forgot. Almost seems like the program expects to use a different/smaller font???

Not sure if it's already on the to-do list, but it would be great if we could store a couple different search URLs so that if one doesn't work, we can try another. Sort of a preference list where you could manually have it search from among a list of URLs using the last read barcode...
[Tilt, TyTN II, MDA Vario III General] del4:
AppToDate support

Forgot to ask if there were plans to include support for AppToDate to make it easier to obtain updates?
[Tilt, TyTN II, MDA Vario III General] buggybug0:
GUI may need work to fit different resolutions. i have a Touch HD 800x480, screen is the same as that in Post 192.

The program itself works wonders, but i discovered that the image is saved in the folder, and two copies are saved. is it possible to delete the image right after the browser is invoked? I don't think there will be a need for the image, because you can always take a picture of the bar code again. or may be leave this as a setting/option for the user to decide in the settings page.
[Tilt, TyTN II, MDA Vario III General] newsflash40:
Wow!

Great program. I've been looking for something like this, but Handango was the wrong place to look. This effort is worth supporting.

How about a menu option on whether to save images?
[Tilt, TyTN II, MDA Vario III General] buggybug0:
i believe shopsavvy on G1 uses a database similar to this to translate the code to the product then searches for the product (so it can recognize more products)

on this website, you can download an up to date UPC barcode database http://www.upcdatabase.com/itemform.asp

it would be great if we can use this some how. because a lot of the products i scanned were not recognized. from bottled water to calculators, but they are here in this database

database download link is on the left side, it is in tar form, but it's just excel files inside.
[Tilt, TyTN II, MDA Vario III General] Wolfblood:
Screen capture report update.

Hi hypest,

Thank you for your fast release v0.7a, Seems you are starting the VGA fix. :)

Here is my screen capture report of my hTC Diamond for your ref...
[Tilt, TyTN II, MDA Vario III General] mario23:
Hey question for you. I'm trying to use pricegrabber but I'm having a problem.

When Opera runs, I see the pricegrabber address initially but then it changes to www.atpgw.com/

Have you seen this problem or have a miss typed something?

Thanks...
[Tilt, TyTN II, MDA Vario III General] iamvargas:
How do you create the shortcut in the programs for the barcorama with total commander? Sorry I am quite new at this.
[Tilt, TyTN II, MDA Vario III General] hypest:
Select the "Barcorama.exe" then "File", then ">>>", then "Create shortcut", then "Tree" and browse to "\Windows\Start Menu\Programs", then hit "OK" and again "OK"...

hypest
[Tilt, TyTN II, MDA Vario III General] hypest:
thanks for your effort capturing and posting the shots! I'm glad 0.7a works better although there's still some work to be done.

hypest
[Tilt, TyTN II, MDA Vario III General] hypest:
The possibilities for what to do after recognition are way to many, that's why from the beginning I opted to just run a single external prog, passing the barcode. This leaves room for extra utilities to manipulate the code and fit everybody's needs :)

interesting app! will keep it in mind ;)

hypest
[Tilt, TyTN II, MDA Vario III General] segadc:
Couldn't get it to work with my Titan (well I haven't tried this latest version). But its not a big deal.
[Tilt, TyTN II, MDA Vario III General] daveotero:
Anyone know of a way to have Opera open multiple tabbed pages from the command line? It would be nice to pull up a few searches at once.

BTW, great App! I started a thread about it here.
[Tilt, TyTN II, MDA Vario III General] bptflames:
It works on my Fuze but i cant access the setting because their isnt a softkey for it. i thought it was a button their but it kept going to shoot even when i used the stylus. Is their a different version that doesnt have the settings tied to a soft key.
[Tilt, TyTN II, MDA Vario III General] hypest:
touchscreen mainly...

Sorry for the confusion but actually, nothing is tied to softkeys, although it optically seems to...

hypest
[Tilt, TyTN II, MDA Vario III General] YellowGTO:
How did you get it to work on the Fuze? When I use it it makes me soft reset.

It seems to work sometimes and not work other times. Something a bit scary if you take a pic of you VA Card it comes up with your SS#
[Tilt, TyTN II, MDA Vario III General] ptyindian:
hey guys i dont have any programming experience or knowledge but i was wondering how hard is it do something like the g1 shop savy where u dont have to take a picture but it is actually scanning the barcode like the the register at a store. Is this a limitation in the phone or is it some special feature in the g1 phone?
[Tilt, TyTN II, MDA Vario III General] Sevenpelicans:
How do I install this on my HTC Touch Pro ?
[Tilt, TyTN II, MDA Vario III General] hypest:
I'm afraid that will be answered by other Fuze/Pro users... I myself own just a Kaiser :)

http://cleanimport.xda/index.php?posts/3003992/
[Tilt, TyTN II, MDA Vario III General] hypest:
I'm afraid that will be answered by other Fuze/Pro users... I myself own just a Kaiser :)

Believe me, Barcorama started exactly with that usage scenario from the moment I decided to sit down a code it! Couldn't reach a good result though :(

Blame HTC for that... live video capture has too low resolution :mad:

Check this great page: http://studierstube.icg.tu-graz.ac.at/handheld_ar/camera_phones.php

Even the latest phones from HTC deliver just the pathetic 320x240 resolution...

hypest
[Tilt, TyTN II, MDA Vario III General] hypest:
I just added a .cab with the 0.7a version. It is my first cab creation, so please bear with me :)

Thanx go to buzz_lightyear (http://xdaforums.com/showpost.php?p=764304&postcount=6) for his links and sample!
[Tilt, TyTN II, MDA Vario III General] ptyindian:
oh that sucsk. Hopefully once we can get he X1 video drivers ported to the Pro or diamond it can work? Cause i hear the X1 shoots video at 30FPS?
[Tilt, TyTN II, MDA Vario III General] NetApex:
Proof of concept.. sort of

I have seen something that does that type of thing (http://www.i-nigma.com/personal/) Works great on most phones with a camera. I wonder if you could use that basis to do barcodes with this program. I haven't bothered to check into exactly HOW the program does what it does, but I assume that it is matching parts of the image up with it's internal database and then creating the link from that to direct you to where you need to go. With that thought in mind, barcodes are just numbers so it would have less data to have stored and to decode one would think. Just an observation that could be totally off base though.
[Tilt, TyTN II, MDA Vario III General] rcubed3r:
I just loaded it on my HTC Touch Pro, and it works, but it hung after I tried to read my third barcode.

Also, it just takes me to google, shouldn't it take me to the 'shopping' search or something similar?

Ron
[Tilt, TyTN II, MDA Vario III General] pizzaguy:
i-nigma only scans 2D barcodes which means it does not need as high as a resolution because all squares are the same size (just put next to each other) so once it finds the code all it needs to do is scale it and then, to put it simply, count the dots. (this is my opinion, its not based on any facts but i bet thats how it works). Thats also why 2D barcodes are used on many computer pieces. they can be very small, compared to 1D barcodes which are based on variable sized lines which must be extremely accurate in order to be correctly scanned.
[Tilt, TyTN II, MDA Vario III General] CountryDevil:
This is more of a feature request than a bug report...but would it be possible to add a feature or "switch" to save previous images that were taken with the program.

Simply put -

Save Image= ON - Saves all images of the bar codes in the programs home directory.

Save Image= OFF - Does not save previously shot bar code images except for the currently used image you are looking up a price for.
[Tilt, TyTN II, MDA Vario III General] lexluthor:
Nice program.

One suggestion. Would it be possible to add links for multiple price search engines where maybe once the barcode is scanned, it pops up and asks which engine to use for that search?

Or some other way to use multiple engines or choose from multiple choices would be nice.

Also, from post above, yes a way to only keep the most recent barcode would be helpful too.
[Tilt, TyTN II, MDA Vario III General] hopper13:
Agreed, mostly I don't need to save the images and just have to go delete them with a file manager later. What would also speed things up for me is the option to open the program directly to the shoot menu. (I don't generally run it unless I'm shopping and want to shoot.)

Thanks for a great program! I'll send a few $'s your way,

Richard
[Tilt, TyTN II, MDA Vario III General] hotmail:
Thanks for continuing development on this. It's gotten better since I last tried it - works very consistently on my Hermes now. Please keep up the great work!