Opening and Closing multiple videoCapture crash [closed]

asked 2013-06-21 04:21:09 -0500

Hi, I'm developing an application using multiple webcams, compiled with MSVC10 on Win7 (tried with openCV241 and openCV245 videoCapture class).

I understand there is limited bandwidth with a USB port and therefore my application only activate one webcam at a time. I'm using multiple videoCapture objects for each webcam, 'videoCapture.open(devID)' and 'videoCapture.release()' commands to switch between webcams.

Most of the time I can switch over to a different webcam but occassionally my application crashes. I manage to isolate the crash at the 'videoCapture.release()' command. Please can anyone help with this issue?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-06-18 15:35:16.381940