logo

如何将彩色图转换为灰度图

2020-01-18 17:07
X
goe2

把摄像头设置为RGB565模式之后,如何把得到的图像进行灰度化。(并不是

一开始就设置为sensor.GRAYSCALE)

查了文档发现好像没有将彩色图转换为灰度图的函数?

2020-02-08 14:32
I
网红小智智 星瞳科技

https://docs.singtown.com/micropython/zh/latest/openmvcam/library/omv.image.html#image.to_grayscale