Skip to main content
By the end of this section, you will have learned about the following topics.
  • Sending the camera through the hardware ISP to a display, a JPEG or an H.264 file
  • Using the tiovxisp element in your own GStreamer pipelines
  • Watching auto exposure and capturing raw frames without the ISP
The commands below need the steps in Installation to be complete and camera-isp-sdk setup to have run after boot. Commands that use the ISP are run as root with the Edge AI environment loaded; without it the hardware accelerators do not work.

1. Ready-Made Pipelines

camera-isp-sdk pipeline builds the camera → ISP → output pipeline from the sensor’s descriptor. --run starts it.
Display (HDMI/DSI)
Photo
Video (300 frames, H.264)
Frame rate measurement

2. Your Own GStreamer Pipeline

Without --run the command prints the pipeline as a gst-launch-1.0 command. You can use it as a starting point for your own pipeline.
The Camera ISP SDK specific part of the pipeline is the parameters of tiovxisp:
  • sensor-name: the descriptor’s ID (ov5647). The element reads the descriptor from /usr/share/camera-isp-sdk/sensors/, or from the directories in CAMERA_ISP_SDK_SENSOR_PATH if it is set.
  • dcc-isp-file and sink_0::dcc-2a-file: the sensor’s DCC files.
  • sink_0::device: the sensor subdev that auto exposure writes exposure and gain to.
  • format in the caps (such as bggr10): the sensor’s Bayer order and bit depth.
The NV12 output of tiovxisp can go straight into TI elements such as tiovxmultiscaler and tiovxdlpreproc, and from there into your Edge AI applications.

3. Watching Auto Exposure

Auto exposure and white balance run inside tiovxisp. Exposure and gain should settle within a few seconds. The command below shows the values the 2A produces and what is written to the sensor.
The sensor’s current values can also be read from the subdev.

4. Capturing Raw Frames Without the ISP

For sensor tuning or debugging, you can capture raw frames without the ISP. Frames are 16 bits per pixel, little-endian, width × height × 2 bytes.

5. Troubleshooting