File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,15 +56,15 @@ def annotate(
5656 drawer .polygon (self .bounds , fill = fill , outline = outline , width = width )
5757
5858 def warp (
59- self , canvas : Image .Image , width : int = 208 , height : int = 60
59+ self , canvas : Image .Image , width : int = 240 , height : int = 80
6060 ) -> Image .Image : # pragma: no cover
6161 """
6262 Warps the image with perspective based on the bounding polygon.
6363
6464 Args:
6565 canvas (PIL.Image.Image): The image to be warped.
66- width (int): The width of the output warped image. Defaults to 208 .
67- height (int): The height of the output warped image. Defaults to 60 .
66+ width (int): The width of the output warped image. Defaults to 240 .
67+ height (int): The height of the output warped image. Defaults to 80 .
6868
6969 Returns:
7070 PIL.Image.Image: The warped image.
You can’t perform that action at this time.
0 commit comments