Table of Contents
In today's fast paced world there is hardly any time for people on the road to observe the surroundings and help the needy. However, the technology has successfully advanced well that the blind need not depend on any other person to perform their day to day activities. Guide Mobile is similar to that of a guide dog but it will help you to experience the scenery before you as if someone speaks with you.
Guide Mobile which is a web app takes an image as input, and it provides a speech as an output where the sentence is generated with an image captioning algorithm.
The image captioning model was built with tensorflow library. The model was trained on the flick8k image captioning dataset. The overall accuracy of the model was around 80%. There was extensive data preprocessing for the images as well as the corresponding text data and there was use of both Convolutional and Sequential networks. We are deploying the model on web app with Django MVT.
The dataset provided with very limited images hence the output is not accurate for all the real world scenarios. Backend development was something new which under the limited time was challenging to build.
We were able to deploy the web app and test it successfully on images. The outputs for most of the cases yielded fruitful results.
Learned to maintain ML models and deploy them. Also learned to version the progress and develop robust backend for the website.
Adding more features for the blind such as adding regional languages, networking etc. Also work on real time scenery description so they don't need to click a picture to understand.
- Easy to interact UI
- Easy to understand voice
- Upcoming range for multiple languages
- Python
- Django
- Tensorflow
- Install the dependencies which are related to ML and Django
- Host the Django web application
- Input an image
-
If you wish to run your own build, first ensure you have python3 globally installed in your computer. If not, you can get python here.
-
Download pip and add it to the path
-
Clone the repository
-
Using HTTPS
git clone https://github.com/tejasambhore/ToHacks22.git
-
Using SSH
git clone [email protected]:TejasAmbhore/TOHacks22.git
-
-
Change your working directory to the cloned folder
backend
cd path/to/backend
-
Create a new virtual environment inside
backend
directory and activate thatpython -m venv env
NOTE
By default, this will not include any of your existing site packages. -
Download all the dependencies
pip install -r requirements.txt
Use
pip3
ifpip
not working
-
Migrate to the database
python manage.py makemigrations python manage.py migrate
Use
python3
ifpython
not working -
Run server
python manage.py runserver
- [✅] Train an Image captioning model
- [✅] Test the model on few input images
- [✅] Design a Django app to deploy the model
Distributed under the MIT License. See LICENSE.txt
for more information.
Thanks to all the people who contribute