diff options
author | KT <tran0563@umn.edu> | 2021-09-06 19:07:33 -0500 |
---|---|---|
committer | KT <tran0563@umn.edu> | 2021-09-06 19:07:33 -0500 |
commit | cccd3186305915d92b1751dc616979d64116a4aa (patch) | |
tree | 5dd4834daef547cd45fc0b643f44a10b581de0ad /dev/a1_textrain | |
parent | Added missing images for the A6 worksheet (diff) | |
download | csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.gz csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.bz2 csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.lz csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.xz csci4611-cccd3186305915d92b1751dc616979d64116a4aa.tar.zst csci4611-cccd3186305915d92b1751dc616979d64116a4aa.zip |
Upload a1
Diffstat (limited to '')
-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; |