Hello, in the IDE, the border of the draw_rectangle function is not quite right.
Firmware Version: 2.7.0
IDE Version: 1.8.1
import sensor, image, time
sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)
sensor.skip_frames(time=2000)
while(True):
img=sensor.snapshot()
img.draw_rectangle((50,50,100,100),color=(255,0,0))