yolo resize变换代码

yolo resize后bbox的变换

from PIL import Image, ImageDraw
import numpy as np
import xml.etree.ElementTree as ET
import cv2

def get_random_data_graybar(image, box, w, h):
    # ------------------------------#
    

你可能感兴趣的:(#,pytorch,YOLO)