Hi team i am trying to set the roi region for my imx415 camera in jetpack 5.1.2 in nvidia xavier nx (developer kit )
i wan able to see the roi in nvidia argus multimedia application by add the below code /Set ROI Exposure/
std::vectorArgus::AcRegion regions;
weight = (float)Weight;
weight/=100;
if(ROI_X1 != 0 || ROI_Y1 != 0 || ROI_X2 != 0 || ROI_Y2 != 0 || weight !=0)
{
Argus::AcRegion roi(ROI_X1,ROI_Y1,ROI_X2,ROI_Y2,weight);
printf(“Setting ROI Coordinates: x0= %d\ty0 = %d\tx1 = %d\ty1 = %d\t weight_percent = %d%%\n”,ROI_X1,ROI_Y1,ROI_X2,ROI_Y2,Weight);
regions.push_back(roi);
iAutoControlSettings->setAeRegions(regions);
iAutoControlSettings->setAfRegions(regions);
iAutoControlSettings->setAwbRegions(regions);
} but i want to add the roi control in my nvid aargus camera application to set the roi co ordinates dynamically so that i can change the ae roi region from the argus application
need support on this .
hello herethehacker97,
may I know what’s the actual use-case for setting AeRegion dynamically?
there’re some limitations of AeRegion, please see-also Topic 308574 for more details.
Thanks for your reply, i was trying to set the roi values dynamically .to specify the region i want to see how it works .
Does it have any impact if i tried to set roi values continuously.
I am getting the camera stream to stoped if i tried to set the ae roi region two to three times again i need to restart my apllication. below is the reference imaage i added the roi in ui in argus application.
my question are
- can i set my ae roi dynamically?
- does it will crash or stop the camera if i constantly changing my ae roi region ?
- or do we have any other option to set the ae roi dynamically while my camera is streaming?
HI team any update on this ?
hello herethehacker97,
I’m checking this internally.
please restart capture pipeline for setting different AeRegion at the moment.
Hi @JerryChang did you got any possibilities for the above query?
hello herethehacker97,
please restart capture pipeline for setting different AeRegion.
Argus cannot support setting different AeRegion on the fly, it’s a feature request to change AeRegion dynamically.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.