关于海康威视摄像头实时提取视频,并且用opencv处理。
张嫩嫩 2016-03-12 04:56:58 我用海康威视的摄像实时读取视频,他的格式YV12格式,opencv处理的是RGB格式。我在网上找方法,一种方法1000个原创,而且没告诉参数怎么用。
YV12_to_RGB24(unsigned char* pYV12, unsigned char* pRGB24, int iWidth, int iHeight)
这个函数的unsigned char* pRGB24是怎么定义的。最好有一个主函数。谢谢大家了。