sensor.set_windowing([blob.cx(),blob.cy(),blob.w(),blob.h()]) img = sensor.snapshot()