img.draw_rectangle(b.rect()) # rect
img.draw_rectangle(b[0:4]) # rect
请问上面的两个方式有什么区别
没区别。img.draw_rectangle(b.rect())更容易理解一些。