Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
1,883 Views

Get image from MIPI camera OV7251 nad OV8858 local not stream

Dear All,

we are looking to get the image (stream ) from two MIPI cameras OV7251 (global shutter VGA) OV8858 (rolling shutter HD ) on Intel Aero board on local monitor that is connected with HDMI cable to the Aero board with gstreamer.

Please tell us how can we do this? We are aware of https://github.com/intel-aero/meta-intel-aero/wiki/06-Cameras-and-Video 06 Cameras and Video · intel-aero/meta-intel-aero Wiki · GitHub and we don't want to use streaming over WiFI.

We want to use command like this: gst-launch-1.0 v4l2src /dev/videox (video x is eg video1 ) ! autovideoconvert ! autovideosink OR gst-launch-1.0 v4l2src /dev/videox ! format ! xvimagesink

How can we do this ??

We are using:

BIOS_VERSION = Aero-01.00.13

OS_VERSION = Poky Aero (Intel Aero Linux Distro) 1.6.1 (pyro)"

AIRMAP_VERSION = 1.8

FPGA_VERSION = 0xc2

AeroFC firmware version = 1.6.5

We noticed that there are some error in dmesg with OV7251.

[ 3.574667] ov7251 i2c-INT35AA:00: gmin: initializing atomisp module subdev data.PMIC ID 1

[ 3.574722] acpi INT35AA:00: Failed to find gmin variable INT35AA:00_CamClk

[ 3.574879] acpi INT35AA:00: Failed to find gmin variable INT35AA:00_ClkSrc

[ 3.574930] acpi INT35AA:00: Failed to find gmin variable INT35AA:00_CsiPort

[ 3.575070] acpi INT35AA:00: Failed to find gmin variable INT35AA:00_CsiLanes

[ 3.575378] acpi INT35AA:00: Failed to find gmin variable INT35AA:00_eldo1_1p8v

[ 3.575543] acpi INT35AA:00: Failed to find gmin variable INT35AA:00_eldo1_sel_reg

[ 3.575682] acpi INT35AA:00: Failed to find gmin variable INT35AA:00_eldo1_ctrl_shift

[ 3.575821] acpi INT35AA:00: Failed to find gmin variable INT35AA:00_eldo2_1p8v

[ 3.575961] acpi INT35AA:00: Failed to find gmin variable INT35AA:00_eldo2_sel_reg

[ 3.576100] acpi INT35AA:00: Failed to find gmin variable INT35AA:00_eldo2_ctrl_shift

[ 3.609534] ov7251 i2c-INT35AA:00: camera pdata: port: 0 lanes: 1 order: 00000002

[ 3.613538] ov7251 i2c-INT35AA:00: sensor_revision = 0x0

[ 3.613542] ov7251 i2c-INT35AA:00: detect ov7251 success

[ 3.620090] input: ov7251 as /devices/virtual/input/input4

[ 3.620442] ov7251 i2c-INT35AA:00: register atomisp i2c module type 1

[ 3.626493] tal test probe called

[ 3.632176] ov7251 i2c-INT35AA:01: gmin: initializing atomisp module subdev data.PMIC ID 1

[ 3.632436] acpi INT35AA:01: Failed to find gmin variable INT35AA:01_CamClk

[ 3.632607] acpi INT35AA:01: Failed to find gmin variable INT35AA:01_ClkSrc

[ 3.632659] acpi INT35AA:01: Failed to find gmin variable INT35AA:01_CsiPort

[ 3.632805] acpi INT35AA:01: Failed to find gmin variable INT35AA:01_CsiLanes

[ 3.633116] acpi INT35AA:01: Failed to find gmin variable INT35AA:01_eldo1_1p8v

[ 3.633258] acpi INT35AA:01: Failed to find gmin variable INT35AA:01_eldo1_sel_reg

[ 3.635467] acpi INT35AA:01: Failed to find gmin variable INT35AA:01_eldo1_ctrl_shift

[ 3.635612] acpi INT35AA:01: Failed to find gmin variable INT35AA:01_eldo2_1p8v

[ 3.635754] acpi INT35AA:01: Failed to find gmin variable INT35AA:01_eldo2_sel_reg

[ 3.635895] acpi INT35AA:01: Failed to find gmin variable INT35AA:01_eldo2_ctrl_shift

[ 3.668474] ov7251 i2c-INT35AA:01: camera pdata: port: 1 lanes: 1 order: 00000002

[ 3.669134] ov7251 i2c-INT35AA:01: read from offset 0x300a error -121

[ 3.676402] ov7251 i2c-INT35AA:01: sensor_id_high = 0x0

[ 3.682287] ov7251 i2c-INT35AA:01: ov7251_detect err s_config.

[ 3.691652] ov7251 i2c-INT35AA:01: sensor power-gating failed

Please can you look at this?

Also please can you share the correct dmesg from your aero platform?

Best Regards,

David.

0 Kudos
7 Replies
Highlighted
Community Manager
93 Views

Hello David,

 

 

Thank you for your interest in the Intel Aero drone.

 

Your request has been received and is currently being investigated.

 

We will get back to you as soon as possible.

 

 

Regards,

 

Octavian

 

0 Kudos
Highlighted
Community Manager
93 Views

Hello David,

 

 

There are some limitations to using the OV7251 camera. There is a sequence of operations that need to be completed as shown in the sample app.

 

You can see how we use the camera on the optical flow example and camera streaming daemon.

 

https://github.com/intel-aero/aero-optical-flow https://github.com/intel-aero/aero-optical-flow

 

https://github.com/intel/camera-streaming-daemon/blob/master/src/stream_aero_bottom.cpp https://github.com/intel/camera-streaming-daemon/blob/master/src/stream_aero_bottom.cpp

 

 

Additional information can be found here:

 

https://github.com/intel-aero/meta-intel-aero/wiki/06-Cameras-and-Video# take-a-photo-with-the-black-and-white-camera https://github.com/intel-aero/meta-intel-aero/wiki/06-Cameras-and-Video# take-a-photo-with-the-black-and-white-camera

 

 

Regarding the 8MP camera we are still looking into a known issue.

 

 

Hope this helps.

 

 

Regards,

 

Octavian
0 Kudos
Highlighted
Novice
93 Views

Dear Octavian,

thank you for the replay, we will try to capture the image from OV7251 as you suggested with the sample app.

Regarding the OV8858, ok there are some issues with underexposed picture.

But can you tell me where is the sample app for the HD OV8858 camera ?

Or can we get the stream ( doesn't mater if underexposed) with gstreamer from the OV8858?

Which device corresponds to the OV8858 camera?

Best Regards,

David.

0 Kudos
Highlighted
Community Manager
93 Views

Hello David,

Thank you for your answer.

It seems that for this camera there also is a known limitation regarding the underexposed pictures and the engineering team is currently looking into it.

 

Also, the same sample applies to the OV8858 camera as well.

https://github.com/intel-aero/meta-intel-aero/wiki/06-Cameras-and-Video%23video-streaming https://github.com/intel-aero/meta-intel-aero/wiki/06-Cameras-and-Video# video-streaming

Also, can you please clarify your last question? I'm not sure what you're referring to.

Regards,

 

Octavian
0 Kudos
Highlighted
Novice
93 Views

Dear Octavian,

1) you said that i can stream with OV8858 and gstreamer , how? What is the gstreamer command ?

2) My last question: ( in the link that you send https://github.com/intel-aero/meta-intel-aero/wiki/06-Cameras-and-Video# take-a-photo-with-the-black-and-white-camera 06 Cameras and Video · intel-aero/meta-intel-aero Wiki · GitHub the OV7251 corresponds to /dev/video2 ) ( and the /dev/video11, /dev/video12, /dev/video13 corresponds to Real sense camera )

My question is to what dev node corresponds the OV8858 camera ? /dev/videoX, where the X is ?

Best Regards,

David.

0 Kudos
Highlighted
Community Manager
93 Views

Hello David,

 

 

I apologize for the confusion.

The 8 MP camera can be accessed with /dev/video2 (ID 0) but you can't stream this device with gstreamer. You can find sample code from here: https://github.com/intel-aero/sample-apps https://github.com/intel-aero/sample-apps

C=10 INPUT=0 MODE=PREVIEW ./capture_v4l2 --userp -d /dev/video2

 

 

Hope this helps.

 

 

Regards,

 

Octavian
0 Kudos
Highlighted
Community Manager
93 Views

Hello David,

 

 

Do you require any more assistance with this issue?

 

 

Regards,

 

Octavian
0 Kudos