This project aims to provide visual assistance for visually impaired individuals using Flutter and Firebase.
Follow these steps to set up and run the project on your local machine.
- Flutter SDK
- Git
- Firebase account
- Android Studio or VS Code (with Flutter and Dart plugins)
-
Clone the repository:
git clone https://github.com/iAm-Abhiram7/VisualAidForVisuallyImpaired-G36-PS24.git
-
Navigate to the project directory:
cd VisualAidForVisuallyImpaired-G36-PS24
-
Install dependencies:
flutter pub get
-
Create a new Firebase project at Firebase Console.
-
Add a new app to your Firebase project:
- For web, follow the instructions on the Firebase Console.
- For Android, follow the Flutter setup guide for Firebase.
-
Set up SHA and SHA-1 fingerprints for your Android app:
- Follow the guide at Google Developers.
-
Enable Cloud Firestore API:
- Visit Google Cloud Console and enable the API for your project.
-
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.
-
- Run the image_model.py and let the flask server go live
-
Start an Android emulator or connect a physical device.
-
Run the app:
flutter run