mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +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
|
# Reset sensor
|
||||||
sensor.reset()
|
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_framesize(sensor.QQVGA)
|
||||||
sensor.set_pixformat(sensor.GRAYSCALE)
|
sensor.set_pixformat(sensor.GRAYSCALE)
|
||||||
|
|
||||||
|
|||||||
@ -13,11 +13,6 @@ PORT = 8080 # Arbitrary non-privileged port
|
|||||||
|
|
||||||
# Reset sensor
|
# Reset sensor
|
||||||
sensor.reset()
|
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_framesize(sensor.QQVGA)
|
||||||
sensor.set_pixformat(sensor.GRAYSCALE)
|
sensor.set_pixformat(sensor.GRAYSCALE)
|
||||||
|
|
||||||
|
|||||||
@ -13,12 +13,6 @@ PORT = 8000 # Arbitrary non-privileged port
|
|||||||
|
|
||||||
# Reset sensor
|
# Reset sensor
|
||||||
sensor.reset()
|
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_framesize(sensor.QQVGA)
|
||||||
sensor.set_pixformat(sensor.RGB565)
|
sensor.set_pixformat(sensor.RGB565)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user