diff --git a/EdgeImpulse.EI-SDK.pdsc b/EdgeImpulse.EI-SDK.pdsc index 3529035..a37ea65 100644 --- a/EdgeImpulse.EI-SDK.pdsc +++ b/EdgeImpulse.EI-SDK.pdsc @@ -5,13 +5,16 @@ EI-SDK LICENSE-apache-2.0.txt Edge Impulse SDK - https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.50.4/ + https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.50.7/ hello@edgeimpulse.com https://github.com/edgeimpulse/edge-impulse-sdk-pack.git - + EI-SDK + + EI-SDK + EI-SDK @@ -98,9 +101,6 @@ EI-SDK - - - EI-SDK @@ -146,7 +146,7 @@ - + Edge Impulse SDK diff --git a/EdgeImpulse.pidx b/EdgeImpulse.pidx index 04b9f55..d81b62e 100644 --- a/EdgeImpulse.pidx +++ b/EdgeImpulse.pidx @@ -2,8 +2,8 @@ EdgeImpulse https://raw.githubusercontent.com/edgeimpulse/edge-impulse-sdk-pack/main/ - 2024-05-23 10:17:36 + 2024-05-24 16:13:03 - + diff --git a/edgeimpulse/edge-impulse-sdk/classifier/ei_run_classifier.h b/edgeimpulse/edge-impulse-sdk/classifier/ei_run_classifier.h index c0a2022..1d94dca 100644 --- a/edgeimpulse/edge-impulse-sdk/classifier/ei_run_classifier.h +++ b/edgeimpulse/edge-impulse-sdk/classifier/ei_run_classifier.h @@ -144,9 +144,15 @@ __attribute__((unused)) void display_results(ei_impulse_result_t* result) ei_printf_float(bb.value); ei_printf(") [ x: %u, y: %u, width: %u, height: %u ]\n", bb.x, bb.y, bb.width, bb.height); } - ei_printf("Visual anomaly values: Mean %.3f Max %.3f\r\n", result->visual_ad_result.mean_value, result->visual_ad_result.max_value); + ei_printf("Visual anomaly values: Mean "); + ei_printf_float(result->visual_ad_result.mean_value); + ei_printf(" Max "); + ei_printf_float(result->visual_ad_result.max_value); + ei_printf("\r\n"); #elif (EI_CLASSIFIER_HAS_ANOMALY > 0) // except for visual AD - ei_printf("Anomaly prediction: %.3f\r\n", result->anomaly); + ei_printf("Anomaly prediction: "); + ei_printf_float(result->anomaly); + ei_printf("\r\n"); #endif }