CoolFace
Apppublic

accessibilitychecker/AccessibilityCheckerBackend

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
App README

Accessibility PowerPoint Analyzer (Backend)

This is the backend for the Accessibility PowerPoint Analyzer, built with FastAPI. It processes .pptx files to identify and remediate accessibility issues, including generating AI alt-text for images using local vision models.

๐ŸŒŸ Features

  • โ€”FastAPI Backend: Handles file uploads and processing asynchronously.
  • โ€”Local AI Vision: Uses BLIP/GIT models via transformers to generate alt-text for free.
  • โ€”CORS Enabled: Configured to communicate with the Vercel frontend.
  • โ€”Automatic Remediation: Fixes color contrast and missing titles.

๐Ÿ›  Tech Stack

  • โ€”Language: Python 3.10+
  • โ€”Framework: FastAPI
  • โ€”Libraries: python-pptx, torch, transformers, lxml
  • โ€”Deployment: Docker on Hugging Face Spaces

๐Ÿš€ How to use

The frontend (deployed on Vercel) sends requests to this Space's endpoint.

For local testing:

  1. 1.Install dependencies: pip install -r requirements.txt
  2. 2.Run the server: python app.py

๐Ÿ“„ License

This project was developed as part of a technical coursework/senior project focused on accessibility tools.