logo

请问如何填写翻转图像函数的参数啊?我填写过后显示语法错误。

2019-08-02 09:59
4
peter
while(True):
    clock.tick() # Track elapsed milliseconds between snapshots().
    img = sensor.snapshot() # Take a picture and return the image.
    #image.bilateral(size[, color_sigma=0.1[, space_sigma=1[, threshold=False[, offset=0[, invert=False[, mask=None]]]]]])
    img.replace(img[0, hmirror=False[1, vflip=True[1, mask=None]]])
    blobs = img.find_blobs([red_threshold])
    if blobs:
50a21295-00e9-4abb-a640-dea3a71a09d1.jpeg
2019-08-03 01:50
I
网红小智智 星瞳科技

https://book.openmv.cc/example/04-Image-Filters/vflip_hmirror_transpose.html