nanodet-plus-opencv icon indicating copy to clipboard operation
nanodet-plus-opencv copied to clipboard

矩形输入情况

Open welain opened this issue 2 years ago • 0 comments

在w和h不相等的情况下 cv2 resize应改为 img = cv2.resize(srcimg, (self.input_shape[1],self.input_shape[0]), interpolation=cv2.INTER_AREA)

welain avatar Mar 30 '22 01:03 welain