mirror of
https://github.com/openmv/openmv.git
synced 2025-09-26 23:09:13 +08:00
Update mjpeg scripts.
* Remove old sensor settings.
This commit is contained in:
parent
cb61affc74
commit
ac960fc1e8
@ -13,12 +13,6 @@ PORT = 8080 # Arbitrary non-privileged port
|
||||
|
||||
# Reset sensor
|
||||
sensor.reset()
|
||||
|
||||
# Set sensor settings
|
||||
sensor.set_contrast(1)
|
||||
sensor.set_brightness(1)
|
||||
sensor.set_saturation(1)
|
||||
sensor.set_gainceiling(16)
|
||||
sensor.set_framesize(sensor.QQVGA)
|
||||
sensor.set_pixformat(sensor.GRAYSCALE)
|
||||
|
||||
|
@ -13,11 +13,6 @@ PORT = 8080 # Arbitrary non-privileged port
|
||||
|
||||
# Reset sensor
|
||||
sensor.reset()
|
||||
# Set sensor settings
|
||||
sensor.set_contrast(1)
|
||||
sensor.set_brightness(1)
|
||||
sensor.set_saturation(1)
|
||||
sensor.set_gainceiling(16)
|
||||
sensor.set_framesize(sensor.QQVGA)
|
||||
sensor.set_pixformat(sensor.GRAYSCALE)
|
||||
|
||||
|
@ -13,12 +13,6 @@ PORT = 8000 # Arbitrary non-privileged port
|
||||
|
||||
# Reset sensor
|
||||
sensor.reset()
|
||||
|
||||
# Set sensor settings
|
||||
sensor.set_contrast(1)
|
||||
sensor.set_brightness(1)
|
||||
sensor.set_saturation(1)
|
||||
sensor.set_gainceiling(16)
|
||||
sensor.set_framesize(sensor.QQVGA)
|
||||
sensor.set_pixformat(sensor.RGB565)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user