basler gige相机 怎么使用opencv显示图像

非大神,初学者,做了很久才做好了。在此给出我的程序,是直接提取出basler的sample里边存放的图片,通过opencv来显示在对话框上的。

 PylonInitialize();
 try
 {
     CInstantCamera camera(CTlFactory::GetInstance().CreateFirstDevice());
     CString str;
     str = camera.GetDeviceInfo().GetModelName();

 //......

 }

猜你喜欢

转载自blog.csdn.net/tony2278/article/details/85115001