在windows上用的maixpy3ide
代码部分:
from maix import image, display, camera
THRESHOLD = [(34, 100, -38, 3, -128, -28)]
while True:
img = camera.capture().binary(THRESHOLD, invert=False, zero=False)
display.show(img)
报错:_get_exception_class.<locals>.Derived: '_maix_image.Image' object has no attribute 'binary'
========= Remote Traceback (1) =========
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/rpyc/core/protocol.py", line 324, in _dispatch_request
File "/usr/lib/python3.8/site-packages/rpyc/core/protocol.py", line 592, in _handle_call
File "<string>", line 4, in <module>
AttributeError: '_maix_image.Image' object has no attribute 'binary'