maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   New mBarcode release on its way (https://talk.maemo.org/showthread.php?t=49201)

DaSilva 2010-06-01 12:17

Re: New mBarcode release on its way
 
Sorry, you were right about the update.
Thanks :)

nux 2010-06-01 16:51

Re: New mBarcode release on its way
 
Is it possible to get support to microsoft tag also: http://tag.microsoft.com/consumer/index.aspx

lardman 2010-06-01 23:28

Re: New mBarcode release on its way
 
There are two possibilities - see if the authors of either libdmtx or libzbar are looking to add decoders for this type of barcode (as these are what we use at the backend) or if there's an open-source decoder lurking somewhere I can plumb it in assuming it doesn't require too much CPU and screw everything else up ;)

paulkoan 2010-06-02 01:00

Re: New mBarcode release on its way
 
Quote:

Originally Posted by nux (Post 694200)
Is it possible to get support to microsoft tag also: http://tag.microsoft.com/consumer/index.aspx

Just like goddamn microsoft to go their own way with a proprietary format.

rm42 2010-06-02 01:13

Re: New mBarcode release on its way
 
Quote:

Originally Posted by GUYSTYLAZ (Post 690297)
Love it, Love it, Love it!

Awesome work guys, just what i, and probably lots of other people needed. Just one small suggestion would be to perhaps intergrate an option into the camera software itself, maybe a button on the side of the camera image? As much as i hate the iphone, they seem to have the process as smooth as silk, it would be cool if this were as smooth!
Great work, keep it up!

Maybe through a collaboration with the lfocus developer.

mangodan2003 2010-06-02 14:09

Re: New mBarcode release on its way
 
Hi

I have noticed that it sometimes fails to recognise 2D barcodes even when absolutely crystal clear with perfect lighting/contrast - rotating the camera or subject sometimes helps but not always, anyway , just as i'm about to give up and move the camera away it suddenly seems to recognise it, and from a really blurred mess of an image which i really struggle to believe it could decipher anything from, yet the code is correct.

Is it possible that it has previously recognised it but failed to notify the gui somehow and that when it becomes so blurred it really cant tell what it is that it gives up it then shows the code along side a messy image.

Is the image shown definitely the one the code was derived from? - if so its pretty incredible what it can do!

lardman 2010-06-02 14:18

Re: New mBarcode release on its way
 
There shouldn't be any way for the decoder to decode something and the UI not be told, so the problem is not there.

What might be happening is that the pipeline is forked, where the camera itself it at the root and one branch goes off to display on the screen, and the other is piped through the libzbar and libdmtx decoders (implemented as gstreamer elements) one after the other.

Now the framerate is higher than the decoder rate, so some of the frames displayed on the display branch will simply be dropped by the decoder branch until the decoders have finished processing their current frame.

So to answer that question, no, the frame shown is not necessarily the one decoded, but there shouldn't be much lag (though there is more lag on dmtx than on QR codes as the libdmtx decoder is slower).

Speaking about decoding from blurry images, the QR code decoder really is rather good at this, better than the 1D code decoder certainly.

dragly 2010-06-02 14:41

Re: New mBarcode release on its way
 
I'm actually seeing this myself from time to time. When I think about it, this might be a problem caused by the constant autofocusing, although I remember having seen this some time ago as well. Maybe we should wait until the previous image has been decoded before calling autofocus again, just to make sure it does not get called again and again when the autofocus is temporarily causing the image to be out of focus?

Or would it be better to wait for the autofocus' success signal before calling the decoders at all? A simple way would be to set a "bool readyForDecode" to true whenever the autofocus callback returns with success and to false whenever autofocus is initiated?

pthomas22 2010-06-02 16:05

Re: New mBarcode release on its way
 
If you already know what the product is (ie you have it in front of you) why would you need this app to find out what it is?
I'm not knocking it as a fair number find it useful but I am not sure of it's use

gri 2010-06-02 16:12

Re: New mBarcode release on its way
 
Quote:

Originally Posted by pthomas22 (Post 696078)
If you already know what the product is (ie you have it in front of you) why would you need this app to find out what it is?
I'm not knocking it as a fair number find it useful but I am not sure of it's use

There are several good ways to use the barcode: Automatically start a search where the article can be bought next to your location with less price. Search online stores, find similar articles "is this available in another color?".

Also the QR-code can be used for many things. Urls, VCards, maybe some time for our ovi store (like android does).


All times are GMT. The time now is 08:50.

vBulletin® Version 3.8.8