Skip to content

teledyne-e2v/topaz-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

This API automatically retrieves the list of available V4L2 controls. There's a function to retrieve the list of controls and thus know the driver's capabilities, and there are also control getter and setter functions using either the control name, for example "exposure", or using the control ID "0xFFFFFFF". This allows the exposure time to be controlled either by its name or by its ID, depending on the developer's choice. The API also allows the sensor to be launched in different sensor_modes. For example, sensor_mode 2 corresponds to the GRAY8 format in 1080p.

Dependecy

libv4l-dev:

sudo apt install libv4l-dev

Installation

Compile:

gcc -shared -o topaz_api.so -fPIC topaz_api.c

move the compiled file:

sudo mv topaz_api.so /usr/local/lib/

copy the header file:

sudo cp topaz_api.h /usr/local/include/

About

API for Optimom 2M using topaz sensor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages