Opencv map predefined GT cordinates to different aspect ratio
I have a dataset of eye gluacoma with predefined ground truths of optic disc and optic cup, but the image size in the dataset is way too large, they are around 2045x1752 so the GT cordinates are also as per that cordinate ratio, but am looking to resize the image to lower aspect ratio say 450x400, and relocate the GT cordinates according to a new aspect ratio, but am bit confused with that, so any approch towards this problem would be appreciated.
Note: Here the GT cordinates are in seperate csv file, it's not already labled in the dataset image itself.
i don't quite understand the problem. there is a scale factor for x, and another for y, and you just multiply your coords with that ?
What are GT coordinates?
GT == ground truth
they are list of tuples with x,y co-ordinates