From cccd3186305915d92b1751dc616979d64116a4aa Mon Sep 17 00:00:00 2001 From: KT Date: Mon, 6 Sep 2021 19:07:33 -0500 Subject: Upload a1 --- dev/a1_textrain/a1_textrain.pde | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dev/a1_textrain') 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; -- cgit v1.2.3