AF only trust high confidence & high coverage

This commit is contained in:
ZwX1616
2020-02-17 12:41:20 -08:00
committed by GitHub
parent 5c52be27ca
commit 57b2864370
+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) {