Researchers say visual memory is 60,000x times powerful than text/auditory memory and something which is grasped visually remains in our mind for very long time. Our current education system has become outdated and methodological, where teachers prepare their non-interactive lessons and present them in a lecturing and boring fashion. Inspired by the power of visual learning we wanted to create a tool that could converts teacher's lessons into easy to grasp Cliparts as the teacher speaks dynamically, to provide most immersive, engaging and visually enhanced learning experience to students. Hence, we created Graphle, a visual learning tool.

What is Graphle?

Mr Lal is a primary class English teacher. One day he was teaching his students about different kind of birds. He started with the king of birds, Kingfisher🦆 and the conversation went like

Mr Lal: "Oncle lived a beautiful kingfisher on a big green tree..."

Hearing this a lot of students raised questions and asked

Student1: "Sir, how beautiful was the bird, the Kingfisher?"
Student2: "Sir, did it have big wings?"

Hearing these questions, Mr Lal decided to take help of our visual assistant Graphle. As he started teaching again, our tool listened to Mr lal and created cliparts having a beautiful kingfisher, a green tree and a big jungle in the background.

Graphle, formed by the words visual-learning, is a tech-based learning tool that converts teacher's speech into Clipart pictures in real-time to provide young minds an enhanced and graphic rich learning experience. Graphle does this with help of GANs(Generative adversarial network).

How we build it?

Our project has three main elements

Mobile app - build with native android sdk and java, it listens to what teacher says and convert their speech to text with Google speech-2-text engine and dispatches it to our api.

Image generator - build with pytorch and flask, helps to create magical Clipart of multiple resolutions from the given text and upload these generated images to cloud storage for easy retrieval.

Clipart board - designed with html/css/js and websockets, it facilitate the display of generated images in real-time.

Rest API - build with nodejs, typescript, mongodb, websockets, it is the heart of the whole system as it connect all other components and synchronize them to work in real-time. It recieves text from the app, send it to image generator for magic to happen, retrieves the generated image from storage and send them to clipart board through a websocket.

Challenges we ran into

Our main challenge was to design a generative neural network with following features

  • Generate images suitable for illustration and teaching
  • Generate images for a synonymous words for a rich visual experience
  • Generate them rapidly for making it work in real-time
  • To make images appropriate to display it to children

The next challenge was to make use of web sockets extensively in variety of tech stacks to make the whole thing work in real-time. Using sockets at such a degree also created a problem of securing them and their coonnection channels.

Accomplishments we are proud of

  • Understanding and using GANs to generate Images.
  • Understanding the use channels, websockets for building a real-time applications
  • Using publish-subscrible system design for asynchronous messaging b/w various services
  • serverless archicture for system maintanence and scaling.

What we learned

  • GANs(Generative adversarial Network) and training it with images
  • fully automated dockerized deployment with CI/CD pipeline build over github actions
  • Understanding sockets and publish subscribe models to push data
  • Using RabbitMQ as message queue

Neural Network Architecture


How it works?

Tech Stacks

What's next with Graphle

We want Graphle to be easy to use and want it integrate in classrooms, online classrooms and other E-learning tool, so that it could enhance the overall learning experience in classrooms/remote education and thus helps young curious minds develop their powerful visual memory, as our moto is "When you learn, you visualize, when you visualize, you remember"

Share this project: