Skip to content

Commit

Permalink
Merge pull request #35 from sensebox/feat/update-classification
Browse files Browse the repository at this point in the history
feat: update surface classification model
  • Loading branch information
felixerdy authored Aug 27, 2024
2 parents 421dc7e + ce7187d commit 57095b2
Show file tree
Hide file tree
Showing 1,308 changed files with 561 additions and 594 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
// https://github.com/espressif/arduino-esp32/releases/tag/2.0.4

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include "edge-impulse-sdk/dsp/image/image.hpp"

#include "esp_camera.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
// https://github.com/espressif/arduino-esp32/releases/tag/2.0.4

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <LIS3DHTR.h> //Click here to get the library: http://librarymanager/All#LIS3DHTR
#include <Wire.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <Arduino_LSM9DS1.h> //Click here to get the library: https://www.arduino.cc/reference/en/libraries/arduino_lsm9ds1/

/* Constant defines -------------------------------------------------------- */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <Arduino_LSM9DS1.h> //Click here to get the library: https://www.arduino.cc/reference/en/libraries/arduino_lsm9ds1/

/* Constant defines -------------------------------------------------------- */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <Arduino_OV767X.h> //Click here to get the library: https://www.arduino.cc/reference/en/libraries/arduino_ov767x/

#include <stdint.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <Arduino_LSM9DS1.h> //Click here to get the library: https://www.arduino.cc/reference/en/libraries/arduino_lsm9ds1/
#include <Arduino_LPS22HB.h> //Click here to get the library: https://www.arduino.cc/reference/en/libraries/arduino_lps22hb/
#include <Arduino_HTS221.h> //Click here to get the library: https://www.arduino.cc/reference/en/libraries/arduino_hts221/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

/* Includes ---------------------------------------------------------------- */
#include <PDM.h>
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>

/** Audio buffers, pointers and selectors */
typedef struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

/* Includes ---------------------------------------------------------------- */
#include <PDM.h>
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>

/** Audio buffers, pointers and selectors */
typedef struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <Arduino_BMI270_BMM150.h> //Click here to get the library: https://www.arduino.cc/reference/en/libraries/arduino_bmi270_bmm150/

/* Constant defines -------------------------------------------------------- */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <Arduino_BMI270_BMM150.h> //Click here to get the library: https://www.arduino.cc/reference/en/libraries/arduino_bmi270_bmm150/

/* Constant defines -------------------------------------------------------- */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <Arduino_BMI270_BMM150.h> //Click here to get the library: https://www.arduino.cc/reference/en/libraries/arduino_bmi270_bmm150/
#include <Arduino_LPS22HB.h> //Click here to get the library: https://www.arduino.cc/reference/en/libraries/arduino_lps22hb/
#include <Arduino_HS300x.h> //Click here to get the library: https://www.arduino.cc/reference/en/libraries/arduino_hs300x/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include "Arduino_BHY2.h" //Click here to get the library: http://librarymanager/All#Arduino_BHY2

/** Struct to link sensor axis name to sensor value function */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>

#include "edge-impulse-sdk/dsp/image/image.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <Arduino_LSM6DSOX.h> //Click here to get the library: http://librarymanager/All#Arduino_LSM6DSOX
#include "VL53L1X.h" //Click here to get the library (VL53L1X from Pololu): http://librarymanager/All#VL53L1X

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <PDM.h>

/** Audio buffers, pointers and selectors */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <PDM.h>

/** Audio buffers, pointers and selectors */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include "camera.h"
#include "himax.h"
#include "edge-impulse-sdk/dsp/image/image.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

/* Includes ---------------------------------------------------------------- */
#include <PDM.h>
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>

/** Audio buffers, pointers and selectors */
typedef struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

/* Includes ---------------------------------------------------------------- */
#include <PDM.h>
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>

/** Audio buffers, pointers and selectors */
typedef struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <Arduino_LSM6DSOX.h> //Click here to get the library: http://librarymanager/All#Arduino_LSM6DSOX

enum sensor_status {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <PDM.h>

/** Audio buffers, pointers and selectors */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>
#include <PDM.h>

/** Audio buffers, pointers and selectors */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>

#include "edge-impulse-sdk/dsp/image/image.hpp"
#include "Camera.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>

#include "edge-impulse-sdk/dsp/image/image.hpp"
#include <Audio.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>

#include "edge-impulse-sdk/dsp/image/image.hpp"
#include <Audio.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* Includes ---------------------------------------------------------------- */
#include <large-window_inferencing.h>
#include <bike-3s-10Hz-5class_inferencing.h>

static const float features[] = {
// copy raw features here (for example from the 'Live classification' page)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name=bike-3s-10Hz-5class_inferencing
version=1.0.10
author=EdgeImpulse Inc.
maintainer=EdgeImpulse Inc.
sentence=Arduino library for running machine learning models
paragraph=This library contains the signal processing code and machine learning models to classify real-world data for bike-3s-10Hz-5class. It has examples for the accelerometer, microphone and camera on the Arduino Nano 33 BLE Sense, Arduino Portenta H7 and Arduino Nicla Vision, but should run on most Arduino boards with an ARM core and at least 64K of RAM.
category=Data processing
url=https://forum.edgeimpulse.com/
depends=Arduino_LSM9DS1, PDM, Arduino_OV767X
Loading

0 comments on commit 57095b2

Please sign in to comment.