About This Guide

The Camera library abstracts the complexity of interfacing with a camera connected to the target board.

The Camera library uses the Sensor service, which is a process that interacts directly with the camera hardware. The library's high-level C API provides applications with an interface to communicate with a camera. This guide describes the Camera library and how to work with the API functions.

This guide is intended for audiences who are familiar with C code. If you plan to display video from a camera, you should be familiar working with the Screen Graphics Subsystem.

Note: There are several code snippets included in this guide, which show which functions you should call to perform certain tasks. For readability, we've sometimes omitted error checking and handling in these code snippets. For your production application code, make sure you perform the appropriate error handling.
To find out about: See:
Accessing image buffers Image buffers
Using event mode to work with image buffers Event mode
Using callbacks to work with image buffers Callback mode
Starting an image stream Viewfinder mode
Freeing up system resources for use by other applications Resource management
Understanding the Camera library API calls Camera Library Reference
Writing your own camera driver External Camera Drivers
Using the Screen Graphics Subsystem Screen Developer's Guide