aivision_code_s_t struct

This structure contains the parameters used by the AI Vision sensor to define a code.

Codes are a combination of color descriptors, and tells the AI Vision sensor to merge objects close to each other that belong to the given color descriptors into a single object that matches the code descriptor. Codes must use at least 2, and no greater than 5, color descriptors.

Public variables

uint8_t id
id of code descriptor, can range from 1-5
uint8_t length
number of color descriptors used by this code.
int16_t c1
id of first color descriptor
int16_t c2
id of second color descriptor
int16_t c3
id of third color descriptor
int16_t c4
id of fourth color descriptor
int16_t c5
id of fifth color descriptor