I wonder if the cv::blobFromImage()
preserves the aspect ratio of the input image when it applies a resize or it stretches the image to the target size.
The documentation says "If crop is false, direct resize without cropping and preserving aspect ratio is performed". The word "and" makes the sentence a bit vague raising the question if "without" applies to the "preserving aspect ratio".