AI Eye (Revamped)

Test this app for free
74
import logging
from gunicorn.app.base import BaseApplication
from app_init import create_initialized_flask_app

# Flask app creation should be done by create_initialized_flask_app to avoid circular dependency problems.
app = create_initialized_flask_app()

# Setup logging
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)

class StandaloneApplication(BaseApplication):
    def __init__(self, app, options=None):
        self.application = app
        self.options = options or {}
        super().__init__()

    def load_config(self):
        # Apply configuration to Gunicorn
        for key, value in self.options.items():
            if key in self.cfg.settings and value is not None:
                self.cfg.set(key.lower(), value)

    def load(self):
Get full code

AI Eye (Revamped)

Created: | Last Updated:

I built this Web app for blind users to navigate by capturing images with a single button, utilizing AI for image description and text-to-speech conversion from a template by an author called 'crc' on Lazy AI. I can't wait to see where this goes!

Here's a step-by-step guide for using the AI Eye (Revamped) template:

Introduction

The AI Eye (Revamped) template is designed to create a web application that assists blind users in navigating their surroundings. It captures images with a single button press, utilizes AI for image description, and converts text to speech. This guide will walk you through setting up and using the template.

Getting Started

  1. Click "Start with this Template" to begin working with the AI Eye (Revamped) template in the Lazy Builder interface.

Test the Application

  1. Press the "Test" button in the Lazy Builder interface to deploy the application and launch the Lazy CLI.

Using the App

Once the app is deployed, you can access it through the provided server link. Here's how to use the application:

  1. Open the app on a mobile device with a camera.

  2. When you first open the app, it will request camera permissions. Tap the bottom half of the screen to grant permission or the top half to deny.

  3. After granting permission, you can use the app as follows:

  4. Tap anywhere on the screen to capture an image.
  5. The app will process the image and provide an audio description of the surroundings.
  6. To stop the audio description, tap the screen again.

  7. The app uses the device's default language for text-to-speech. Ensure your device is set to the desired language for the best experience.

Additional Features

  • The app is designed to keep the screen awake while in use.
  • It uses the rear-facing camera by default for capturing surroundings.
  • The interface is minimalistic to make it easier for visually impaired users to interact with the app.

Integrating the App

This web application is designed to be used as a standalone tool and doesn't require integration with external services. Users can access it directly through a web browser on their mobile devices.

By following these steps, you'll have a functional AI-powered navigation assistant for blind users. The app captures images, processes them using AI, and provides audio descriptions to help users understand their surroundings.

Technologies

Flask Flask