Barcode scanning - Click General

So, our beloved Tattoo's camera doesn't have autofocus. As we all know, that means that images taken from very near to the target are blurry. And, being blurry, barcodes can't be read (or take a while to be read) by ZXing's Barcode Scanner.
But I believe the iPhone doesn't have AF, but works wonders with barcodes.
Why's that?

I can scan those black squares if I do that from 20-30 cm...

Bikers said:
I can scan those black squares if I do that from 20-30 cm...
Click to expand...
Click to collapse
Yeah the 2D ones are ok, as long as they are big enough. But the barcodes you find in shops just don't work! It's really a pity...

Yeah the 2D ones are fine if they big like on Pepsi cans but hopeless on normal barcodes the autofocus is a big mistake on this phone IMHO

a bugreport concerning this was made on the barcode scanner's page, the dev replied that the iPhone uses a different algorithm that more effectively scans blurred lines.
afaik: work on a new algorithm is being done, but still experimental.
http://code.google.com/p/zxing/issues/detail?id=253

ThaRabbit said:
a bugreport concerning this was made on the barcode scanner's page, the dev replied that the iPhone uses a different algorithm that more effectively scans blurred lines.
afaik: work on a new algorithm is being done, but still experimental.
http://code.google.com/p/zxing/issues/detail?id=253
Click to expand...
Click to collapse
Yeah I had read that post. Why can't they just make a similar algorithm?

When the square is too small, i zoom it with my mac with ctrl+wheel and it works...

Related

G-Sensor emulated by camera

I thing that everybody wants to have a g-sensor in their mobile . I have one idea . Is there any chance to develop a driver or software that can emulate g-sensor by rear or front camera ? Camera can catch "move" maybe in the same way like a g-sensor... Please think about it ...
I believe it was at least done on the Kaiser. The only issue I can see [apart from shoddy accuracy!] is, imagine the battery life being eaten!
Still, I'd like to see it, because it's the only thing I really want on my KS20
Function can be assigned to a hardware button, so it will start only if you want and then safe your battery
Ive asked about this a couple time and really got no where. I do know that the instinct uses this feature for scrolling web pages up and down
EurEye said:
Function can be assigned to a hardware button, so it will start only if you want and then safe your battery
Click to expand...
Click to collapse
Then why not have the hardware button rotate the screen?
I see your point. I'd prefer to just have it running in the background. Drop the accuracy of it, and we could keep battery drain to a minimum perhaps.
Girvo said:
Then why not have the hardware button rotate the screen?
I see your point. I'd prefer to just have it running in the background. Drop the accuracy of it, and we could keep battery drain to a minimum perhaps.
Click to expand...
Click to collapse
that, and emulating the g-sensor would mean better games
...I didn't think of that. Good point
kidnamedAlbert said:
that, and emulating the g-sensor would mean better games
Click to expand...
Click to collapse
No it wouldn't, because as others have said the accuracy would be horrible.
mattcoz said:
No it wouldn't, because as others have said the accuracy would be horrible.
Click to expand...
Click to collapse
but im sure that the great devlopers here could probably makes work better.
it makes me feel so bad not having a g-sensor.
today my friend was playing pocketgravity and he tried making things move by tilting my phone and it made me realize i need me a g-sensor.
kidnamedAlbert said:
but im sure that the great devlopers here could probably makes work better.
it makes me feel so bad not having a g-sensor.
today my friend was playing pocketgravity and he tried making things move by tilting my phone and it made me realize i need me a g-sensor.
Click to expand...
Click to collapse
Well, doesn't the game lack that feature or does it not need that implemented?
The thing is, there has to be a comprimise.
Get some serious accuracy, but to do that you'd need to sample a hell of a lot, thus killing battery life.
Or, sample less, less accuracy [but still good enough for screen rotation I'd wager], but less drain on your battery.
kareem9nba said:
Well, doesn't the game lack that feature or does it not need that implemented?
Click to expand...
Click to collapse
nope, someone just implemented it because it sounded like a good idea.
Will never work
Cameras have been used in the past for robotics and simply didnt work since they dont understand depth very well
What about combining the Camera and letting it work with the Infrared on the device? I know not all phones support both, but for the ones that do, its a step in the right direction.
External gsensor
Lets go back to the year 2000 where everything was external. remember the external camera on the sony ericssons? lets get an external gsensor
Maybe build in the battery like the fibration in the old Nokia 5100!
This thing must be possible.
I remember the game for Nokia phones, where you were controlling the ball in the maze. It was controlled by camera but it behaves like a g-sensor.
i dont know if this has been done but when you think about it many questions come to mind. first n foremost is depth. the softwares going to sense motion by motion in pictures from the cam. now if you have a white wall sufficiently lit and you shake your phone in front of it, hows a camera gonna judge motion from it? second, imagine a dot on the wall. now if ur close to it, theres gonna be alot more "motion" for the cam than if ur far away. i dont know the technicalities of the concept and if these problems will exist in a potential implementation, but, building on problems like these, i dont think its feasible or useful.
I think the theory behind it is fairly simple (and using the camera as a game input works as in Fishopolis http://rivia.net/Fishopolis.aspx Works on the Wizard). Take a pic A from camera at time x then take pic B from camera at time x + interval y then compare the two pics (get list of positions of same objects from both pix). If the objects in pic A are to the left of the same objects in pic B then you're moving right, left otherwise and a similar calc to determine up and down.
I think it is (actually know evidenced by the game previously mentioned) very doable and should take just as much battery power as using the video camera except for the storage since only a few images would need to be kept in memory at any one time and nothing needs to be stored on "disk".
Some matrix transformations and linear algerbra should do the trick... I'm sure someone has already done this in some form or another by now... Guess I'll see what I can dig up on the old internet.
why doesnt someone just work on internal accelerometers rather then trying to use the camera?

Simulate G-Sensor using camera

Hi all, have somebody thought about simulating the accelerometer using the phone camera? It's possible?
I couldn't find anything about this, sorry, but i'd be really happy to know that there's someone coding something like this...
PS: sorry for my poor english
i dont see this happening at all... i mean a image is produced by using light... how would that information tell u which way or which angle the phone is on :S
CashMoney18 said:
i dont see this happening at all... i mean a image is produced by using light... how would that information tell u which way or which angle the phone is on :S
Click to expand...
Click to collapse
Ok, but as the image moves the phone could know how am i moving it
Theoretically, it is possible. It would just be a huge battery sucker and not too accurate. I came across this game a long time ago, back when I still had my Titan (no accelerometer). It is called 3D Lawn Darts. It uses the camera to control your throws. Check it out:
http://www.brothersoft.com/3d-lawn-darts-for-pocket-pc-133547.html
dwizzy130
CashMoney18 said:
i dont see this happening at all... i mean a image is produced by using light... how would that information tell u which way or which angle the phone is on :S
Click to expand...
Click to collapse
It could work but only in a room covered with reference points all over the walls and floors like they use in 3D capture! LOL
I think the phone proccessor would choke on the proccessing! lol
there's a free app (i think) called CCSnake. Search for it. If you can't find it. Then search for Camera Controlled Snake. I tried it but the controls are not that good.
Asphyx said:
It could work but only in a room covered with reference points all over the walls and floors like they use in 3D capture! LOL
I think the phone proccessor would choke on the proccessing! lol
Click to expand...
Click to collapse
well not really.
Camera take as picture, then asks the user to set a referance point. somthing that stands out. It takes detaisl of that area (color shape, etc)
all further images are taken and referanced to that point. and the program then knows which way the PPC was turned. if you want rotaion then you just need two points.
For all movements just 3 referance points are needed.
This is very basic movemnets and your limited to the area you are in as the camera must see the original points. but it would work.
i saerched for this a long time and tought: maybe you can do it with an other part of the phone.
or maybe you can make a program to use this as a normal g-sensor with new accelerometer software.
erik
There was a game that I had on my old Motorola E815 that did just this. I think it was like a marble tilt game...it worked fairly well as long as you didn't move too fast and it wasn't too dark (or light for that matter, as the camera on the E815 was really mediocre).

Feature requests

Since the 2.3.3 update i've found SE have fixed the worst problems with the phone (particularly battery life). Hopefully in the 2.3.4 update we will get more improvements on top of just getting a new android version. So what features would you like to see SE work on in the xperia arc firmware? What doesnt work quite right?
Off the top of my head i'd like to see:
T9 dialling in the phone app
Ability to set image quality/jpeg compression level in the camera app
Improve the FM radio app (add the ability to manuall add, name & edit presets, and fix the bug where the radio fails after half an hour or so)
Some more folder graphics (e.g. travel, camera, android system, music, maps, etc)
Add the SE panorama app
Fix the manual ordering of apps after a phone restart
Implement digital zoom at 8MP just to stop people who dont understand how digital cameras work from moaning about it on forums
Anyone got any other suggestions?
Here are some more ideas:
http://talk.sonyericsson.com/message/73766
I agree with you on T9 dialing. That's really old school, so it should be in.
...aaaand +1 for the folder graphics. Nice someone else thinks of this, too. xD
Ability to set image quality/jpeg compression level in the camera app
+1 .
Heh, was planning to post a compliled list over there at some point, hence this topic. Wont do any good, i'm sure, but if you dont ask....
Well, SE seems to look into XDA as well (see KalleD's latest posts). And we might get a better list here anyway.
daveybaby said:
[*]Add the SE panorama app
[*]Implement digital zoom at 8MP just to stop people who dont understand how digital cameras work from moaning about it on forums
[/LIST]
Click to expand...
Click to collapse
What is Panorama app?
Explain the camera point?
Sent from my Xperia arc using Tapatalk
Mesho Arc said:
What is Panorama app?
Explain the camera point?
Sent from my Xperia arc using Tapatalk
Click to expand...
Click to collapse
-Digital zoom : http://en.wikipedia.org/wiki/Digital_zoom
Mesho Arc said:
What is Panorama app?
Click to expand...
Click to collapse
It's still in beta, and can apparently be made to work for the arc, but it's a bit of a faff.
http://forum.xda-developers.com/showthread.php?t=1123478
Explain the camera point?
Click to expand...
Click to collapse
Digital zoom doesnt really do anything at 8MP - you get the same effect by cutting a small chunk out of the middle of an 8MP image and resizing it back to 8MP. Or by taking a 2MP image with digital zoom (which is valid on an 8MP sensor) and then resizing that back to 8MP (which doesnt achieve anything).
So SE kind of logically left out the non-feature from 8MP - I'm sure it made sense to the engineers at the time. However i've seen lots of complaints on various forums about how the camera zoom doesnt work at 8MP. It's difficult to explain to people that theyre wrong and SE is right because every other phone camera they've seen does digital zoom. SE should have left it in just to save themselves grief from customers who are now convinced that the camera in the arc is crap.
thank you daveybaby
I want these features to be included in the next update:
ability to take a screen shot without root.
include camera effects, like blur,viggentti (or something like it).
improve video quality and pic quality, a lot of noise in them.
smart search(smart dial) feature should be added in 2.3.4
menu re-ordering and wifi stability problem should be sort out by SE
and new update should be issued with statutory warning regarding unlocked bootloaders...
I think first thing SE should do is improve the speed in some basic applications. The speed improved a lot in Arc but still phone application and agenda is laggy sometimes.
Mugur
http://mugur-ionescu.ro/tag/xperia
Would like to have an Airplane mode widget in the same style as the other ones.
cherryfish said:
Would like to have an Airplane mode widget in the same style as the other ones.
Click to expand...
Click to collapse
Try Switch Pro, you get all the widgets you need. And in case you don't want to pay for it, you will find it somewhere on the net
Mugur
http://mugur-ionescu/tag/xperia
imugur said:
I think first thing SE should do is improve the speed in some basic applications. The speed improved a lot in Arc but still phone application and agenda is laggy sometimes.
Mugur
http://mugur-ionescu.ro/tag/xperia
Click to expand...
Click to collapse
Agreed with this. The other ideas sound good too.
One thing i'd personally like would be the ability to modify the dock color/transparency. I happen to like the SE launcher but the fixed color/transparency of the dock doesn't give me a lot of options for theming.
imugur said:
Try Switch Pro, you get all the widgets you need. And in case you don't want to pay for it, you will find it somewhere on the net
Mugur
http://mugur-ionescu/tag/xperia
Click to expand...
Click to collapse
Ah, thanks, but it's not about having one.
There's already an airplane mode on/off in the bigger settings widget (don't know what it is called in English, sry ^^).
I simply like the design of the SE widgets so I would like to have this one, too. I already LOVE SE for re-designing the data connection widget with the latest update. It's awesome how they pay attention on something as small as that.
@cherryfish
Go checkout widgetsoid on the market, its free and should last you until se sort one out for you.

[Q] Hd2 camera? Any news?

Now with the 7740 mango update out could there be any hope for the camera drivers to work better with the HD2 since the Titan is from HTC? Or has this been a lost cause since most people are satisfied with the Candlelight no flash settings. J.W.
scortareo said:
Now with the 7740 mango update out could there be any hope for the camera drivers to work better with the HD2 since the Titan is from HTC? Or has this been a lost cause since most people are satisfied with the Candlelight no flash settings. J.W.
Click to expand...
Click to collapse
the problem is that the camera in the HD2 is kinda old now, unless a new device is released which uses the same camera we're out of luck with newer drivers.
The irony is that the actual CCD in the HD2 is more than capable of taking really good photos, even by todays standards, but the optics on the HD2 suck big time, which is why we have never had decent poor light photos.
All I want is for the green tinge to be gone. I found photos and videos of fairly decent quality otherwise, just would love to have an opportunity to take party pics and not look like a mermaid. The only solution for me at the moment is to use Android when taking pics, but Mango has better sharing facilities.
enigma1nz said:
All I want is for the green tinge to be gone. I found photos and videos of fairly decent quality otherwise, just would love to have an opportunity to take party pics and not look like a mermaid. The only solution for me at the moment is to use Android when taking pics, but Mango has better sharing facilities.
Click to expand...
Click to collapse
See i only get that green tint when the flash is on, i sware its to do with the timing, it seems like the flash turns off ever so slightly too quick,
Now light its self travels at a constant, but when that light interacts with different things, ie glass, different colours end up slowing down more than others, think of it like this, the harder something hits it, the easier it is to pass through, light has more or less energy depending on the frequency, which basically means some light ends up going faster than others as it passes throgh objects.
I think that the flash is turning off too quick meaning some of the light isnt actually making it to the CCD in time giving us a funny tint.
Id hazzard a guess that if you took off the screen protected to the camera or its IR filter it would actually be ok
dazza9075 said:
See i only get that green tint when the flash is on, i sware its to do with the timing, it seems like the flash turns off ever so slightly too quick,
Now light its self travels at a constant, but when that light interacts with different things, ie glass, different colours end up slowing down more than others, think of it like this, the harder something hits it, the easier it is to pass through, light has more or less energy depending on the frequency, which basically means some light ends up going faster than others as it passes throgh objects.
I think that the flash is turning off too quick meaning some of the light isnt actually making it to the CCD in time giving us a funny tint.
Id hazzard a guess that if you took off the screen protected to the camera or its IR filter it would actually be ok
Click to expand...
Click to collapse
YukiXDA fixed the green tint issue, and then unfixed it (see http://forum.xda-developers.com/showpost.php?p=14473423&postcount=438). It seems that the flash is not in synch with the shutter opening, and at the moment of the shutter opening the LEDs are warming up(or cooling down) and are not giving the correct colour.
I think xbmod's hardware solution of removing the IR filter is fine if you only use WP7.5 on your HD2. But for those of us dual-booting, with a perfectly good camera on android, it seems a drastic measure, especially as the effect on the android camera are unknown as yet (no reply from xbmod to my question, maybe he does not dual boot).
Robbie P said:
YukiXDA fixed the green tint issue, and then unfixed it (see http://forum.xda-developers.com/showpost.php?p=14473423&postcount=438). It seems that the flash is not in synch with the shutter opening, and at the moment of the shutter opening the LEDs are warming up(or cooling down) and are not giving the correct colour.
I think xbmod's hardware solution of removing the IR filter is fine if you only use WP7.5 on your HD2. But for those of us dual-booting, with a perfectly good camera on android, it seems a drastic measure, especially as the effect on the android camera are unknown as yet (no reply from xbmod to my question, maybe he does not dual boot).
Click to expand...
Click to collapse
Aye, thats what i said
Same cause same effect, just a different why!
Hadnt realised xboxmod had already done that, seems quite an extreme method!
you know, we're assuming its to do with the camera, there is every chance its actually the LED drivers thats buggered.
dazza9075 said:
Aye, thats what i said
Same cause same effect, just a different why!
Hadnt realised xboxmod had already done that, seems quite an extreme method!
you know, we're assuming its to do with the camera, there is every chance its actually the LED drivers thats buggered.
Click to expand...
Click to collapse
True, of course a simple solution is to set white balance to fluorescent or incandescent when taking photos under low light conditions (options not available to HD2 until SP1 I think), but it would be better to have a permanent solution.
hd2的相机驱动何时能有进展啊~~

[Q] Barcode Scanner

Obviously, the Nexus 7 does not have a camera installed on its back side. Can anyone confirm if any barcode scanning apps would work? I know it would be awkward trying to scan a barcode with the front camera, but if anyone knows please reply!
trampino96 said:
Obviously, the Nexus 7 does not have a camera installed on its back side. Can anyone confirm if any barcode scanning apps would work? I know it would be awkward trying to scan a barcode with the front camera, but if anyone knows please reply!
Click to expand...
Click to collapse
How would you expect to line up the barcode without being able to look at the screen? I think scanning is out...
None of the scanning apps allow use of the front facing camera, so unless they decide to add support, they're not going to work.
and it's incredibly unlikely to be honest.
Unlikely I agree.
But think about the last time you bought groceries.
The scanner is like a big tablet, and you just pass the item in front of the camera.
I can see no technical reason why that model would not work.
oh i'm sure it would work with the front camera, but none of the apps support it as far as i know.
I'm sure you could request that the devs add support. up to them if they want to.
A high resolution, autofocus camera is needed to read most barcodes. The front camera might be able to handle QR codes.
Yeaa... I thought about this a few days after i posted this.... Isnt that what phones are for? because im not bringing my tablet around anyway.. just thought it would be a cool thing to have, stupid question by my
Sent from my ADR6400L using xda premium
trampino96 said:
Yeaa... I thought about this a few days after i posted this.... Isnt that what phones are for? because im not bringing my tablet around anyway.. just thought it would be a cool thing to have, stupid question by my
Sent from my ADR6400L using xda premium
Click to expand...
Click to collapse
I don't think it is stupid. It may well be technologically unlikely. But no harm in asking the question. And if someone did this I'd be delighted. It would mean I could do my home shopping grocery order much quicker by just standing in my kitchen. I accept however that it is a long shot (very long).
Dunno knw why they gave a camera on first place..... To create a cheaper tablet.?
Sent from my GT-I9300 using xda app-developers app
Isn't it obvious?
vd1900 said:
Dunno knw why they gave a camera on first place..... To create a cheaper tablet.?
Click to expand...
Click to collapse
Video calls. That appears to be the only real reason, for Skype and other VOIP systems. The resolution and fixed focus would bear that out, too. It's clearly not ment to be used as a regular camera, scanner, etc (though I'm sure someone will figure out how to do it...)
And that's fine with me, because the competition (Kindle Fire, Nook) don't have even that camera.
Scanning apps
There are a couple of scanning apps now for the Nexus 7 such as LearnPad Scanner (I can't post links yet)
Learn pad does work with bar and qr codes. Just scanned my Pepsi bottle.
Rupert Rawnsley said:
There are a couple of scanning apps now for the Nexus 7 such as LearnPad Scanner (I can't post links yet)
Click to expand...
Click to collapse
That is cool, sadly I can't get it to read any barcodes though. I don't know what I'm doing wrong.
Worked great for me for scanning in barcode for Google Authenticator.
Are you holding the tablet in the correct orientation (landscape with camera on left when looking at N7) ?
Matchstick said:
Worked great for me for scanning in barcode for Google Authenticator.
Are you holding the tablet in the correct orientation (landscape with camera on left when looking at N7) ?
Click to expand...
Click to collapse
Yes I am. It must be me if it is working for everyone else. Or maybe UK barcodes don't work on it. It says it only does one type in its help pages.
Barcode Scanner+ works with front cameras
trampino96 said:
Obviously, the Nexus 7 does not have a camera installed on its back side. Can anyone confirm if any barcode scanning apps would work? I know it would be awkward trying to scan a barcode with the front camera, but if anyone knows please reply!
Click to expand...
Click to collapse
Hi, I'm an author of Barcode Scanner. It doesn't use the front camera since only rear cameras are treated as 'real' cameras by Android, and the API for using second cameras appeared later than the API leve the app supports (2.3), which makes it tricker.
We made a 'premium' version that does, among other things, support front-camera-only devices like the Nexus 7.
Search for "barcode scanner plus" on Google Play -- sorry I can't posts links yet.
seanrowen said:
Hi, I'm an author of Barcode Scanner. It doesn't use the front camera since only rear cameras are treated as 'real' cameras by Android, and the API for using second cameras appeared later than the API leve the app supports (2.3), which makes it tricker.
We made a 'premium' version that does, among other things, support front-camera-only devices like the Nexus 7.
Search for "barcode scanner plus" on Google Play -- sorry I can't posts links yet.
Click to expand...
Click to collapse
Sean,
Would it be possible to have the app scan a bar-code using a phone and send the information via Bluetooth to the tablet? That way we have the best of both worlds. I would certianly pay for "Plus" to get this option!
Just found this... was looking for a way to scan QR codes for shipping labels into the Nexus 7. Learnscan works good, just takes a bit getting used to lining it up as it is backwards and reversed from what you are used to.
Works good enough in a lit room. Scanning stuff off the screen is easier.
Can you just put the tablet down on the table, bring the product to the camera, and look at the screen to position the barcode?
It seems very doable.
you can... in fact that is what I end up doing, but it is much harder than you think it might be. the app changes the camera view by rotating it, so you are working against where you think you should be moving to have you end up seeing....
If you had anything to drink, forget about it...
You have to actually try it to see what I mean... its like driving backwards except the camera view you are looking at is rotated 90 degrees.
the app btw is free, or least the one I tried.

Categories

Resources