Skip to content

Latest commit

 

History

History
78 lines (55 loc) · 2.14 KB

File metadata and controls

78 lines (55 loc) · 2.14 KB

Visual Aid for Visually Impaired (G36-PS24)

This project aims to provide visual assistance for visually impaired individuals using Flutter and Firebase.

Getting Started

Follow these steps to set up and run the project on your local machine.

Prerequisites

  • Flutter SDK
  • Git
  • Firebase account
  • Android Studio or VS Code (with Flutter and Dart plugins)

Installation

  1. Clone the repository:

    git clone https://github.com/iAm-Abhiram7/VisualAidForVisuallyImpaired-G36-PS24.git
    
  2. Navigate to the project directory:

    cd VisualAidForVisuallyImpaired-G36-PS24
    
  3. Install dependencies:

    flutter pub get
    

Firebase Setup

  1. Create a new Firebase project at Firebase Console.

  2. Add a new app to your Firebase project:

  3. Set up SHA and SHA-1 fingerprints for your Android app:

  4. Enable Cloud Firestore API:

  5. Create a Firestore database:

    • In the Firebase Console, select your project.

    • In the left-hand navigation pane, click on "Firestore Database".

    • Click on "Create database".

    • Set up the database rules as follows:

      rules_version = '2';
      service cloud.firestore {
        match /databases/{database}/documents {
          match /{document=**} {
            allow read, write: if request.time < timestamp.date(2024, 7, 18);
          }
        }
      }
      

    Note: These rules are set to expire on July 18, 2024. Make sure to update them before that date.

Setup the flask server

  1. Run the image_model.py and let the flask server go live

Running the App

  1. Start an Android emulator or connect a physical device.

  2. Run the app:

    flutter run