diff --git a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_dark with_tracking.py b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_dark with_tracking.py index b88ac7642..3e7f6b7a8 100644 --- a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_dark with_tracking.py +++ b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_dark with_tracking.py @@ -11,6 +11,8 @@ import time sensor.reset() sensor.set_pixformat(sensor.GRAYSCALE) # Must always be grayscale. sensor.set_framesize(sensor.B320X320) # Must always be 320x320. +sensor.set_brightness(128) # Leave at 128 generally (this is the default). +sensor.set_contrast(16) # Increase to make the image pop. sensor.set_color_palette(image.PALETTE_EVT_DARK) # The default frame rate is 50 FPS. You can change it between ~20 FPS and ~350 FPS. diff --git a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_dark.py b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_dark.py index 3267c7a4d..36d6b74c0 100644 --- a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_dark.py +++ b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_dark.py @@ -11,6 +11,8 @@ import time sensor.reset() sensor.set_pixformat(sensor.GRAYSCALE) # Must always be grayscale. sensor.set_framesize(sensor.B320X320) # Must always be 320x320. +sensor.set_brightness(128) # Leave at 128 generally (this is the default). +sensor.set_contrast(16) # Increase to make the image pop. sensor.set_color_palette(image.PALETTE_EVT_DARK) # The default frame rate is 50 FPS. You can change it between ~20 FPS and ~350 FPS. diff --git a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_light.py b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_light.py index 55e7e2e5f..15daeae6d 100644 --- a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_light.py +++ b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_light.py @@ -11,6 +11,8 @@ import time sensor.reset() sensor.set_pixformat(sensor.GRAYSCALE) # Must always be grayscale. sensor.set_framesize(sensor.B320X320) # Must always be 320x320. +sensor.set_brightness(128) # Leave at 128 generally (this is the default). +sensor.set_contrast(16) # Increase to make the image pop. sensor.set_color_palette(image.PALETTE_EVT_LIGHT) # The default frame rate is 50 FPS. You can change it between ~20 FPS and ~350 FPS. diff --git a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_light_with_tracking.py b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_light_with_tracking.py index 73dfb7eab..092af7b5a 100644 --- a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_light_with_tracking.py +++ b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_color_light_with_tracking.py @@ -11,6 +11,8 @@ import time sensor.reset() sensor.set_pixformat(sensor.GRAYSCALE) # Must always be grayscale. sensor.set_framesize(sensor.B320X320) # Must always be 320x320. +sensor.set_brightness(128) # Leave at 128 generally (this is the default). +sensor.set_contrast(16) # Increase to make the image pop. sensor.set_color_palette(image.PALETTE_EVT_LIGHT) # The default frame rate is 50 FPS. You can change it between ~20 FPS and ~350 FPS. diff --git a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale.py b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale.py index 04487f55d..26c8142d6 100644 --- a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale.py +++ b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale.py @@ -10,6 +10,8 @@ import time sensor.reset() sensor.set_pixformat(sensor.GRAYSCALE) # Must always be grayscale. sensor.set_framesize(sensor.B320X320) # Must always be 320x320. +sensor.set_brightness(128) # Leave at 128 generally (this is the default). +sensor.set_contrast(16) # Increase to make the image pop. # The default frame rate is 50 FPS. You can change it between ~20 FPS and ~350 FPS. sensor.set_framerate(50) diff --git a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale_led_tracking.py b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale_led_tracking.py index caedec5aa..615fe4709 100644 --- a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale_led_tracking.py +++ b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale_led_tracking.py @@ -15,6 +15,8 @@ import time sensor.reset() sensor.set_pixformat(sensor.GRAYSCALE) # Must always be grayscale. sensor.set_framesize(sensor.B320X320) # Must always be 320x320. +sensor.set_brightness(128) # Leave at 128 generally (this is the default). +sensor.set_contrast(16) # Increase to make the image pop. sensor.set_framerate(200) # Applies sensor biases tuned for tracking of an active marker with LEDs sensor.ioctl(sensor.IOCTL_GENX320_SET_BIASES, sensor.GENX320_BIASES_ACTIVE_MARKER) diff --git a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale_set_afk.py b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale_set_afk.py index e79d6db1d..fd6e98b7a 100644 --- a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale_set_afk.py +++ b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale_set_afk.py @@ -12,6 +12,8 @@ import time sensor.reset() sensor.set_pixformat(sensor.GRAYSCALE) # Must always be grayscale. sensor.set_framesize(sensor.B320X320) # Must always be 320x320. +sensor.set_brightness(128) # Leave at 128 generally (this is the default). +sensor.set_contrast(16) # Increase to make the image pop. sensor.set_framerate(100) # Enables AFK filter to remove periodic data in the frequency range from 130Hz to 160Hz diff --git a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale_with_tracking.py b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale_with_tracking.py index feefdf51a..fbd49d0ae 100644 --- a/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale_with_tracking.py +++ b/scripts/examples/01-Camera/03-Event-Cameras/02-Genx320/genx320_grayscale_with_tracking.py @@ -10,6 +10,8 @@ import time sensor.reset() sensor.set_pixformat(sensor.GRAYSCALE) # Must always be grayscale. sensor.set_framesize(sensor.B320X320) # Must always be 320x320. +sensor.set_brightness(128) # Leave at 128 generally (this is the default). +sensor.set_contrast(16) # Increase to make the image pop. # The default frame rate is 50 FPS. You can change it between ~20 FPS and ~350 FPS. sensor.set_framerate(50)