문제

I am using OpenCV to capture live from several cameras:

capture = cvCaptureFromCAM(cameraNo)

Now, I need to convert images to YCbCr color space. I realized that I could use cvtColor to convert an image to another color space. However, the process is too expensive to do after capturing the image. It includes a matrix transformation for every pixel;

I wonder if there is a property setting or another way to perform the capturing (perhaps on hardware level) on the desired color space? Or the only way is to capture and convert?

도움이 되었습니까?

해결책

No, unfortunately you can't do that with OpenCV. The only way is to capture and convert.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top