Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
image.find_line_segments返回的 image.line 对象中的线段的存放顺序,意思就是image.line[0],image.line[1]……代表的线段存放顺序是固定的,还是随机的
首先,这个函数返回的不是image.line对象,而是返回一个 image.line 对象的列表。重点:列表。
比如,
线段们=image.find_line_segments()
第一条线段=线段们[0] 第二条线段=线段们[1]
文档里没有说线段的顺序,那么应该认为是随机的。
https://docs.singtown.com/micropython/zh/latest/openmvcam/library/omv.image.html?highlight=find_line_segments#image.find_line_segments