Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.0.18 instead.
Reason given by maintainers: Please use edge-impulse-linux instead

Edge Impulse Linux SDK for Python

This library lets you run machine learning models and collect sensor data on Linux machines using Python. This SDK is part of Edge Impulse where we enable developers to create the next generation of intelligent device solutions with embedded machine learning. Start here to learn more and train your first model.

pip install -i https://test.pypi.org/simple/ edgeimpulse

runner.py

Implements the ImpulseRunner

use:

from edgeimpulse.runner import ImpulseRunner
import signal
runner = None

def signal_handler(sig, frame):
    print('Interrupted')
    if (runner):
        runner.stop()
    sys.exit(0)

signal.signal(signal.SIGINT, signal_handler)

...
runner = ImpulseRunner(modelfile)
model_info = runner.init()
...
res = runner.classify(features[:window_size].tolist())

examples:

/camera
/microphone

camera

Classifies frames grabbed directly from the webcam.

microphone

Classifies audio acquired directly from the audio interface.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edgeimpulse-0.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edgeimpulse-0.0.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file edgeimpulse-0.0.1.tar.gz.

File metadata

  • Download URL: edgeimpulse-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.8+

File hashes

Hashes for edgeimpulse-0.0.1.tar.gz
Algorithm Hash digest
SHA256 074054508a5b508083da1014c78a83d0d417cff86bbb2a9f2efce320180c933c
MD5 af9b9d491e7b1dc90cb12edf68c384b2
BLAKE2b-256 0cd7514e8dfc63f0f42da1684d27915dab97259fdcd4ebfcc9c7cbc5f3139d3b

See more details on using hashes here.

File details

Details for the file edgeimpulse-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: edgeimpulse-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.8+

File hashes

Hashes for edgeimpulse-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e22a908538ca0becbc6d5f47503544f91510d675ea9e85ff22977c2e6ebba0f8
MD5 461869be5f9008c7722714c4eecc0ab3
BLAKE2b-256 cf69ab9f73f3e413e9c786349ce49bddbe75dcc62b8fbc75631a1850ed9f1d48

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page