Skip to content

Commit

Permalink
SDK release v1.50.7
Browse files Browse the repository at this point in the history
  • Loading branch information
francovaro committed May 24, 2024
1 parent 8a7d97a commit 10e6b7c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
12 changes: 6 additions & 6 deletions EdgeImpulse.EI-SDK.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
<name>EI-SDK</name>
<license>LICENSE-apache-2.0.txt</license>
<description>Edge Impulse SDK</description>
<url>https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.50.4/</url>
<url>https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.50.7/</url>
<supportContact>[email protected]</supportContact>
<repository type="git">https://github.com/edgeimpulse/edge-impulse-sdk-pack.git</repository>
<releases>
<release version="1.50.4" tag="v1.50.4" date="2024-05-23" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.50.4/EdgeImpulse.EI-SDK.1.50.4.pack">
<release version="1.50.7" tag="v1.50.7" date="2024-05-24" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.50.7/EdgeImpulse.EI-SDK.1.50.7.pack">
EI-SDK
</release>
<release version="1.50.4" tag="v1.50.4" date="2024-05-23" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.50.4/EdgeImpulse.EI-SDK.1.50.4.pack">
EI-SDK
</release>
<release version="1.49.39" tag="v1.49.39" date="2024-05-20" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.39/EdgeImpulse.EI-SDK.1.49.39.pack">
EI-SDK
</release>
Expand Down Expand Up @@ -98,9 +101,6 @@
</release>
<release version="1.45.3" tag="v1.45.3" date="2024-02-15" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.45.3/EdgeImpulse.EI-SDK.1.45.1.pack">
EI-SDK
</release>
<release version="1.45.1" tag="v1.45.1" date="2024-02-12" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.45.1/EdgeImpulse.EI-SDK.1.43.2.pack">
EI-SDK
</release>
</releases>
<keywords>
Expand Down Expand Up @@ -146,7 +146,7 @@
</packages>
</requirements>
<components>
<component Cclass="EdgeImpulse" Cgroup="SDK" Cversion="1.50.4">
<component Cclass="EdgeImpulse" Cgroup="SDK" Cversion="1.50.7">
<description>Edge Impulse SDK</description>
<!-- short component description -->
<files>
Expand Down
4 changes: 2 additions & 2 deletions EdgeImpulse.pidx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<index schemaVersion="1.0.0" xs:noNamespaceSchemaLocation="PackIndex.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
<vendor>EdgeImpulse</vendor>
<url>https://raw.githubusercontent.com/edgeimpulse/edge-impulse-sdk-pack/main/</url>
<timestamp>2024-05-23 10:17:36</timestamp>
<timestamp>2024-05-24 16:13:03</timestamp>
<pindex>
<pdsc url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.50.4/" vendor="EdgeImpulse" name="EI-SDK" version="1.50.4"/>
<pdsc url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.50.7/" vendor="EdgeImpulse" name="EI-SDK" version="1.50.7"/>
</pindex>
</index>
10 changes: 8 additions & 2 deletions edgeimpulse/edge-impulse-sdk/classifier/ei_run_classifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 10e6b7c

Please sign in to comment.