vis/geometry.py
def resize_img(img, fx=.5, fy=.5, interpolation=cv2.INTER_LINEAR):
    """
    Resize an image so e. g. it can be displayed fully on the screen.
    :param img: 
    :param fx: scaling factor in x
    :param fy: scaling factor in y
    :param interpolation: 
    :return: 
    """
    return cv2.resize(img, None, fx=fx, fy=fy, interpolation=interpolation)

    Resize an image so e. g. it can be displayed fully on the screen.
    :param img: 
    :param fx: scaling factor in x
    :param fy: scaling factor in y
    :param interpolation: 
    :return: 
    
Resize an image so e. g. it can be displayed fully on the screen.
Resize an image so e . g . it can be displayed fully on the screen .
def resize_img(img, fx=.5, fy=.5, interpolation=cv2.INTER_LINEAR):
    return cv2.resize(img, None, fx=fx, fy=fy, interpolation=interpolation)
def resize_img ( img , fx = .5 , fy = .5 , interpolation = cv2 . INTER_LINEAR ) : return cv2 . resize ( img , None , fx = fx , fy = fy , interpolation = interpolation )
Resize an image so e. g. it can be displayed fully on the screen.
Resize an image so e . g . it can be displayed fully on the screen .
"""
    Resize an image so e. g. it can be displayed fully on the screen.
    :param img: 
    :param fx: scaling factor in x
    :param fy: scaling factor in y
    :param interpolation: 
    :return: 
    """
None
img
None
fx
scaling factor in x
scaling factor in x
fy
scaling factor in y
scaling factor in y
interpolation
None