takenoha
Posts: 14
Joined: Thu Jun 20, 2013 2:00 pm

about camera module

Wed Sep 11, 2013 7:29 am

Hi,

I have taken the following at the camera module of raspberry pi
$ raspistill-o image.jpg

I think it's basic commands.
However, an image that is visible between the display for 5 seconds, an image actually shot are different.
For example, an object that is to be displayed in full screen during the 5 seconds, looking at the image that was actually shot, I feel the object is displayed in a small size in the image.

Should this happen? Failure?
I'm having problems when not know have been examined causes
# I think it also be due because you change the focal length

Is there a way to fix this? Or Is there such as a command to capture an image that is displayed for five seconds?

Thanks
takenoha

JoeDaStudd
Posts: 274
Joined: Fri Jan 27, 2012 1:34 pm

Re: about camera module

Wed Sep 11, 2013 8:11 am

The standard command displays preview window for 5 seconds.
I believe this is so you can line up the camera before it takes the shot.
You can remove the preview window by using the parameter -n.

Do you mean capture the 5 seconds of video, take the photo then display it for 5 seconds or something else?

EDIT: Here's a link to the documentation pdf.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 25382
Joined: Sat Jul 30, 2011 7:41 pm

Re: about camera module

Wed Sep 11, 2013 8:21 am

takenoha wrote:Hi,

I have taken the following at the camera module of raspberry pi
$ raspistill-o image.jpg

I think it's basic commands.
However, an image that is visible between the display for 5 seconds, an image actually shot are different.
For example, an object that is to be displayed in full screen during the 5 seconds, looking at the image that was actually shot, I feel the object is displayed in a small size in the image.

Should this happen? Failure?
I'm having problems when not know have been examined causes
# I think it also be due because you change the focal length

Is there a way to fix this? Or Is there such as a command to capture an image that is displayed for five seconds?

Thanks
takenoha
The preview code uses a video mode so that it can run at 30fps, when the capture is made, the mode used is a high resolution one, which uses a larger part of the sensor.

This is on my list of bugs to fix (ie new video mode that works at full frame)
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I own the world’s worst thesaurus. Not only is it awful, it’s awful."

takenoha
Posts: 14
Joined: Thu Jun 20, 2013 2:00 pm

Re: about camera module

Wed Sep 11, 2013 12:21 pm

Thanks for reply
Sorry, I did not write English well

I want to take a photo, not video.
I hit the command as follows:
$raspistill -o image.jpg

After hit command, preview is displayed on the display ( for 5 seconds ).
After 5 seconds, photo is taken and saved.
But, one image displayed in the preview image and the stored is different.
The stored image represents the wider range than an image displayed by a preview.
I do not know why this happens.
I want to save a displayed photo in the preview.

help me.
takenoha

User avatar
RaTTuS
Posts: 10538
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: about camera module

Wed Sep 11, 2013 12:55 pm

what jamesh fixes the preview code this will happen
as it is now
the preview is a smaller image than the actual image
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 25382
Joined: Sat Jul 30, 2011 7:41 pm

Re: about camera module

Wed Sep 11, 2013 1:49 pm

Try the --fp option, which reduces the frame rate of the preview but does use the full field of view.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I own the world’s worst thesaurus. Not only is it awful, it’s awful."

takenoha
Posts: 14
Joined: Thu Jun 20, 2013 2:00 pm

Re: about camera module

Wed Sep 11, 2013 4:11 pm

I tried --fp option, but I did not took a photo which displayed in the preview (no --fp option).
I want to take a photo which displayed in the preview.

Why preview window is smaller than actually taken photo?
I trouble to adjust the distance between the object and the camera.
If I can take same photo (preview and actually), it is easy to adjust distance.

To take the same image as the look of the preview, what would I should do?
Sorry for my poor English sentence, but please advice for my trouble.
takenoha

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 25382
Joined: Sat Jul 30, 2011 7:41 pm

Re: about camera module

Wed Sep 11, 2013 4:44 pm

takenoha wrote:I tried --fp option, but I did not took a photo which displayed in the preview (no --fp option).
I want to take a photo which displayed in the preview.

Why preview window is smaller than actually taken photo?
I trouble to adjust the distance between the object and the camera.
If I can take same photo (preview and actually), it is easy to adjust distance.

To take the same image as the look of the preview, what would I should do?
Sorry for my poor English sentence, but please advice for my trouble.
takenoha
See my post above. The preview uses a different camera mode that uses a smaller part of the sensor. I need to develop a new mode that works at 30fps but uses the whole sensor - I haven't had time to do that.

What is the problem with -fp? That should do what you want, but at a lower preview frame rate.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I own the world’s worst thesaurus. Not only is it awful, it’s awful."

takenoha
Posts: 14
Joined: Thu Jun 20, 2013 2:00 pm

Re: about camera module

Thu Sep 12, 2013 2:35 am

Does not mean there is a problem with the --fp.
It is only different --fp and what I want to do

That, when I want to adjust the distance of a object and camera to take a photo in the entire picture size, do I need to check the saved photos?
Is it impossible to adjust while watching the preview?

If so, I accept that it is a kind of settings.

Return to “Camera board”