(img)
return img.crop((left, top, right, bottom))
Remove boundary artifacts that FAL causes.
Remove boundary artifacts that FAL causes.
Remove boundary artifacts that FAL causes .
def remove_boundary(img):
    """
    Remove boundary artifacts that FAL causes.
    """
    w, h = img.size
    left = w//80
    top = h//50
    right = w*79//80
    bottom = h*24//25
    return img.crop((left, top, right, bottom))
def remove_boundary ( img ) : w , h = img . size left = w // 80 top = h // 50 right = w * 79 // 80 bottom = h * 24 // 25 return img . crop ( ( left , top , right , bottom ) )