I am using Qt. I used QPainter
to make boundary line. But I want boundary line have also a 1 pixel broad border so it visible more.
The following image shows the yellow border with black boundary. this image is reference for the logic. i will applied it on random shaped
Create a smaller rect from your boundingbox.