Closed marcusobrien closed 2 years ago
Thanks @Neutree - Great - this worked. I didnt think I this "non-minimum" binary package would work with the IDE, as I thought only binaries named "with_ide_support" could be used with the IDE. But this "normal/full package" does include the additional code and classes, as well as work with the IDE.
Describe the bug Maix Py image class is missing many useful image processing functions like find_lines()
Dir the image class and it only has these functions
The API docs mention functions like findlines for example **"The line object is returned by image.find_lines, image.find_line_segments or image.get_regression.
10.1. Constructor# class image.line
Please call image.find_lines(), image.find_line_segments(), or image.getregression() function to create this object.**"
Using kflash_gui I installed the latest maix firmware on a Maix Bit device
maixpy_v0.6.2_83_gf0280db50_minimum_with_ide_support.bin
And when I run the code I get python error AttributeError: 'Image' object has no attribute 'find_lines'
To Reproduce Steps to reproduce the behavior:
Go to the example code on this page [(https://wiki.sipeed.com/soft/maixpy/en/api_reference/machine_vision/image/image.html)]
Copy and paste into IDE with Maix Bit
Click connect Link Icon
Run program with Big green play button the code
AttributeError: 'Image' object has no attribute 'find_blobs'
The image class has lots of missing functions mentioned in the API docs
image Python module - missing functions are mage.find_lines, image.find_line_segments and image.get_regression.
Expected behavior The image class should support what is in the API docs mage.find_lines, image.find_line_segments or image.get_regression.
Actual behaviour These functions are not supported mage.find_lines, image.find_line_segments and image.get_regression.
Screenshots If applicable, add screenshots to help explain your problem.
Please complete the following information