Giter Club home page Giter Club logo

wheelchair-api's Introduction

Wheelchair API to detect fall and control the wheelchair

Python Package Dependencies

  1. alembic
  2. Flask
  3. Flask-Restful
  4. SQLAlchemy
  5. Flask-SQLAlchemy
  6. Flask-Migrate
  7. Flask-Script
  8. requests
  9. idna
  10. urllib3

Introduction

In this project an API for wheelchair has been implemented. The target of the API is to get different information of the wheelchair. The information is given and recieved in json format.

Motivation

The project is made for the my Academic thesis - "Secured wheelchair in IoT Environment"

Features

  • Fall detection using Accelerometer data (Used threshold technique)
  • Control Wheelchair

Quick start running the project

  1. git clone https://github.com/asif001/wheelchair-api.git
  2. Create python virtual environment with python-3.7.3
  3. Install required python dependencies into your python virtual environment using pip install -r requirements.txt
  4. Comment out cloud config section and uncomment local config section in app.py to run locally
  5. python app.py db upgrade
  6. python app.py runserver
  7. Go to http://127.0.0.1:5000/<params> to get data for given params. The list of params are given below

Params

  • All data are sent and received in json format
  1. status -- To send and receive whhelchair status
  • POST: {"Accelerometer": accelerometer_data}
  • GET: {"Accelerometer": .. , "FallStatus": ..}
  1. direction -- Control wheelchair in different direction
  • POST: {"direction": direction_to_go}
  • GET: {"direction": ..}
  1. trigger -- Trigger when a fall is detected
  • POST: {"isTriggered": boolean_trigger_data}
  • GET: {"isTriggered": ..}
  1. restart -- Reset all values to default
  • GET: {"isTriggered": .. , "fall_status": .., "Accelerometer": ..}

Contributing

The main reason to publish something open source, is that anyone can just jump in and start contributing to my project. So If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

Author

Asifur Rahman [email protected] Student at Department of Computer Science and Engineering Khulna University of Engineering & Technology, Khulna Bangladesh

wheelchair-api's People

Contributors

asif001 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.