私はから来たnumpy配列を持っているcv2.imreadので、とも持っdtype = np.uint8ていndim = 3ます。
unsigned int*外部のcppライブラリで使用するためにCythonに変換したいと思います。
試しcdef unsigned int* buff = <unsigned int*>im.dataていますが、エラーが発生しますPython objects cannot be cast to pointers of primitive types
私は何が間違っているのですか?
ありがとう