Neural Network Web Page Scroller TFJS
Repository
https://github.com/gabru-md/choc-oh
choc-oh is a tensorflow-js application of auto scrolling web page. The web page auto scrolls in the vertical direction depending on where you're reading.
New Features
- What feature(s) did you add?
This involved understanding the Pacman Example made by tfjs-examples on https://github.com/tensorflow/tfjs-examples
I remodelled it into an auto scrolling application for a webpage that scrolls the page in the direction of you reading. - How did you implement it/them?
The whole code is implemented using javascript and thetfjslibrary. It is built on top of thepacman-exampleas stated before. The user first trains the model to work on corresponding labels. Once the user is done with training, then the user can press thescrollbutton to start autoscrolling the webpage.
You can view the live demo of the application here : https://choc-oh.surge.sh
How to use demo?
- Choose the orientation of your face that you like to scroll up, and long press the
scroll upbutton for sometime. - Choose the orientation of your face that you like to scroll down, and long press the
scroll downbutton for sometime. - Choose the orientation of your face that you like to stay, and long press the
staybutton for sometime. - Once done, click
Trainand after training clickScroll. And you're good to go.
New Projects
What is the project about?
This project is about implementing a tensorflowjs example in browser that supports various scrolling modes. Currently only vertical scrolling has been implemented. There can be multiple use case for this example. For example : pausing ofyoutubevideo if the user looks away etc. But that will require achrome-extensionto be made for the same.The following technologies are used:- tensorflowjs
- html & css
- babel
- surge.sh
Roadmap
Creating achrome extensionfor the same so that it can be used over different websites. I will be focusing on chrome extension because of the fact that I can then maybe proceed onto fulfilling theyoutubeexample as well from it.How to contribute?
Contributing to this is very easy. Just reach out to my repository https://github.com/gabru-md/choc-oh
First use thesurge deploymentofchoc-ohhere -> https://choc-oh.surge.sh
Demo : How to ?
GitHub Account
https://github.com/gabru-md/choc-oh
Contributions
All my contributions to this repository count for this blog.
Thank you!
Leave Neural Network Web Page Scroller TFJS to:
Read more #utopian-io posts
Best Posts From gabrum
We have not curated any of gabrum's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From gabrum
- Redirecting Messaged and Admin Functionality in Badgeyay
- My Badges component in Badgeyay
- One for the beauty
- JSON API and schemas in Badgeyay
- Badgeyay : Adding tokens for firebase authentication
- Fixing Bug in Github Linguist
- Neural Network Web Page Scroller TFJS
- Flask Blueprint : Image and File Upload API - Tutorial
- Python JSON Web Tokens : Implementation and Tutorial
- Adding Simple GTK 3.0+ GUI to Livewall