Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
img.draw_rectangle(b.rect()) # rect img.draw_rectangle(b[0:4]) # rect 请问上面的两个方式有什么区别
没区别。img.draw_rectangle(b.rect())更容易理解一些。