This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VH-Q1: Different camera configurations

Part Number: TDA4VH-Q1
Other Parts Discussed in Thread: TDA4VH

Hello,

EVM: TDA4VH, sdk version: 9.0.0.2

I am trying to develop an object detection application that would run on different cameras simultaneously. I have 2 tasks working independently in the same graph with each task capturing data from 2 cameras. (so., a total of 4 cameras)

Now the issue we are facing is that we are using different cameras for each sub-graph and as a result using "appStartImageSensor" multiple times with respective sensor nodes is not working. we tried using same cameras and instantiate the API specified only once and this way our application is working. As using "appStartImageSensor" only once is not ideal for our use case since the camera configuration for each stream is different, is there a way i can mitigate this issue? Please direct me towards any example codes if present in the SDK.

As per our application the cameras fixed to the ports: 0, 1, 6 and 7 needs to work but we found out the error as shown below:

we are calling the sensor functions as mentioned below in each task similarly:

respective function definitions are as below:

We have the camera mask configured as below:

we tried the following experiments and none of them worked:

1. We tried to use all the four camera ports in same instance: port number 0,1,2,3 which belong to camera instance 1.

2. we tried two different camera instances, 2 cameras on each instance. port number: 0,1 from 0th instance and port 6,7, from 1st instance.

we then tried to call the image start API and init API once for all the cameras and that worked.

Please let us know how we can achieve to run the image start sensor API multiple times and how we can operate on different cameras simultaneously.

Thank you,

Srikar.v