Skip to content

Commit

Permalink
SDK release vv1.53.14
Browse files Browse the repository at this point in the history
  • Loading branch information
francovaro committed Jul 17, 2024
1 parent 64f47da commit cbc0fb9
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 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.53.13/</url>
<url>https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.53.14/</url>
<supportContact>[email protected]</supportContact>
<repository type="git">https://github.com/edgeimpulse/edge-impulse-sdk-pack.git</repository>
<releases>
<release version="1.53.13" tag="v1.53.13" date="2024-07-12" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.53.13/EdgeImpulse.EI-SDK.1.53.13.pack">
<release version="1.53.14" tag="v1.53.14" date="2024-07-17" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.53.14/EdgeImpulse.EI-SDK.1.53.14.pack">
EI-SDK
</release>
<release version="1.53.13" tag="v1.53.13" date="2024-07-12" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.53.13/EdgeImpulse.EI-SDK.1.53.13.pack">
EI-SDK
</release>
<release version="1.53.12" tag="v1.53.12" date="2024-07-10" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.53.12/EdgeImpulse.EI-SDK.1.53.12.pack">
EI-SDK
</release>
Expand Down Expand Up @@ -98,9 +101,6 @@
</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>
</releases>
<keywords>
Expand Down Expand Up @@ -146,7 +146,7 @@
</packages>
</requirements>
<components>
<component Cclass="EdgeImpulse" Cgroup="SDK" Cversion="1.53.13">
<component Cclass="EdgeImpulse" Cgroup="SDK" Cversion="1.53.14">
<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-07-12 14:25:35</timestamp>
<timestamp>2024-07-17 11:31:00</timestamp>
<pindex>
<pdsc url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.53.13/" vendor="EdgeImpulse" name="EI-SDK" version="1.53.13"/>
<pdsc url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.53.14/" vendor="EdgeImpulse" name="EI-SDK" version="1.53.14"/>
</pindex>
</index>
4 changes: 2 additions & 2 deletions edgeimpulse/edge-impulse-sdk/classifier/ei_classifier_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,12 @@ typedef struct {
int anomaly;

/**
* Amount of time (in milliseconds) it took to run the post-processing block
* Amount of time (in microseconds) it took to run the post-processing block
*/
int64_t dsp_us;

/**
* Amount of time (in milliseconds) it took to run the inference block
* Amount of time (in microseconds) it took to run the inference block
*/
int64_t classification_us;

Expand Down
16 changes: 14 additions & 2 deletions edgeimpulse/edge-impulse-sdk/dsp/spectral/signal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ class signal {
}

struct sosfilt {
const float* coeff; // 6 * num_sections coefficients
const float* coeff = nullptr; // 6 * num_sections coefficients
fvec zi_vec; // 2 * num_sections initial conditions
size_t num_sections;
size_t num_sections = 0;

sosfilt(const float* coeff_, const float* zi_, size_t num_sections_)
: coeff(coeff_),
Expand All @@ -96,8 +96,20 @@ class signal {
{
}

sosfilt()
{
}

void update(const float* coeff_, const float* zi_)
{
assert(num_sections > 0);
coeff = coeff_;
zi_vec.assign(zi_, zi_ + (num_sections * 2));
}

void update(const float* coeff_, const float* zi_, size_t num_sections_)
{
num_sections = num_sections_;
coeff = coeff_;
zi_vec.assign(zi_, zi_ + (num_sections * 2));
}
Expand Down

0 comments on commit cbc0fb9

Please sign in to comment.