My problem is when I try to run this code on my MAC the camera turns green light but it doesn\'t open at all no idea why this happing. I tried a lot of things but nothing wo