add new face recognition models
parent
1b167d0a30
commit
dc1593d848
|
@ -1 +1 @@
|
|||
Subproject commit b94b0ab005c253937001327cceb9d83d41c49a88
|
||||
Subproject commit e9b3b9a1366b798916ec5d194828362aec675cdb
|
|
@ -74,5 +74,11 @@ void app_camera_init()
|
|||
return;
|
||||
}
|
||||
|
||||
vTaskDelay(200 / portTICK_PERIOD_MS);
|
||||
sensor_t * s = esp_camera_sensor_get();
|
||||
//initial sensors are flipped vertically and colors are a bit saturated
|
||||
if (s->id.PID == OV3660_PID) {
|
||||
s->set_vflip(s, 1);//flip it back
|
||||
s->set_brightness(s, 1);//up the blightness just a bit
|
||||
s->set_saturation(s, -2);//lower the saturation
|
||||
}
|
||||
}
|
||||
|
|
|
@ -174,11 +174,11 @@ void task_process(void *arg)
|
|||
|
||||
int matched_id = recognize_face(&id_list, aligned_face);
|
||||
if (matched_id >= 0)
|
||||
ESP_LOGI(TAG, "Matched Face ID: %d\n", matched_id);
|
||||
ESP_LOGI(TAG, "Matched Face ID: %d", matched_id);
|
||||
else
|
||||
ESP_LOGI(TAG, "No Matched Face ID\n");
|
||||
ESP_LOGI(TAG, "No Matched Face ID");
|
||||
|
||||
ESP_LOGI(TAG, "Recognition time consumption: %lldms",
|
||||
ESP_LOGI(TAG, "Recognition time consumption: %lldms\n",
|
||||
(esp_timer_get_time() - recog_match_time) / 1000);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue