GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ithllc/CV4VI: Computer Vision For Vision Impaired

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
__pycache__
__pycache__
 
 
testing
testing
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
POCworkplan.md
POCworkplan.md
 
 
README.md
README.md
 
 
RevisedPOCworkplan.md
RevisedPOCworkplan.md
 
 
app.py
app.py
 
 
camera_controller.py
camera_controller.py
 
 
current_status.md
current_status.md
 
 
environment.yml
environment.yml
 
 
location_parser.py
location_parser.py
 
 
moondream_analyzer.py
moondream_analyzer.py
 
 
nextsteps.md
nextsteps.md
 
 
requirements.txt
requirements.txt
 
 
voice_pipeline.py
voice_pipeline.py
 
 

Repository files navigation

Computer Vision For Visually Impaired

CV4VI is an acronym for "Computer Vision For Visually Impaired".

This is a proof of concept allowing the user to interface with a web app to work as a simulated environment for an application on an edge device that has practical use of AI models. The AI-powered assistant that helps visually impaired individuals determine if it's safe to cross the street at specific intersections in New York City.

Installation

  1. Clone the repo
    git clone https://github.com/ithllc/CV4VI.git

  2. Navigate to the directory
    cd CV4VI

  3. Install dependencies
    pip install -r requirements.txt

    Alternatively, use Conda:

    conda env create -f environment.yml
    conda activate hackathon
    
  4. Install Git LFS and initialize it if not already done git lfs install

  5. Clone the repo for Moondream2 vision model git clone https://huggingface.co/vikhyatk/moondream2

  6. In the file moondream_analyzer.py, change the current directory path on line 15 to the directory path of your cloned Moondream2 vision model /python_code_src/moondream2

Usage

To start the app:

python app.py

This will launch a Streamlit web interface where you can:

  1. Press the microphone button to record your voice
  2. Ask if it's safe to cross at a specific NYC intersection (e.g., "I'm at 1st Avenue and 110th Street, can I cross?")
  3. View the traffic camera feed from that location
  4. Receive an AI analysis of the intersection safety
  5. Hear the spoken response through your speakers

Features

  • Natural language processing to extract street intersections from spoken queries
  • Automated web scraping of NYC Traffic Management Center (NYCTMC) cameras
  • Real-time camera feed access for any monitored NYC intersection
  • Computer vision analysis using the Moondream2 vision language model
  • Spoken responses for visually impaired users using OpenAI's TTS technology
  • User-friendly Streamlit interface for demonstration purposes

Built With

  • Python 3.11
  • Streamlit for the web interface
  • Selenium for web automation and camera feed access
  • OpenAI APIs for speech-to-text and text-to-speech
  • Hugging Face Transformers with Moondream2 vision language model
  • WebDriver Manager for seamless browser automation

Testing / Demo

For a quick test of the system:

  1. Start the application
  2. Click the microphone button
  3. Say "I'm at 1st Avenue and 110th Street, can I cross?"
  4. Wait for the system to process and respond

To Demo:

  1. Go to the URL (https://huggingface.co/spaces/AU2003USD2024/ai-street-crossing-assistant)
  2. Follow the instructions on quick test

License

This project is licensed under GNU AFFERO GENERAL PUBLIC LICENSE - see the LICENSE file for details.

Roadmap

Refinement and Robustness

  • Advanced location matching with geocoding API
  • Depth perception using LiDAR technology
  • Selenium hardening for better web automation
  • Configuration management improvements

Model and Analysis Improvement

  • Evaluation of different Vision Language Models
  • Image pre-processing for better analysis in low-light conditions
  • Confidence scoring for safety recommendations

User Experience Enhancements

  • Lower latency through optimization
  • Interactive map showing camera locations
  • Additional accessibility improvements

Acknowledgments

  • AI Tinkerers of NYC for hosting the hackathon on June 21, 2025 to June 22, 2025 (https://nyc.aitinkerers.org/)
  • Moondream for sponsoring the hackathon event (https://moondream.ai/)
  • New York City Department of Transportation (https://www.nyc.gov/html/dot/html/home/home.shtml)

About

Computer Vision For Vision Impaired

Resources

Readme
AGPL-3.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.