• Stars
    star
    196
  • Rank 198,553 (Top 4 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created about 7 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

License

Devicehive Audio Analysis

Audio classification feature demo
Detailed description can be found here

Installation

  • Get a copy of this repo
  • Install system packages
sudo apt-get install libportaudio2 portaudio19-dev
  • Install python requirements
pip install -r requirements.txt
  • Download and extract saved models to source directory
wget https://s3.amazonaws.com/audioanalysis/models.tar.gz
tar -xzf models.tar.gz

Running

To process prerecorded wav file

run

python parse_file.py path_to_your_file.wav

Note: file should have 16000 rate

To capture and process audio from mic

run

python capture.py

It will capture and process samples in a loop.
To get info about parameters run

python capture.py --help

To start web server

run

python daemon.py

By default you can reach it on http://127.0.0.1:8000
It will:

  • Capture data form your mic
  • Process data
  • Send predictions to web interface
  • Send predictions to devicehive

Also you can configure your devicehive connection though this web interface.

Useful info

To train classification model next resources have been used:

You can try to train model with more steps/samples to get more accuracy.

More Repositories

1

devicehive-java-server

DeviceHive Java Server
Java
367
star
2

esp8266-firmware

DeviceHive esp8266 firmware. Control hardware via clouds with DeviceHive!
C
166
star
3

devicehive-video-analysis

Python
155
star
4

devicehive-docker

Run DeviceHive Docker containers with Docker Compose and on Kubernetes
Mustache
92
star
5

AlexaDevice

Alexa virtual device
Python
43
star
6

android-ble

DeviceHive Bluetooth Low Energy bridge for Android
Java
42
star
7

IoT-framework

* DEPRECATED * DeviceHive GO Framework for IoT and M2M
Go
40
star
8

devicehive-python

DeviceHive Python library
Python
30
star
9

framework

* DEPRECATED *
Java
29
star
10

devicehive-.net

DeviceHive .NET library
C#
26
star
11

devicehive-java

DeviceHive java client library
Java
24
star
12

devicehive-grafana-datasource

DeviceHive datasource for Grafana
JavaScript
18
star
13

devicehive-admin-console

[DEPRECATED] DeviceHive OLD admin console (For the newest version please follow https://github.com/devicehive/devicehive-admin-panel)
JavaScript
17
star
14

devicehive-mqtt

MQTT plugin for DeviceHive server
JavaScript
13
star
15

devicehive-obd2

DeviceHive gateway for OBD2 compatible cars
Java
10
star
16

devicehive-freeboard-datasource

DeviceHive datasource plugin for https://freeboard.io/
JavaScript
8
star
17

devicehive-admin-panel

TypeScript
7
star
18

devicehive-javascript

DeviceHive JavaScript Library. Works with NodeJs and browsers.
JavaScript
7
star
19

lora-gateway

Simple gateway implementation between LoRa and DeviceHive.
Python
7
star
20

devicehive-python-device-simulator

Device activity simulating tool.
Python
5
star
21

devicehive-python-webconfig

Simple web interface for devicehive-python
Python
5
star
22

devicehive-go

Golang client library for DeviceHive
Go
5
star
23

devicehive-uc

* DEPRECATED *
C
4
star
24

devicehive-cpp

* DEPRECATED *
C++
4
star
25

devicehive-demo

* DEPRECATED * DeviceHive Server + BLE Gateway Demo
JavaScript
4
star
26

devicehive-playground

DeviceHive Playground website leveraging multi-tenant DeviceHive deployment configuration
HTML
4
star
27

devicehive-arduino

* DEPRECATED * DeviceHive library for Arduino (binary protocol)
Arduino
4
star
28

devicehive-ws-proxy

JavaScript
4
star
29

devicehive-plugin-cassandra-node

DeviceHive Cassandra storage plugin. NodeJS implementation.
JavaScript
4
star
30

dcos-bridging

JavaScript
3
star
31

devicehive-tests

JavaScript
3
star
32

devicehive-plugin-ethereum

Devicehive plugin for smart contracts
JavaScript
3
star
33

devicehive-android

DeviceHive Android example
Java
3
star
34

devicehive-backend-node

JavaScript
2
star
35

alljoyn

* DEPRECATED * AllJoyn Projects Combined
Shell
2
star
36

devicehive-lights

Control your Christmas Lights with DeviceHive
Java
2
star
37

devicehive-.net-mf

* DEPRECATED *
C#
2
star
38

devicehive-plugin-java-template

Java
2
star
39

devicehive-plugin-core-node

DeviceHive custom plugin core functionality. NodeJS implementation
JavaScript
1
star
40

devicehive-rest-api-docs

Generated version of device hive rest api documentation
HTML
1
star
41

devicehive-proxy

Shell
1
star
42

devicehive-ios

* DEPRECATED *
Objective-C
1
star
43

openwrt-firmware

* DEPRECATED * OpenWrt Firmware with built-in DeviceHive support
Makefile
1
star
44

devicehive-mqx

* DEPRECATED * Devicehive cpp gateway example for Freescale MQX RTOS
C++
1
star
45

devicehive-landing-page

CSS
1
star
46

devicehive-coap-proxy

DeviceHive CoAP proxy
JavaScript
1
star
47

devicehive-proxy-message

DeviceHive proxy messages classes
JavaScript
1
star
48

android-sensors

* DEPRECATED * DeviceHive example of collecting statistics from android sensors
Java
1
star
49

devicehive-j2me

* DEPRECATED *
Java
1
star