I am getting bounding boxes from Yolo implementation in C++, the detected bounding boxes draws correctly using cv::Rectangle function in C++, but when drawed same bounding box coordinates in python it's localising objects incorrectly,
C++ cv::Rectangle function output,
Python cv2.rectangle method output,
I also made sure that the aspect ratio for both the input image is same for python and C++, in order to utilise(draw) detected bounded boxes in python i first dumped it to json file from the c++ detection module(yolo), and then read and rendered in separate python script just to render image and show bounding boxes using cv2.Rectangle

