lib_camera

VERSION RELEASED COMMENTS DOCUMENTATION SOFTWARE
2.0.0 2025-07-01 Provides a high-level interface for camera operations, including image capture, processing, and configuration using the MIPI interface on xcore.ai. This library abstracts the complexities of camera hardware, providing a simple API for developers. VIEW HTML VIEW PDF ZIP
INFO

Summary¶

lib_camera is a library for controlling cameras using XCORE.AI. It provides an API for manipulating cameras, and perofrming Image Singal Processing (ISP) functions.

Features¶

  • Camera Interface: - MIPI-CSI2 interface for camera connection - I2C interface for camera control

  • Board Supported: - xcore.ai Vision Development Kit (XK-EVK-XU316-AIV)

  • Sensor Supported: - Sony IMX219 (Raspberry Pi Camera V2)

  • Capture and ISP: - RAW8 capture. - RGB888 capture. - Asynchronous Streaming Mode. - Dynamic Region of interest (ROI) selection. - Support the following downsample factors: x1, x2, x4. - Auto White Balance (AWB) control. - Auto Exposure (AE) control. - Sw Image rotation (90 degrees). - Sensor Image rotation (180 degrees). - Sensor Image Flip (horizontal and vertical).

Known issues¶

  • The library is designed to work with the IMX219 sensor. Other sensors may require modifications to the library. More information on how to add your own sensor can be found in the documentation.

  • White balancing is based on static white balancing of the sensor IMX219. The static values are not optimal for all lighting conditions. When using a different sensor, the static values should be adjusted to match the sensor’s characteristics.

  • Output Image Size must be a multiple of four.

Development repo¶

Required tools¶

Required libraries (dependencies)¶

Support¶

This package is supported by XMOS Ltd. Issues can be raised against the software at http://www.xmos.com/support

Scroll to Top
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

3rd Party Cookies

This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.