PIL's getbbox is working for me im.getbbox() => 4-tuple or None Calculates the bounding box of the non-zero regions in the image.
確定! 回上一頁