2014-02-26 16:49:02 -0600 | asked a question | Convert opencv videocapture to opengl videostream Hi I have following code and only one Asus Xtion. openni::Device device; openni::VideoStream color; openni::VideoFrameRef colorFrame; Mat frame; namedWindow("Original Image @ Istanbul Technical University"); ..... cv::VideoCapture capture( CV_CAP_OPENNI); if (!capture.isOpened()) { printf("Could not open OpenNI-capable sensor\n"); system("pause"); return -1; } capture.set(CV_CAP_PROP_OPENNI_REGISTRATION, 1); double focal_length = capture.get(CV_CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH); //printf("Focal length = %f\n", focal_length); I want to use both cv::videocapture and openni::videostream. How can I combine it? |
2013-08-16 02:44:14 -0600 | asked a question | opencv using c# Hi. How do I use opencv with c# in visual studio 2010? |