Non-exclusive calling issue of the webcam in Windows laptops

aaron wu 0 Reputation points
2023-10-27T08:18:28.2966667+00:00

I have written a program in C++ that uses OpenCV to access the webcam on my laptop. This causes issues because other programs on Windows, such as camera applications, cannot simultaneously access the webcam. In other words, the webcam resource is being exclusively occupied. I would like to find a way to access the webcam in a non-exclusive manner. Could you please provide some advice? Thank you very much.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,195 questions
0 comments No comments
{count} votes