本文介绍了如何从highgui模块(opencv)提取函数并将其放置在代码文件中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能是一个愚蠢的问题,但是我需要知道下面的代码是否可以从highgui.lib中提取cvCaptureFromCAM()函数并将其粘贴到我的代码中,以便将其重命名为camcapture(),然后在我的程序中调用它,而不仅仅是在代码文件的开头包含highgui库文件:

Hi, this might be a silly question, but I need to know if for the code below, if i can extract the cvCaptureFromCAM() function from the highgui.lib and paste it in my code so that I can rename it to camcapture() and then call that within my program without just including the highgui library file at the beginning of the code file:

<br />
CvCapture * pCapture = 0;<br />
<br />
<br />
//Initialize video capture<br />
pCapture = cvCaptureFromCAM( CV_CAP_ANY );




非常感谢




Many Thanks

推荐答案



这篇关于如何从highgui模块(opencv)提取函数并将其放置在代码文件中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 15:15