HBadertscher/Matlab_BaslerCamDriver

Opening and Closing the camera for each task = long time lost

frezd opened this issue · 1 comments

frezd commented

Hi,

I'm having some issue with the speed of the preview, it looks like the camera opens and closes for each frame of the preview.
When I want to get data from more than 1 frame, the time looks way shorter in comparison :

For instance here with 1 and 10 frames.

tic
baslerGetData(0,1,'Mono8');
toc
Elapsed time is 2.733215 seconds.

tic
baslerGetData(0,10,'Mono8');
toc
Elapsed time is 3.343008 seconds.

I need to watch the camera view in real time, with a better speed than one frame every 3 seconds.
Do you have any of how I can do ?

Thanks

@frezd
Hello,
Did you manage to resolve this issue?