Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    请问大佬v831采集图像后二值化报错怎么回事

    其它全志芯片讨论区
    1
    1
    1227
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lq15130619587 LV 2 last edited by

      在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'

      1 Reply Last reply Reply Quote Share 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策