![]() |
2013-03-18
, 19:14
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#2
|
Location: Outdoors Weather conditions: cloudy Ambient Light: Dim Main Theme: landscape/sunset Focus: steady - infinity Timing: linear (1 every 5 minutes) Notes: Some notes
#!/bin/sh ### YOUR SCRIPT HERE ###
The Following 4 Users Say Thank You to qwazix For This Useful Post: | ||
![]() |
2013-03-19
, 04:03
|
Moderator |
Posts: 6,215 |
Thanked: 6,400 times |
Joined on Nov 2011
|
#3
|
![]() |
2013-03-19
, 20:40
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#6
|
The Following User Says Thank You to qwazix For This Useful Post: | ||
![]() |
2013-03-19
, 21:56
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#7
|
@caveman, there is a --path parameter to choose the directory I just forgot to document it. It does not specify filename though. I can do that but I won't implement a mechanism to auto-increment. You'll have to do that in your script.
for i in $(seq 1 10); do time /opt/cmdCam/bin/cmdCam --exposure 30000 done
for i in $(seq 1 10); do /opt/cmdCam/bin/cmdCam sleep 56 done
![]() |
2013-03-20
, 18:21
|
Posts: 230 |
Thanked: 302 times |
Joined on Oct 2009
@ Helsinki, Suomi (Finland)
|
#8
|
![]() |
2013-04-21
, 19:37
|
|
Moderator |
Posts: 2,622 |
Thanked: 5,447 times |
Joined on Jan 2010
|
#9
|
if (size == "S"){ width = 816; height = 608; } else if (size == "M"){ width = 1632; height = 1232; } else if (size == "XL"){ width = 3264; height = 2455; }
The Following User Says Thank You to qwazix For This Useful Post: | ||
My idea for this was quite different. I imagined an application where you could program exactly the timing, not only of the photos, but of the actions during the photos. For example you could program it to open the shutter, fire the flash 3 times quickly, then focus closer fire the flash again and close the shutter. I experimented a bit with boost.python and managed to make a binary which, while it does control the camera (I can hear the lens) it hangs without much info of what is happening.
So for now I have settled with a much more low-tech solution. I made a simple command line camera which can be controlled with your plain old shell scripts (or timed, or python) to take photos with whatever settings you pass as parameters.
Of course you'll need developer mode to run it. Ignore the origin complaint aegis will spit out during installation and run it in a develsh shell as user.
Available parameters
Download here http://maemo.qwazix.com/cmdCam/
Please share your scripts below. I will provide an example template for sharing scripts in the second post so that are easy to use.
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow
Nemo UX blog: Grog
My website: qwazix.com
My job: oob
Last edited by qwazix; 2013-04-21 at 19:34.