Skip to content

Commit

Permalink
SDK release v1.49.9
Browse files Browse the repository at this point in the history
  • Loading branch information
francovaro committed Apr 17, 2024
1 parent 1ed9baf commit 4cac64d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
9 changes: 6 additions & 3 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.49.5/</url>
<url>https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.9/</url>
<supportContact>[email protected]</supportContact>
<repository type="git">https://github.com/edgeimpulse/edge-impulse-sdk-pack.git</repository>
<releases>
<release version="1.49.5" tag="v1.49.5" date="2024-04-16" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.5/EdgeImpulse.EI-SDK.1.49.5.pack">
<release version="1.49.9" tag="v1.49.9" date="2024-04-17" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.9/EdgeImpulse.EI-SDK.1.49.9.pack">
EI-SDK
</release>
<release version="1.49.5" tag="v1.49.5" date="2024-04-16" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.5/EdgeImpulse.EI-SDK.1.49.5.pack">
EI-SDK
</release>
<release version="1.49.4" tag="v1.49.4" date="2024-04-12" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.4/EdgeImpulse.EI-SDK.1.49.4.pack">
EI-SDK
</release>
Expand Down Expand Up @@ -110,7 +113,7 @@
</packages>
</requirements>
<components>
<component Cclass="EdgeImpulse" Cgroup="SDK" Cversion="1.49.5">
<component Cclass="EdgeImpulse" Cgroup="SDK" Cversion="1.49.9">
<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-04-16 09:27:05</timestamp>
<timestamp>2024-04-17 14:59:01</timestamp>
<pindex>
<pdsc url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.5/" vendor="EdgeImpulse" name="EI-SDK" version="1.49.5"/>
<pdsc url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.9/" vendor="EdgeImpulse" name="EI-SDK" version="1.49.9"/>
</pindex>
</index>
7 changes: 4 additions & 3 deletions edgeimpulse/edge-impulse-sdk/classifier/ei_run_classifier.h
Original file line number Diff line number Diff line change
Expand Up @@ -722,11 +722,11 @@ extern "C" void run_classifier_init()
#if EI_CLASSIFIER_CALIBRATION_ENABLED

const auto impulse = ei_default_impulse.impulse;
const ei_model_performance_calibration_t *calibration = &impulse.calibration;
const ei_model_performance_calibration_t *calibration = &impulse->calibration;

if(calibration != NULL) {
avg_scores = new RecognizeEvents(calibration,
impulse.label_count, impulse.slice_size, impulse.interval_ms);
impulse->label_count, impulse->slice_size, impulse->interval_ms);
}
#endif
}
Expand All @@ -741,7 +741,8 @@ __attribute__((unused)) void run_classifier_init(ei_impulse_handle_t *handle)
init_impulse(handle);

#if EI_CLASSIFIER_CALIBRATION_ENABLED
const ei_model_performance_calibration_t *calibration = &handle->impulse->calibration;
auto impulse = handle->impulse;
const ei_model_performance_calibration_t *calibration = &impulse->calibration;

if(calibration != NULL) {
avg_scores = new RecognizeEvents(calibration,
Expand Down

0 comments on commit 4cac64d

Please sign in to comment.