以下の内容はhttps://anton0825.hatenablog.com/entry/2016/10/19/000000より取得しました。


cv2.cvtColorで「Unsupported depth of input image:」'VDepth::contains(depth)' where 'depth' is 6 (CV_64F)エラー

原因はndarrayのdtypeがfloatになっていることだった。 ary.astype(np.uint8)を使ってuint8に変換すると直った。

参考:

stackoverflow.com




以上の内容はhttps://anton0825.hatenablog.com/entry/2016/10/19/000000より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14