SPRAD86 March 2023 AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM68A , AM69A
In the target file system on the EVM, go to /opt/edgeai-tiovx-modules/src/tiovx_sensor_module.c, and add the sensor's name and id to the list in function tiovx_init_sensor(). For example, IMX219 has the following:
// This line defines a new TIOVX camera sensor string ID for IMX219
else if(strcmp(sensorObj->sensor_name, "SENSOR_SONY_IMX219_RPI") == 0)
{ // This line assigns a new numeric DCC ID to IMX219
sensorObj->sensorParams.dccId=219;
}
Both the sensor name and the DCC ID for the IMX219 camera are defined here. The exact name string "SENSOR_SONY_IMX219_RPI" shall be used in the GStreamer pipeline and the DCC sensor ID (219) is used by the tuning tool in future steps.