mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Remove outdated FIR examples.
* These are broken, they don't scale the image
This commit is contained in:
parent
a2d7cdee62
commit
ffb58aad11
@ -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())
|
|
||||||
@ -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())
|
|
||||||
@ -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())
|
|
||||||
Loading…
Reference in New Issue
Block a user