/usr/local/Cellar/rbenv/1.1.0/libexec/rbenv: No such file or directory
rbenv rehash
CV_EXPORTS
cvQueryFrameはIplImage*を返す PNGデータを返す cvEncodeImageは CvMat型を返す 欲しいのサイズと先頭アドレス
imencode(type.c_str(), mat, buff, param);
CvMat* cvEncodeImage(const char* ext, const CvArr* image, const int* params=0 )
cvEncodeImage returns single-row matrix of type CV_8UC1 that contains encoded image as array of bytes.
opencvのオプションがごっそり消えてた。。
PYTHONPATH=/usr/local/opt/opencv/lib/python3.6/site-packages:/usr/local/lib/python3.6/site-packages/ python3