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
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.
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.
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.
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).
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"
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?