I want to create a application where multiple types of camera is mixed.
Is this possible?
like two imx390 + one ar0233 + one ar0820
thanks for your help!
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.
HI
Can you check the FAQ on "How to Send a YUV input and a raw input from a sensor to the same CSI-RX instance at a time?"
May be this can help answer your question .
Regards
Diwakar
Hi,
Thanks for your reply!
I think the example use two different cams
But I want to use "two imx390 + one ar0233 + one ar0820"
so does that mean i need to create three graphs?
1 graph for two imx390
1 graph for one ar0233
1 graph for one ar0820
i think i cannot separate the imx390 as two separate graphs, because the channel mask for imx390 should be specified all at once?
thanks!
Ideally yes, because sensors are different and probably resource and dataformat for each of these sensors also.
Regards,
Brijesh
Hi Brijesh,
Thanks for your reply!
So a csi-rx can handle four cameras?
Plus, for my usage "two imx390 + one ar0233 + one ar0820"
i have to combine the multicam from vision_apps example and also single_cam example?
(cause multicam use vxObjectArray while singlecam use vx_image)
and make a huge AppObj struct with a single vx_context but three vx_graph (1 for two imx390, 1 for one ar0233, 1 for one ar0820)?
is this reasonable? has anyone (TI or other customers) tried this setting before?
and are there any examples i can refer to?
Thanks for your kind replies~
Hi,
So a csi-rx can handle four cameras?
Yes, the csi-rx could take a bandwidth upto 10Gbps for 4 lanes. i.e. typically 4 IMX390 cameras (2MP) could easily be done on 1 csi-rx.
i have to combine the multicam from vision_apps example and also single_cam example?
(cause multicam use vxObjectArray while singlecam use vx_image)
Both the examples use vxObjectArray as the capture node parameter data type is vx_object_Array. It is just that single cam would have an object_array with 1 element and multi_cam would have it same as the number of cameras
and make a huge AppObj struct with a single vx_context but three vx_graph (1 for two imx390, 1 for one ar0233, 1 for one ar0820)?
AppObj could be one (as shown in the FAQ). You could add graph1, graph2 etc to the same.
is this reasonable? has anyone (TI or other customers) tried this setting before?
and are there any examples i can refer to?
The standard SDK does not have an example for multi-sensor. Hence the FAQ provided above was created. Please refer the same for your application.
Regards,
Nikhil
Hi Nikhil,
Thanks for your kind reply!
Is it possible to treat multicam applications as multiple single cam applications
i.e. I use four AppObj struct from single cam example but make them share a single vx_context
So for this settings: "two imx390 + one ar0233 + one ar0820", I will create four AppObj then init & create graph accordingly.
The only concern i have is for the ""two imx390" part.
Let's say two imx 390 are on port0 and port1.
I will have to write these code if following the above idea:
-
appInitImageSensor("IMX390-UB953_D3", sensor_features_enabled, 0x01)
appStartImageSensor("IMX390-UB953_D3", 0x01);
-
appInitImageSensor("IMX390-UB953_D3", sensor_features_enabled, 0x10)
appStartImageSensor("IMX390-UB953_D3", 0x10);
-
Is that possible? Or for the same type of cameras, I have to init and start then all at once, i.e.
appInitImageSensor("IMX390-UB953_D3", sensor_features_enabled, 0x11)
appStartImageSensor("IMX390-UB953_D3", 0x11);
Thanks for your help~
Hi,
Basically you would have 3 capture nodes here (i.e. 3 graphs)
For imx390, since there are 2 sensors, you could treat this as multi-cam application graph with 2 sensors enabled.
For the other two sensors, it would be one capture node (1 graph) each similar to single cam application.
You could have 3 graphs in one context and one application and run then independently in a separate task.
Regards,
Nikhil
Hi,
Thanks for your reply!
I think your answer is similar to what I thought.
I guess I have to figure out how to write the code to combine multicam & single_cam at the same time, and make them flexible haha
anyway, thanks for your help!
Best,
ST