Closed pauledd closed 3 years ago
Could be a bug, never reopened it myself :-p.
Hi, To reopen the camera you can use the close function in seekdevice.cpp to close the usb interface. I defined a new function in seekcam. cpp like this and called it from seek_test_viewer.cpp.
In SeekCam.cpp
void closeDevice () { m_dev.close(); }
In seek_viewer.cpp
cam.closeDevice();
this tip worked for me.
okay, thanks, that "dirty" fix works.. somehow almost always. I sometimes get a
Error: expected first frame to have id 4
when I try to re-open the cam... so I have to press close again then it mostly works...
Hi
After I opened the cam with:
and I close it later with:
cam.close();
I cannot open it with the first command again, I get the errorbut I can clearly hear that the shutter closed on the cam.close command... I am doing it wrong?