From ffb58aad118afc01b2571a13302dd196641990c2 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Tue, 1 Dec 2020 16:37:04 +0200 Subject: [PATCH] Remove outdated FIR examples. * These are broken, they don't scale the image --- .../AMG8833_camera_lcd.py | 25 ------------------- .../MLX90621_camera_lcd.py | 25 ------------------- .../MLX90640_camera_lcd.py | 25 ------------------- 3 files changed, 75 deletions(-) delete mode 100644 scripts/examples/OpenMV/12-Thermopile-Shield/AMG8833_camera_lcd.py delete mode 100644 scripts/examples/OpenMV/12-Thermopile-Shield/MLX90621_camera_lcd.py delete mode 100644 scripts/examples/OpenMV/12-Thermopile-Shield/MLX90640_camera_lcd.py diff --git a/scripts/examples/OpenMV/12-Thermopile-Shield/AMG8833_camera_lcd.py b/scripts/examples/OpenMV/12-Thermopile-Shield/AMG8833_camera_lcd.py deleted file mode 100644 index 77149d82c..000000000 --- a/scripts/examples/OpenMV/12-Thermopile-Shield/AMG8833_camera_lcd.py +++ /dev/null @@ -1,25 +0,0 @@ -# AMG8833 Camera Demo -# -# This example shows off how to overlay a heatmap onto your OpenMV Cam's -# live video output from the main camera. - -import image, time, fir, lcd - -# Initialize the thermal sensor -fir.init(type=fir.FIR_AMG8833) - -# Init the lcd. -lcd.init() - -# FPS clock -clock = time.clock() - -while (True): - clock.tick() - - img = fir.snapshot(copy_to_fb=True) - - lcd.display(img) - - # Print FPS. - print(clock.fps()) diff --git a/scripts/examples/OpenMV/12-Thermopile-Shield/MLX90621_camera_lcd.py b/scripts/examples/OpenMV/12-Thermopile-Shield/MLX90621_camera_lcd.py deleted file mode 100644 index 545cff75d..000000000 --- a/scripts/examples/OpenMV/12-Thermopile-Shield/MLX90621_camera_lcd.py +++ /dev/null @@ -1,25 +0,0 @@ -# MLX90621 Camera Demo -# -# This example shows off how to overlay a heatmap onto your OpenMV Cam's -# live video output from the main camera. - -import image, time, fir, lcd - -# Initialize the thermal sensor -fir.init(type=fir.FIR_MLX90621) - -# Init the lcd. -lcd.init() - -# FPS clock -clock = time.clock() - -while (True): - clock.tick() - - img = fir.snapshot(copy_to_fb=True) - - lcd.display(img) - - # Print FPS. - print(clock.fps()) diff --git a/scripts/examples/OpenMV/12-Thermopile-Shield/MLX90640_camera_lcd.py b/scripts/examples/OpenMV/12-Thermopile-Shield/MLX90640_camera_lcd.py deleted file mode 100644 index 1d1714d37..000000000 --- a/scripts/examples/OpenMV/12-Thermopile-Shield/MLX90640_camera_lcd.py +++ /dev/null @@ -1,25 +0,0 @@ -# MLX90640 Camera Demo -# -# This example shows off how to overlay a heatmap onto your OpenMV Cam's -# live video output from the main camera. - -import image, time, fir, lcd - -# Initialize the thermal sensor -fir.init(type=fir.FIR_MLX90640, refresh=32) # 16Hz, 32Hz or 64Hz. - -# Init the lcd. -lcd.init() - -# FPS clock -clock = time.clock() - -while (True): - clock.tick() - - img = fir.snapshot(copy_to_fb=True) - - lcd.display(img) - - # Print FPS. - print(clock.fps())