Need help or suggestion to convert any given contours to normalized values

Hello
I am performing an instance segmentation using yolo model. So I do have image annotations and also the image contours in the form image coordinates(x1,y1, x2, y2…).
Can anyone please suggest the best method to normalize any given image contours?

Regards
Venkatesh

can you point us at what you’re trying to use here ?
(it might be as easy as dividing by width / height, but who knows …)