Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
1. Google Coral Camera
The i.MX 8M NAVQ + kit comes configured to support the Google Coral camera. The Coral camera connects to the kit through the MIPI-CSI2 interface and provides an easy way to bring visual input into the i.MX 8M Plus:
...
The camera is based on the Omnivision OV5645 chip. It provides auto focus, focal length 2.5mm, range 10cm-infinity and an 84.0 degrees / 87.6 degrees field-of-view. Link to the i.MX 8M Plus is via the dual-lane MIPI-CSI2 interface.
2. Connecting Coral Camera
To connect the Coral camera to the NAVQ+ kit, plug the camera cable into the CSI1 or CSI2 connector on the carrier board. The following picture illustrates connection of the camera to the kit:
...
3. Software Setup
For correct functioning of the Coral camera with NAVQ+ kit BSP release 1.1.6-364 or higher is required.
4. Finding Camera Device Nodes
Depending on additional hardware connected to the NAVQ+, the Coral camera may not be the only V4L2 device present in the system. In order to access the camera the user needs to determine the correct video device file node.
...
In the above output, the /dev/video3 device node corresponds to the camera connected to the CSI1 slot, while the /dev/video4 node represents the camera in the CSI2 slot.
5. Streaming Video to HDMI Display
Use the “Cheese” program shipped as part of Gnome desktop environment for streaming video input from the Coral camera to the HDMI display connected to the NAVQ+:
...
At this point you should be getting GUI window with video stream displayed in real-time on your HDMI display:
...
6. Capturing Video Frames
Use the following Linux command to capture a single frame into a file:
...