How to get the position of a bottle in an image file

Would anybody know how to get the position of rectangle(x, y, height, width) which bounds a bottle on the image file?

Background is all white.

The first image attached is the original file and
on the second image, I’ve included the rectangle for understanding.

Hi @nate_lee did you tried with opencv?

can u use it in uipath?

Just invoke the python script of opencv in uipath and do it accordingly @nate_lee

Thank you. let me try it.

1 Like