AF only trust high confidence & high coverage

old-commit-hash: 57b28643703b44edc5b60a935e1e80f7d3bbf4bd
This commit is contained in:
ZwX1616
2020-02-17 12:41:20 -08:00
committed by GitHub
parent 4277ff5355
commit 16c216ee69
+1 -1
View File
@@ -1734,7 +1734,7 @@ static void parse_autofocus(CameraState *s, uint8_t *d) {
}
}
if (good_count < 4) {
if (good_count < 7) {
s->focus_err = nan("");
nan_cnt += 1;
if (nan_cnt > patience_cnt) {