HBadertscher / Matlab_BaslerCamDriver

A universal MATLAB driver for Basler cameras
MIT License
21 stars 5 forks source link

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

Open frezd opened 8 years ago

frezd commented 8 years ago

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

babaz123 commented 8 years ago

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