Exposed denoise and sharpness parameters, which are already available in the http IHM but return a 500, and available in the sensor API
parent
73d4e2dc05
commit
d630f9715d
|
@ -728,6 +728,10 @@ static esp_err_t cmd_handler(httpd_req_t *req)
|
||||||
}
|
}
|
||||||
else if (!strcmp(variable, "quality"))
|
else if (!strcmp(variable, "quality"))
|
||||||
res = s->set_quality(s, val);
|
res = s->set_quality(s, val);
|
||||||
|
else if (!strcmp(variable, "denoise"))
|
||||||
|
res = s->set_denoise(s, val);
|
||||||
|
else if (!strcmp(variable, "sharpness"))
|
||||||
|
res = s->set_sharpness(s, val);
|
||||||
else if (!strcmp(variable, "contrast"))
|
else if (!strcmp(variable, "contrast"))
|
||||||
res = s->set_contrast(s, val);
|
res = s->set_contrast(s, val);
|
||||||
else if (!strcmp(variable, "brightness"))
|
else if (!strcmp(variable, "brightness"))
|
||||||
|
|
Loading…
Reference in New Issue