Asked — Edited
Resolved by ptp!
Has any one had success with setting up a camera stream and saving a snapshot to a file using c++?
This is what I have so far:
EZ_B::EZB ^ezb; ezb = gcnew EZ_B::EZB("MyEZB"); EZ_B::Camera ^ezbCam; ezbCam = gcnew EZ_B::Camera(ezb); ezbCam->StartCamera(EZ_B::Camera::GetVideoCaptureDevices(), 320, 240); ezbCam->SaveImageAsJPEG("c:\test.jpg");
I can confirm that the camera is on by running:
BOOL camOK = ezbCam->Camera::IsActive; cout << "Camera on? " << camOK << "\n";
What am I missing here?
Best, LarsSkip to comments