maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 Video focus and led light, python script (https://talk.maemo.org/showthread.php?t=46427)

m2cm2c 2010-05-30 02:32

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by zimon (Post 688426)
start_proximity helped. Now I can see the controls when proximity sensor is covered.

However, is it normal, "sudo lfocus start" never returns until quit with CTRL+C?

If one keeps camera in the stand by, not closing the lens cover or camera application, but just leaving it to the backgroung; then using keyboard to type a message for example will adjust the focus and turn LEDs on/off? Maybe you could make a change, that if Camera application is not in the foreground, then do nothing although the keys are pressed.

since you have the controls showing up, I suggest that you use the interface instead of the command line, so you should use the keyboard icon in the status menu to toggle the keyboard script.

zimon 2010-05-30 18:21

Re: N900 Video focus and led light, python script
 
Seems to work fine just from status menu, without needing keyboard or to reserve proximity sensor for this job. Good!
The problem with proximity sensor was, that even when Camera application was closed, covering proximity sensor brought the lfocus controls in front, for example in Desktop view, Browser view or anywhere.

I do not know if it is possible to know which program is on the foreground, but maybe lfocus could ignore both proximity sensor and keyboard when Camera is not on the foreground, whether or not they are enabled from the status menu.
That way one could use proximity sensor also for other jobs, but for lfocus when Camera is in front. (Would have to ask shortcutd then again ignore proximity sensor when Camera is front.)

The reason I have no lens cover, is because I use the old version of Mugen battery back cover. The old version has space available under the cover. I have microSD-USB-adapter, 2nd microSD card and tiny Bluetooth-adapter all hidden under the cover, for all kind of sudden data transfer needs on the road. ;) Yet to find small enough microUSB-USB adapter to fit inside also to have emergency charge ability wherever is a USB-slot available.

But I can also see that someone would want to keep lens cover and camera application open in the background, to make it quicker available for next use or to continue previously paused video recording.

m2cm2c 2010-05-31 10:04

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by zimon (Post 690293)
Seems to work fine just from status menu, without needing keyboard or to reserve proximity sensor for this job. Good!
The problem with proximity sensor was, that even when Camera application was closed, covering proximity sensor brought the lfocus controls in front, for example in Desktop view, Browser view or anywhere.

I do not know if it is possible to know which program is on the foreground, but maybe lfocus could ignore both proximity sensor and keyboard when Camera is not on the foreground, whether or not they are enabled from the status menu.
That way one could use proximity sensor also for other jobs, but for lfocus when Camera is in front. (Would have to ask shortcutd then again ignore proximity sensor when Camera is front.)

The reason I have no lens cover, is because I use the old version of Mugen battery back cover. The old version has space available under the cover. I have microSD-USB-adapter, 2nd microSD card and tiny Bluetooth-adapter all hidden under the cover, for all kind of sudden data transfer needs on the road. ;) Yet to find small enough microUSB-USB adapter to fit inside also to have emergency charge ability wherever is a USB-slot available.

But I can also see that someone would want to keep lens cover and camera application open in the background, to make it quicker available for next use or to continue previously paused video recording.

Hey, thanks for the good idea, right now the script was made to take advantage of the lens cover signals, but I'll take into count your idea for newer releases :D

anaskr 2010-06-03 17:49

Re: N900 Video focus and led light, python script
 
is there a way to just remove the red light ?!! cuz whenever i open the camera the ifocus automatically pops outs !! and sometime while taking a pictures it dosn save and the camera application closes!!

maxximuscool 2010-06-03 21:46

Re: N900 Video focus and led light, python script
 
LIVE FOCUS BUGs!!

The live focus slide bar keep on appearing on the screen automatically whenever the camera lense is opened!

An annoyance sound when sliding the bar!!


I would like the BAR to be gone and replace it with + and - button with a display number of focus box instead.

This way we always get the best manual focus point by point. The slide bar is just not accurate enough.

m2cm2c 2010-06-04 03:10

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by anaskr (Post 698077)
is there a way to just remove the red light ?!! cuz whenever i open the camera the ifocus automatically pops outs !! and sometime while taking a pictures it dosn save and the camera application closes!!


Quote:

Originally Posted by maxximuscool (Post 698471)
LIVE FOCUS BUGs!!

The live focus slide bar keep on appearing on the screen automatically whenever the camera lense is opened!

An annoyance sound when sliding the bar!!


I would like the BAR to be gone and replace it with + and - button with a display number of focus box instead.

This way we always get the best manual focus point by point. The slide bar is just not accurate enough.

I recommend that you both read the first post on this thread for information on how lfocus works now and what I'm planning to do, read the changelog for my notes on lfocus releases and read the latest posts on this thread :D

NokiaRocks 2010-06-10 14:52

Re: N900 Video focus and led light, python script
 
I can't really find a solution for the always upcoming bar when opening the camera, even when I just want to use it as flashlight.
Could someone help me, cause I don't want to uninstall this great app !

eitama 2010-06-10 14:55

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by NokiaRocks (Post 708882)
I can't really find a solution for the always upcoming bar when opening the camera, even when I just want to use it as flashlight.
Could someone help me, cause I don't want to uninstall this great app !

It's a newly added feature, using the proximity sensor as a shortcut to open the bar, don't put your finger on it, and it won't happen

NokiaRocks 2010-06-10 15:18

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by eitama (Post 708887)
It's a newly added feature, using the proximity sensor as a shortcut to open the bar, don't put your finger on it, and it won't happen

loool. :p failed
Thx 4 your hint !

fw190 2010-06-11 09:26

Re: N900 Video focus and led light, python script
 
There is some sort of a conflict with blessn900 app. Could this be solved somehow? When I start blessn900 the focus app pops out. Would there be a possibility to add a livefocus menu to settings and the ability to turn it off completely for some time to avoid conflict?


All times are GMT. The time now is 00:06.

vBulletin® Version 3.8.8