As mentioned, you need to pass copy=True also. This creates the copy in the MicroPython heap. Then you can use that for masks.
kwagyeman
21
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| bug in b_or | 12 | 4851 | June 6, 2018 | |
| Save Binary Image For Frame Differencing | 3 | 313 | November 19, 2023 | |
| two image in two openmv board similiarity compared | 3 | 1073 | June 17, 2020 | |
| # openmv4 H7 PLUS Measure the distance with ov5640,change framesize=sensor.FHD,memory errors! | 26 | 1182 | June 15, 2023 | |
| image.binary() outputs image in GRAYSCALE instead of BINARY | 3 | 1064 | August 4, 2020 |