Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ychan261
Beginner
1,325 Views

How to use 8 MP RGB & VGA Camera?

I only know how to use RealSense for previewing at this https://github.com/intel-aero/meta-intel-aero/wiki/WiFi-Streaming WiFi Streaming · intel-aero/meta-intel-aero Wiki · GitHub.

But it doesn't mention the other 2 camera (8 MP camera & VGA camera), how can I test it or see the video they capture?

P.S. compute board can't connect to HDMI monitor, so I use wifi streaming to see the video capture by RealSense camera

0 Kudos
10 Replies
idata
Community Manager
51 Views

Hello,

 

 

Thanks for reaching out.

 

 

I have found this other thread that you can use as reference: https://communities.intel.com/thread/110654 https://communities.intel.com/thread/110654, another community member added a sample app to use the camera, so I recommend you to check it.

 

 

These are the links that they are using: https://github.com/intel-aero/sample-apps, https://github.com/intel-aero/intel-aero-samples.

 

 

I hope you find this information useful, and don't doubt to ask us if you still have issues.

 

 

Have a nice day.

 

 

Regards,

 

Leonardo R.
ychan261
Beginner
51 Views

Hi Leonardo,

I don't know how to use bitbake, so I just compile the sample app on the compute board.

I take a picture by the VGA camera successfully with the sample app, but I still don't know how to use 8 MP camera with the app.

idata
Community Manager
51 Views

Hello,

 

 

Thank you so much for letting us know.

 

 

We are running some tests about this case, we will contact you when we have updates.

 

 

Thank you for your patience.

 

 

Regards,

 

Leonardo R.
idata
Community Manager
51 Views

Hello,

 

 

According to this thread: https://communities.intel.com/thread/110654 https://communities.intel.com/thread/110654, when you create the sample application, you have to use these commands to test them:

 

 

sh-4.3# C=10 INPUT=0 MODE=PREVIEW capture_example --userp -d /dev/video0  sh-4.3# C=10 INPUT=1 MODE=PREVIEW capture_example --userp -d /dev/video0

 

 

To clarify INPUT=0 is the 8 MP RGB camera, and INPUT=1 is the VGA camera. Now, if you use the second command with INPUT=1, the images generated by the first command will be overwritten. That's why you don't see the RGB camera images.

 

 

I tested both and they work, so please try it again and let us know. And as a recommendation use a good source of light (especially with the RGB camera).

 

 

Regards,

 

Leonardo R.
ychan261
Beginner
51 Views

Hi Leonardo,

You are right, the 2 cameras work.

Thanks for your testing.

idata
Community Manager
51 Views

Hello,

 

 

That's great. Thank you so much for letting us know.

 

 

It was a pleasure to help you.

 

 

Regards,

 

Leonardo R.
KVanK
Beginner
51 Views

Hello,

Do you mind sharing how you built the sample app on the Aero Compute board? I'm having a problem building it.

Thanks,

 

Kevin
ychan261
Beginner
51 Views

Hi,

I just use this (https://github.com/intel-aero/intel-aero-samples/blob/master/recipes-samples/sample-apps/sample-apps... intel-aero-samples/sample-apps.bb at master · intel-aero/intel-aero-samples · GitHub) information to write a makefile and then "make"

KVanK
Beginner
51 Views

OK, thanks! It now builds. But now when I run the example I get an error:

root@intel-aero:/# C=10 INPUT=0 MODE=PREVIEW capture_example --userp -d /dev/video0

Preview mode: 640x480, yuv420.

VIDIOC_S_FMT error 22, Invalid argument

Did you ever see this?

ychan261
Beginner
51 Views

Sorry, I don't know why