nanodet-plus-opencv
nanodet-plus-opencv copied to clipboard
矩形输入情况
在w和h不相等的情况下
cv2 resize应改为
img = cv2.resize(srcimg, (self.input_shape[1],self.input_shape[0]), interpolation=cv2.INTER_AREA)