Skip to content

Commit

Permalink
SDK release v1.49.15
Browse files Browse the repository at this point in the history
  • Loading branch information
francovaro committed Apr 26, 2024
1 parent ab76f05 commit 633b89c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 18 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.14/</url>
<url>https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.15/</url>
<supportContact>[email protected]</supportContact>
<repository type="git">https://github.com/edgeimpulse/edge-impulse-sdk-pack.git</repository>
<releases>
<release version="1.49.14" tag="v1.49.14" date="2024-04-25" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.14/EdgeImpulse.EI-SDK.1.49.14.pack">
<release version="1.49.15" tag="v1.49.15" date="2024-04-26" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.15/EdgeImpulse.EI-SDK.1.49.15.pack">
EI-SDK
</release>
<release version="1.49.14" tag="v1.49.14" date="2024-04-25" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.14/EdgeImpulse.EI-SDK.1.49.14.pack">
EI-SDK
</release>
<release version="1.49.11" tag="v1.49.11" date="2024-04-22" url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.11/EdgeImpulse.EI-SDK.1.49.11.pack">
EI-SDK
</release>
Expand Down Expand Up @@ -119,7 +122,7 @@
</packages>
</requirements>
<components>
<component Cclass="EdgeImpulse" Cgroup="SDK" Cversion="1.49.14">
<component Cclass="EdgeImpulse" Cgroup="SDK" Cversion="1.49.15">
<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-25 08:59:38</timestamp>
<timestamp>2024-04-26 11:52:39</timestamp>
<pindex>
<pdsc url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.14/" vendor="EdgeImpulse" name="EI-SDK" version="1.49.14"/>
<pdsc url="https://github.com/edgeimpulse/edge-impulse-sdk-pack/releases/download/v1.49.15/" vendor="EdgeImpulse" name="EI-SDK" version="1.49.15"/>
</pindex>
</index>
12 changes: 7 additions & 5 deletions edgeimpulse/edge-impulse-sdk/classifier/ei_classifier_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
#define EI_CLASSIFIER_MAX_OBJECT_DETECTION_COUNT 10
#endif

#ifndef EI_CLASSIFIER_MAX_LABELS_COUNT
#define EI_CLASSIFIER_MAX_LABELS_COUNT 25
#endif

typedef struct {
const char *label;
float value;
Expand Down Expand Up @@ -62,7 +58,13 @@ typedef struct {
typedef struct {
ei_impulse_result_bounding_box_t *bounding_boxes;
uint32_t bounding_boxes_count;
ei_impulse_result_classification_t classification[EI_CLASSIFIER_MAX_LABELS_COUNT];
#if EI_CLASSIFIER_LABEL_COUNT == 0
// EI_CLASSIFIER_LABEL_COUNT can be 0 for anomaly only models
// to prevent compiler warnings/errors, we need to have at least one element
ei_impulse_result_classification_t classification[1];
#else
ei_impulse_result_classification_t classification[EI_CLASSIFIER_LABEL_COUNT];
#endif
float anomaly;
ei_impulse_result_timing_t timing;
bool copy_output;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@

#if (EI_CLASSIFIER_INFERENCING_ENGINE == EI_CLASSIFIER_MEMRYX)

/**
* @brief We can use a lot of space on linux and
* mx3 is capable of it
*
*/
#undef EI_CLASSIFIER_MAX_LABELS_COUNT
#define EI_CLASSIFIER_MAX_LABELS_COUNT 2000

/**
* @brief we are forcing SOFTWARE inference (simulation),
* beacuse use of hardware is not ready
Expand Down

0 comments on commit 633b89c

Please sign in to comment.