Skip to content

Kulieshova/ai-sl

Β 
Β 

Repository files navigation

AiSL πŸ‘

Translate written text to ASL gloss & signs β€” web app + browser extension Ai-SL Demo


πŸ§‘β€πŸ’» What is Ai-SL?

Ai-SL is an AI-powered tool that helps make written content more accessible to Deaf and Hard of Hearing users who use American Sign Language (ASL).

The project consists of:

βœ… A web app that lets users upload documents (TXT / PDF), which are automatically translated into ASL gloss, with linked videos of ASL signs.

βœ… A browser extension that allows users to highlight any text on a webpage and instantly view an ASL interpretation β€” right in a popup window!

βœ… A Hugging Face Space where you can test our backend by inputting your own text or files and seeing the generated ASL videos in real-time! --> Hugging Face Space


πŸ’‘ Why we built it β€” Social Impact

For many Deaf and Hard of Hearing individuals, English is a second language, and reading complex written materials (academic papers, government forms, textbooks) can be difficult.

ASL is a visual language with its own grammar β€” very different from written English.
However, live interpreters are not always available:

  • Many students can’t get interpreters for all their classes
  • Booking interpreters is expensive and time-limited
  • Self-study of written material (textbooks, articles, web content) is often inaccessible
  • Automatic captioning does not translate into ASL structure

As a result, many Deaf users face barriers to independent learning, work, and daily life.

Ai-SL helps bridge this gap:

βœ… It offers instant, on-demand ASL gloss of any text

βœ… Works for self-study β€” no need to schedule an interpreter

βœ… Brings accessibility to any website, any document

βœ… Available 24/7 β€” helping users learn, explore, and access more content on their own terms


πŸ—οΈ Project Structure


AI-SL/
β”œβ”€β”€ extension/                # Browser extension
β”‚   β”œβ”€β”€ icons/
β”‚   β”œβ”€β”€ api-integration-example.js
β”‚   β”œβ”€β”€ background.js
β”‚   β”œβ”€β”€ content\_script.js
β”‚   β”œβ”€β”€ content\_styles.css
β”‚   β”œβ”€β”€ install.sh
β”‚   β”œβ”€β”€ manifest.json
β”‚   β”œβ”€β”€ package.json
β”‚   β”œβ”€β”€ popup.css
β”‚   β”œβ”€β”€ popup.html
β”‚   β”œβ”€β”€ popup.js
β”‚   └── README.md
β”‚
β”œβ”€β”€ src/backend/              # Python backend (Flask)
β”‚   β”œβ”€β”€ asl\_gloss.py
β”‚   β”œβ”€β”€ backend.py
β”‚   β”œβ”€β”€ document\_parsing.py
β”‚   └── document\_to\_gloss.py
β”‚
β”œβ”€β”€ web-app/                  # Frontend web app (React or other)
β”‚   └── app.py
β”‚
β”œβ”€β”€ flask\_requirements.txt
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ INTEGRATION\_GUIDE.md
β”œβ”€β”€ README\_FLASK.md
β”œβ”€β”€ package-lock.json
└── README.md


πŸš€ How to run

Backend (Flask API):

# install dependencies
pip install -r requirements.txt

# run backend
python src/backend/backend.py
# or
python app.py

Web app:

cd web-app
npm install
npm run dev
# App runs on localhost:3000

Browser extension:

  1. Go to chrome://extensions in Chrome/Edge
  2. Enable "Developer mode"
  3. Click "Load unpacked extension" β†’ select the extension/ folder
  4. Highlight any text β†’ click β€œπŸ€Ÿ Translate to ASL” β†’ popup shows ASL gloss + videos

🧠 AI / ML Components

  • LLM (OpenAI GPT-4 or similar): converts English text β†’ ASL gloss
  • ASL video dataset: Signbank, ASL-LEX, How2Sign (for linked sign videos)
  • (Optional) MediaPipe Holistic: to add visual consistency / overlays to videos

πŸ’‘ Features

βœ… Upload TXT/PDF β†’ ASL gloss + sign video links βœ… Highlight any text on any page β†’ ASL popup βœ… Clean, accessible glassmorphism UI βœ… Browser extension (Manifest V3 compatible) βœ… Modular architecture β€” easy to extend with new sign datasets or avatars


⚠️ Limitations

  • Some ASL regional variations not covered
  • The avatar is not in its best shape, but we are working on it :)

πŸ™Œ Team

Built by Nataliia Kulieshova, Ethan Tam, Deena Sun, and Jeffrey Gong at the Berkeley AI Hackathon 2025 πŸš€

Team photo from Berkeley AI Hackathon 2025


License

MIT License

About

🀟 AI-powered tool to translate text into ASL β€” includes a web app for documents and a browser extension for any webpage. Built for accessibility & independent learning by Deaf and Hard of Hearing users.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 81.4%
  • TypeScript 12.7%
  • Python 4.5%
  • CSS 0.7%
  • HTML 0.5%
  • PLpgSQL 0.1%
  • Shell 0.1%