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

Re: Camera module! (And a picture of JamesH)

Wed Dec 05, 2012 11:36 am

I dug through the module datasheet and can find no reference to the max FOV, although we think that its about 70 - fairly standard for a sensor of this type. The CRA we think is the internal angle from lens centre to sensor edge, so double that and then need to take in to account the lens changing the angle (that's what lenses do!), which gives about 70.

Probably.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

Paul Jurczak
Posts: 30
Joined: Wed Feb 22, 2012 11:46 pm

Re: Camera module! (And a picture of JamesH)

Wed Dec 05, 2012 4:08 pm

shuckle wrote:Hmm. I probably do not understand this correctly, but the only angle I see is from the Omnivision pdf file: lens chief ray angle: 24°
I hope I got that wrong as this is pretty narrow in my opinion.
I would prefer something like 120 degrees: http://www.alibaba.com/product-gs/51627 ... 1080P.html

Well, I will see it when I can buy it :)
Chief ray angle is an optical specification of image sensor. It places some restrictions on optics geometry between sensor and the lens, in order to reduce pixel cross-talk and maintain satisfactory sensitivity. It doesn't directly concern the front side view angle, so you can use arbitrarily wide angle lens with this sensor.

Bear in mind that Raspberry Pi camera seems to be using an integrated lens module, so we may be stuck with its parameters. On the other hand, someone will attempt (count me in), to remove integrated lens and try to use standard lens mount (M12, C/CS).

Ravenous
Posts: 1956
Joined: Fri Feb 24, 2012 1:01 pm
Location: UK

Re: Camera module! (And a picture of JamesH)

Wed Dec 05, 2012 4:14 pm

Paul Jurczak wrote: Chief ray angle is an optical specification of image sensor. It places some restrictions on optics geometry between sensor and the lens, in order to reduce pixel cross-talk and maintain satisfactory sensitivity.
Ah, so the maximum angle at which light should reach the actual sensor? Thanks, very interesting...

beatmag
Posts: 25
Joined: Sun Apr 22, 2012 5:28 am

Re: Camera module! (And a picture of JamesH)

Thu Dec 06, 2012 9:02 am

I'm a beginner with cameras and linux.
But I wanted to ask, I understand that you guys a developing the software for the camera module now. Will this software component expose the camera as a linux camera device...

ie through, v4l or other camera interfaces which linux programs currently interface with usb cameras.
or if otherwise how does one interact or interface with this camera module?

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

Re: Camera module! (And a picture of JamesH)

Thu Dec 06, 2012 9:27 am

beatmag wrote:I'm a beginner with cameras and linux.
But I wanted to ask, I understand that you guys a developing the software for the camera module now. Will this software component expose the camera as a linux camera device...

ie through, v4l or other camera interfaces which linux programs currently interface with usb cameras.
or if otherwise how does one interact or interface with this camera module?
At the moment we are using OpenMAX (a Khronos standard) and a wrapper for OpenMAX called MMAL, which is a Broadcom library. MMAL is MUCH easier to use.

However, I do expect that in time V4L API's (and perhaps others) will becomes available, but perhaps not at the outset. This is certainly something the community could become involved in, as it requires no knowledge of the GPU - its all Arm side libraries.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

mala
Posts: 5
Joined: Thu Dec 06, 2012 10:17 pm

Re: Camera module! (And a picture of JamesH)

Thu Dec 06, 2012 10:37 pm

Have any test still images at the max size (2592x1944 presuming its the OV5647 sensor) been posted anywhere?
I've seen various video clips and video stills but for my application i'm interested in getting max res stills out of the PI+cam module at high frame rate,up to 15fps is possible?

Also am I correct in thinking that exposure can be set and left, not just constantly changing auto-exposure?
Apologies in advance if I missed this info somewhere else.

Ravenous
Posts: 1956
Joined: Fri Feb 24, 2012 1:01 pm
Location: UK

Re: Camera module! (And a picture of JamesH)

Fri Dec 07, 2012 10:21 am

The data sheet linked to on another thread (and mentioned in this one) states that resolution & rate are possible. (This doesn't necessarily mean it'll be supported on the raspi of course.)

Dunno about your other question so hopefully somebody else will comment if they know.

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

Re: Camera module! (And a picture of JamesH)

Fri Dec 07, 2012 3:25 pm

mala wrote:Have any test still images at the max size (2592x1944 presuming its the OV5647 sensor) been posted anywhere?
I've seen various video clips and video stills but for my application i'm interested in getting max res stills out of the PI+cam module at high frame rate,up to 15fps is possible?

Also am I correct in thinking that exposure can be set and left, not just constantly changing auto-exposure?
Apologies in advance if I missed this info somewhere else.
The GPU cannot support full resolution at 15fps. That's simply too much data to throw around the system. I'd need to chat to some people to get the max rate, but maybe max of 5fps at full resolution, probably less. In fact another problem you woudl encounter is SD card write rate - it's unlikely an SD card could keep up at those sorts of rates.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

mala
Posts: 5
Joined: Thu Dec 06, 2012 10:17 pm

Re: Camera module! (And a picture of JamesH)

Fri Dec 07, 2012 6:04 pm

Thanks for the info james.

What i was hoping to do was to trigger the cam to take 10-15 still images in a second,then it would idle until triggered again so not a continual full res "feed".
Could the stills be buffered in anyway before writing to Sd card ?

Would be very interested to find out what the max fps for full res stills would be if you can find out please.....also would be great if you could post a full res still capture using the cam of someones face or an object close to the cam, something to aid judging the possible quality of the stills

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

Re: Camera module! (And a picture of JamesH)

Fri Dec 07, 2012 6:53 pm

I'll hopefully be able to find this stuff out on Monday. Maybe even get some images.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

mala
Posts: 5
Joined: Thu Dec 06, 2012 10:17 pm

Re: Camera module! (And a picture of JamesH)

Sat Dec 08, 2012 10:30 am

Thanks,that would be great.

Maxion
Posts: 138
Joined: Mon Dec 03, 2012 2:22 pm

Re: Camera module! (And a picture of JamesH)

Sat Dec 08, 2012 11:58 am

jamesh wrote:I'll hopefully be able to find this stuff out on Monday. Maybe even get some images.
I'd also be highly interested in some sample images. Preferably outdoor scenes (IE scenes with a long distance-to-subject). I'm planning on using the Pi + camera module to make a remote, battery backup'ed, weatherproof timelapse / monitor solution. The camera module you're designing looks very attractive for this as it seems to have adequate image quality, comes in a VERY tight package and since it's just a board it's easy to make a custom case for it.

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

Re: Camera module! (And a picture of JamesH)

Sat Dec 08, 2012 3:13 pm

Maxion wrote:
jamesh wrote:I'll hopefully be able to find this stuff out on Monday. Maybe even get some images.
I'd also be highly interested in some sample images. Preferably outdoor scenes (IE scenes with a long distance-to-subject). I'm planning on using the Pi + camera module to make a remote, battery backup'ed, weatherproof timelapse / monitor solution. The camera module you're designing looks very attractive for this as it seems to have adequate image quality, comes in a VERY tight package and since it's just a board it's easy to make a custom case for it.
If I can find a Pi with camera module (might take longer than Monday!), I'll probably only be able to do shots in the ISP lab, so low light (compared with bright daylight - not that there is going to be much of that around anyway). But they should be pretty indicative.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

User avatar
Gert van Loo
Posts: 2487
Joined: Tue Aug 02, 2011 7:27 am

Re: Camera module! (And a picture of JamesH)

Sat Dec 08, 2012 3:18 pm

James, there is a camera module on my desk.
(Untested).

pygmy_giant
Posts: 1562
Joined: Sun Mar 04, 2012 12:49 am

Re: Camera module! (And a picture of JamesH)

Sat Dec 08, 2012 3:27 pm

I think it would be uber-cool if the camera could work with this software: http://eyewriter.org/developer/

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

Re: Camera module! (And a picture of JamesH)

Sat Dec 08, 2012 3:35 pm

Gert van Loo wrote:James, there is a camera module on my desk.
(Untested).
Cheers!
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

6677
Posts: 386
Joined: Wed Mar 14, 2012 9:23 pm

Re: Camera module! (And a picture of JamesH)

Sat Dec 08, 2012 10:19 pm

In before james breaks the pi with camera on gert's desk.

User avatar
jbeale
Posts: 4003
Joined: Tue Nov 22, 2011 11:51 pm

Re: Camera module! (And a picture of JamesH)

Tue Dec 11, 2012 1:43 am

Feel free to print out some of the resolution test patterns I have on my web page, if that helps! If you have a portable desk lamp to get more light on the subject, it will probably improve the camera image over relying just on typical office overhead fluorescent lights.
http://www.bealecorner.org/red/test-patterns/

Maxion
Posts: 138
Joined: Mon Dec 03, 2012 2:22 pm

Re: Camera module! (And a picture of JamesH)

Tue Dec 11, 2012 10:05 am

I'm most interested in the focus on the camera.

Is it autofocus? If not what is the focus set at?

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

Re: Camera module! (And a picture of JamesH)

Tue Dec 11, 2012 10:34 am

jbeale wrote:Feel free to print out some of the resolution test patterns I have on my web page, if that helps! If you have a portable desk lamp to get more light on the subject, it will probably improve the camera image over relying just on typical office overhead fluorescent lights.
http://www.bealecorner.org/red/test-patterns/
I have a fully equipped camera test lab to play with so should be OK!!!
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

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

Re: Camera module! (And a picture of JamesH)

Tue Dec 11, 2012 10:34 am

Maxion wrote:I'm most interested in the focus on the camera.

Is it autofocus? If not what is the focus set at?
Hyperfocal I believe.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

mala
Posts: 5
Joined: Thu Dec 06, 2012 10:17 pm

Re: Camera module! (And a picture of JamesH)

Tue Dec 11, 2012 10:46 am

In my little noob brain,there is one thing I can't get my head round..

The first example pics and "talk" at the start of this thread were about a 14MP camera.

From what I've read in reaction to people asking if camera x,y,z could be used with the PI,we are told that it takes a great deal of time tuning the GPU to work with the camera and therefore the PI will only work with the official supplied camera.

The released camera is going to be a 5MP cam....so what happened to all the "tuning" for the 14MP cam you originally were testing?

This "tuning" is all in the GPU ? which we can't mess with ? Yet presumably this tuning has to be somehow delivered to the GPU by some kind of update ?
So couldn't we get the tuning for the 14MP cam as well?

Feel free to shoot me down in flames..and explain in very very simple words what i've not understood. :oops:

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

Re: Camera module! (And a picture of JamesH)

Tue Dec 11, 2012 12:17 pm

mala wrote:In my little noob brain,there is one thing I can't get my head round..

The first example pics and "talk" at the start of this thread were about a 14MP camera.

From what I've read in reaction to people asking if camera x,y,z could be used with the PI,we are told that it takes a great deal of time tuning the GPU to work with the camera and therefore the PI will only work with the official supplied camera.

The released camera is going to be a 5MP cam....so what happened to all the "tuning" for the 14MP cam you originally were testing?

This "tuning" is all in the GPU ? which we can't mess with ? Yet presumably this tuning has to be somehow delivered to the GPU by some kind of update ?
So couldn't we get the tuning for the 14MP cam as well?

Feel free to shoot me down in flames..and explain in very very simple words what i've not understood. :oops:
We have a number of camera that already have drivers and tunings. The 5MP one is one of those, although the tuning isn't as good as it could be, it's pretty good.

Tuning is part of the GPU blob, so when you get the camera board you will need to update the blob, and it will all just work. The blob could contain drivers and tuning for a number of different cameras, depending on what the Foundation is allowed to release, but each camera board (pcb) needs to be different for each camera, so i guess if someone wanted to build their own camera PCB, and that camera was already supported, then it could work. The GPU can auto detect the camera and use the appropriate code. However, I do not know if more than one camera driver will be put in the blob, that's down to the agreement between Broadcom and the Foundation.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

mala
Posts: 5
Joined: Thu Dec 06, 2012 10:17 pm

Re: Camera module! (And a picture of JamesH)

Tue Dec 11, 2012 2:51 pm

Thanks James,all understood.
Good to know the door isn't totally closed to using other cams..with luck.

Do you have any stills with 5mp cam to show yet?

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

Re: Camera module! (And a picture of JamesH)

Tue Dec 11, 2012 3:46 pm

mala wrote:Thanks James,all understood.
Good to know the door isn't totally closed to using other cams..with luck.

Do you have any stills with 5mp cam to show yet?
No stills yet - I was out of office yesterday, but I now have the camera module, just need the software. Will hopefully sort that out tonight, but rather busy at the moment.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.

Return to “Camera board”