diff options
Diffstat (limited to 'dev/a1_textrain')
-rw-r--r-- | dev/a1_textrain/a1_textrain.pde | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev/a1_textrain/a1_textrain.pde b/dev/a1_textrain/a1_textrain.pde index 686824c..1acde87 100644 --- a/dev/a1_textrain/a1_textrain.pde +++ b/dev/a1_textrain/a1_textrain.pde @@ -8,6 +8,10 @@ image capture devices is requestd with "Capture.list()". If this happens, you can skip all of the camera initilization code and just run in movie mode by setting the following global variable to true. + + If you having trouble accessing the cameara on a mac laptop due to a security issue. Some + students found this post helpful: + https://github.com/processing/processing-video/issues/134#issuecomment-664778394 */ boolean forceMovieMode = false; @@ -138,7 +142,7 @@ void initializeMovieMode() { // Starts up a webcam to use for input. void initializeLiveCameraMode(int cameraMode) { - println("Activating camera mode #" + cameraMode + ": " + cameraModes[cameraMode]); + println("Activating camera mode #" + cameraMode + ": " + cameraModes[cameraMode-1]); cameraDevice = new Capture(this, cameraModes[cameraMode-1]); cameraDevice.start(); initialized = true; |