View Full Version : Front camera as ear detector
rafgerm
9th January 2009, 01:33 PM
HI,
Here's an idea for developers who doesn't know what app to write next.:rolleyes:
I was thinking about using a front camera as a ear/face detector. You start it along with the dialer and monitor the output. As long as the picture is bright above set threshold app does nothing, once the picture tuns black (when you put the phone to your head) the app turns off the screen, turns off outer speaker etc.
There is of course problem of calls at night but still I think it would be nice and maybe even useful app.
So, anyone want to try ?
dancj
9th January 2009, 02:16 PM
I'd have thought the biggest problem here would be telling the difference between my ear and the inside of my pocket.
operative1
9th January 2009, 03:34 PM
a motion sensor would be helpfull here :/
there was a great discussion about wearable computing on the chaos communication congress a few weeks ago.
they mentioned problems like "where is the device" ie. tracking the position on your body. on possible solution is sending and recognizing a sound played by the external speaker and recorded via the mic thus you can determine if its in the pocket or not ;)
sinning
9th January 2009, 04:35 PM
I'd have thought the biggest problem here would be telling the difference between my ear and the inside of my pocket.
Would this really be a problem? I'd think that turning the screen off while the device is in your pocket would be just as useful as while near your face.
sinning
9th January 2009, 04:38 PM
HI,
There is of course problem of calls at night
This could be at least partially solved by using the system clock to only have the app active during specified hours of the day.
codesplice
9th January 2009, 04:39 PM
Would this really be a problem? I'd think that turning the screen off while the device is in your pocket would be just as useful as while near your face.
Not to mention that the idea mentioned in the original post suggested starting the "ear-detection" with the dialer. Hopefully you don't routinely use the dialer while it's in your pocket.
tricsio
9th January 2009, 05:47 PM
This is a great idea... but do get me wrong; a face recognition app to unlock the device could be a start
dancj
9th January 2009, 07:57 PM
Ignore me I'm an idiot. I thought you wanted the phone to answer when it's up against your ear.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.