Skip to content

A Trained Model to convert Image to Speech integrated with Django

License

Notifications You must be signed in to change notification settings

TejasAmbhore/TOHacks22

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Issues MIT License


ToHacks 2022

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

Snapshots of Approach


Inspiration

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.

What it does

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.

How We built it

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.

Challenges we ran into

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.

Accomplishments that we're proud of

We were able to deploy the web app and test it successfully on images. The outputs for most of the cases yielded fruitful results.

What we learned

Learned to maintain ML models and deploy them. Also learned to version the progress and develop robust backend for the website.

What's next for Guide Mobile

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.

Features:

  • Easy to interact UI
  • Easy to understand voice
  • Upcoming range for multiple languages

Built With

  • Python
  • Django
  • Tensorflow

Getting Started

Prerequisites

  • Install the dependencies which are related to ML and Django
  • Host the Django web application
  • Input an image

Local Setup

  • 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 that

    python -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 if pip not working

For running Django Server

  • Migrate to the database

    python manage.py makemigrations
    python manage.py migrate

    Use python3 if python not working

  • Run server

    python manage.py runserver

Roadmap

  • [✅] Train an Image captioning model
  • [✅] Test the model on few input images
  • [✅] Design a Django app to deploy the model

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contributors

Thanks to all the people who contribute

Contributors

Acknowledgments

About

A Trained Model to convert Image to Speech integrated with Django

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published