The Camera library abstracts the complexity of interfacing with a camera connected to the target board.
The Camera library consists of a Sensor service, which is a process that interacts directly with the camera hardware. A high-level C API provides an library that applications can use to communicate with a camera. This guide describes the Camera library and how to work with the Camera APIs.
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. There are several code snippets included in this guide. These examples show what functions can be called and how you can use them to build applications. For readability, we’ve omitted any error checking and handling in the code snippets. For your production application code, make sure you perform the appropriate error handling. This table may help you find what you need in this guide:
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 |
Managing system resources | Resource management |
Understanding the Camera library API calls | Camera Library Reference |
Screen Graphics Subsystem | Screen Developer's Guide |