Thread
:
Terminal Command to take picture?
View Single Post
schettj
2009-12-23 , 19:21
Posts: 501 | Thanked: 292 times | Joined on Nov 2009
#
6
Originally Posted by
eiffel
Just hold the phone at arm's length, with the lens pointing towards you, and take the photo.
AKA "The Facebook Effect"
Everyone has one arm trailing out of frame now
There is a gstreamer command string you can put together to take a snapshot, but you probably need to enable the dev repository to install gstreamer? I don't recall what I've installed on mine and what is stock.
ah... so as root
apt-get install gstreamer-tools
and then...
gst-launch v4l2camsrc device=/dev/video0 num-buffers=1 ! dspjpegenc ! filesink location=test.jpg
Grabs a 640x480 shot from the back camera. Or /dev/video1 for the front cam
(if it complains about dspjpegenc, try omx_jpegenc)
Quote & Reply
|
The Following 3 Users Say Thank You to schettj For This Useful Post:
dvergin
,
qole
,
stefanmohl
schettj
View Public Profile
Send a private message to schettj
Find all posts by schettj