IDE: Visual Studio Code
Computer: 2021 M1 Macbook Pro
OS: Monterey
Language: C++
I’ve been trying to use my mac’s internal webcam with OpenCV C++ VideoCapture class by VideoCapture cap(0) => I’ve been told 0 means the default internal camera, but i keep getting errors.
I’ve given both terminal and iTerm access to the Camera on my Mac’s Preferences, but vscode still throws me this error.
2022-08-05 19:11:11.921523+0900 video[8070:59775] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x10b514d70> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2022-08-05 19:11:11.950661+0900 video[8070:59775] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x10c4495c0> 30010C1C-93BF-11D8-8B5B-000A95AF9C6A
I’ve been searching all over the internet for this, but i couldn’t find any solutions.