explaingit

vishalsingh2972/drishti-ai

Analysis updated 2026-05-18

2PythonAudience · generalComplexity · 4/5Setup · hard

TLDR

A browser based assistive navigation tool for visually impaired users that detects nearby obstacles, estimates their distance and direction, and narrates guidance aloud in multiple languages.

Mindmap

mindmap
  root((DrishtiAI))
    What it does
      Detects obstacles
      Estimates distance
      Speaks directions
      Answers questions
    Tech stack
      React FastAPI
      YOLOv8 MiDaS
      Groq LLaMA 3
    Use cases
      Navigate a busy street
      Get spoken obstacle alerts
      Ask about surroundings
    Audience
      Visually impaired users
      Accessibility developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Help a visually impaired person navigate a street with spoken obstacle warnings.

USE CASE 2

Ask the system natural questions about what is currently in front of the camera.

USE CASE 3

Get navigation guidance narrated in one of six supported Indian languages.

USE CASE 4

Use a browser based accessibility tool that requires no app installation on any device.

What is it built with?

ReactFastAPIYOLOv8MiDaSGroq LLaMA 3

How does it compare?

vishalsingh2972/drishti-ai0-bingwu-0/live-interpreter010zx00x1/faresnipe
Stars222
LanguagePythonPythonPython
Setup difficultyhardmoderateeasy
Complexity4/52/52/5
Audiencegeneralgeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires API keys for Groq and optionally Sarvam, plus running a separate frontend and backend.

License details are not shown in this excerpt of the README.

In plain English

Drishti AI is an assistive navigation system for visually impaired users that runs entirely inside a web browser, with no app to install, working from a laptop, an Android phone, or an iPhone. Instead of just spotting objects in front of the camera, it combines object detection, distance estimation, direction awareness, spoken narration in multiple languages, and a conversational AI that can answer follow up questions about the surroundings. The system works by streaming live camera frames from the browser to a backend server. There, a model called YOLOv8 identifies nearby objects such as cars, people, bicycles, and traffic signs, while a separate depth estimation model called MiDaS judges roughly how far away each object is, all from a single camera image with no extra sensors needed. Each detected object is placed into one of three zones, left, center, or right, and the closest or most relevant obstacle is announced first so the user is not overwhelmed with constant chatter about everything the camera sees. That spoken guidance is available in English, Hindi, Telugu, Tamil, Kannada, and Malayalam, using a text to speech model called Sarvam, with an automatic fallback to Google's text to speech service if Sarvam is unavailable. Beyond simple obstacle callouts, users can ask natural questions like whether there is a pedestrian crossing ahead, and a language model called Groq LLaMA 3 answers using a short scene summary generated by the vision models rather than raw images, which keeps responses fast and efficient. The frontend is built with React and the backend with FastAPI, with the backend deployed on Hugging Face Spaces and the frontend on Vercel. The project describes itself as production ready and aims to be more capable and more accessible than traditional assistive navigation hardware, which tends to be expensive, limited to basic obstacle detection, and hard to deploy across different devices. Drishti AI instead tries to build a continuous, spoken understanding of the user's surroundings that adjusts to obstacles, distance, and direction in something closer to real time.

Copy-paste prompts

Prompt 1
Explain how this project combines object detection and depth estimation into one spoken navigation instruction.
Prompt 2
Walk me through deploying this project's backend on Hugging Face Spaces and frontend on Vercel.
Prompt 3
Show me how the Sarvam text to speech integration works and how the gTTS fallback is triggered.
Prompt 4
Help me add support for a new language to this project's voice narration pipeline.

Frequently asked questions

What is drishti-ai?

A browser based assistive navigation tool for visually impaired users that detects nearby obstacles, estimates their distance and direction, and narrates guidance aloud in multiple languages.

What language is drishti-ai written in?

Mainly Python. The stack also includes React, FastAPI, YOLOv8.

What license does drishti-ai use?

License details are not shown in this excerpt of the README.

How hard is drishti-ai to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is drishti-ai for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.