Skip to content

A fun photo scavenger hunt game implemented using Flutter and Google AI Dart SDK.

License

Notifications You must be signed in to change notification settings

mkobuolys/ai-photo-scavenger-hunt

Repository files navigation

AI Photo Scavenger Hunt

A fun photo scavenger hunt game implemented using Flutter and Google AI Dart SDK. Generative AI model used for the project: Google Gemini Pro Vision.

Scavenger hunt location selection Scavenger hunt view Results view

Getting Started

You can follow these instructions to build the app and install it onto your device.

Prerequisites

If you are new to Flutter, please first follow the Flutter Setup guide.

Building and installing the app (with fake data)

git clone [email protected]:mkobuolys/ai-photo-scavenger-hunt.git
cd ai-photo-scavenger-hunt
flutter pub get
flutter run --dart-define USE_FAKE_DATA=true

The flutter run command both builds and installs the Flutter app to your device or emulator.

Notice the --dart-define USE_FAKE_DATA=true flag. This flag is used to enable the fake data mode. In this mode, the app uses fake data instead of the Gemini API. This is useful for testing the app without access to the real generative AI model.

Building and installing the app (with real data)

Create a new Firebase project and connect it to the Flutter app by running the following command (replace <project_id> with your Firebase project ID):

flutterfire configure -p <project_id> -o lib/firebase_options.dart

Then, build and install the app:

flutter pub get
flutter run

For more information on how to set up Firebase for Flutter, see the Get started with the Gemini API using the Vertex AI in Firebase SDKs guide.

About

A fun photo scavenger hunt game implemented using Flutter and Google AI Dart SDK.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published