Skip to content

A webapp that displays is your phone upright or up-side down

License

Notifications You must be signed in to change notification settings

YashIndane/phone-orientation

Repository files navigation

phone-orientation

A webapp that displays is your phone upright or up-side down

Demo Link ->

Working

Sensorstream app continously sends the sensor values to up-down-API.py. The JS file in the flask app home.js continously sends GET request to the up-down-API.py and with the help of cgi Python module the orientation of the phone is send as a response. According to the response home.js adjusts the image on browser.

phoneorien

Installations

Keras

$ pip install keras

Tensorflow

$ pip install tensorflow

App installation

Install Sensorstream IMU+GPS App from Google PlayStore.

imu

Training the model

If you need your own model then use value_capture.py to first get the sensor data. Use Orientation sensor data for getting the orientation. Now use the model_training.py to train the model.

About

A webapp that displays is your phone upright or up-side down

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published