On reading a jpg image through imread, the shape of numpy ndarray comes out to be ( h,w, c), where h , w and c are respectively height, width, and channel.
However, any drawing function in opnecv uses the convention ( w, h) ( e.g. line, rectangle , etc.).
Wondering why this discrepancy exists.