I’m just getting started with processing, attempting to learn the ropes, and I was watching a youtube tutorial where he pulls up the built in sketch “mirror” under “libraries > video > capture > mirror” and my webcam lights up for a few seconds before turning off, and video never appears on the screen. No errors are shown, no problem compiling, which makes it difficult to troubleshoot the problem.
MacBook Pro 2019
I’d appreciate any points in the right direction because I don’t even know where to start. My first guess is an OS compatibility issue but don’t know what I would do to fix that.
I’ve since tried several sketches involving the webcam, and none work. Are there any known issues with it?
I’m on a 2015 Pro, never had a problem. If you’ve tried multiple sketches, it definitely sounds like a local issue. I’m just shooting in the dark at this point, but it might be a local security setting.
Good thinking! I didn’t even know there WAS a browser version of processing, great method to troubleshoot! It DOES work just fine in the browser version, camera and all. I suppose worst case scenario I could just use the browser version. I wonder if I can add custom libraries to it?
I tried to give processing permission to use my camera, but couldn’t quite figure out how. I settled for adding it to the accessibility list under the security and privacy tab, but no luck. Video doesn’t show up.
I’m going to give @monkstone idea, but my programing knowledge is VERY beginner, so I’m not confident I can pull it off, but I’m gonna try it.
Hmm, I just downloaded it and installed it to test it out, but got a lot of errors and I’m not sure where to begin.
“processing.app.SketchException: Badly formed character constant (expecting quote, got i)
I’m not asking anybody to do the work for me, and I really want to wrap my head around what I need to do to alleviate this issue. Is this a java library I need to install? I searched “java” in the add library section, but I didn’t see anything that looked like it was what I wanted. I’ll keep searching.
Just an update. Just because I run into this kind of thing fairly frequently, I’ve taken to installing windows with bootcamp on my macs, so I just tried this out on windows 10, and it works fine. I am fine with that for now, and I appreciate both of your help with the issue. Technological growing pains is all.