I tried setting them in different groups. But as the source is common it seems to use the 1st group only. I spitted the two rects in different groups giving different colors. But it only shows 1 rect as the source is common. The config I tried is given below:
Point to be noted -
My application requires multiple RTSP inputs And for each RTSP there are two ROIs (red and yellow) with different ROI locations. So one RTSP camera’s ROI areas are different than others. Currently testing with one source which is not working even with different groups.