LeafLife is a mobile application that identifies plant diseases by using machine learning algorithms to analyze photos taken on the user's phone.
- Mobile application
- Authentication
- FireStore
- Storage
- Training the model
- Obtaining dataset
Farmers usually check the leaves of their crops to identify diseases early and prevent them from spreading. However, disease identification can be a challenge for farmers sometimes. To address this challenge, we have developed a mobile application called LeafLife. By using LeafLife, we aim to contribute to two of the United Nations' Sustainable Development Goals which are Responsible Consumption and Production, and Life on Land.
We have three main pages on our application. The Home page is designed to display all of a farmer's previous scan results in one place, as we believe this is important information for them to have. The Explore page provides information on all the diseases that our application can detect, including possible solutions to those diseases. The Profile page displays the user's profile information. To scan a new plant, users can click on the button located in the bottom right corner of every page. This scan page allows them to choose between selecting an image from their phone's gallery or taking a photo to use for the scan. The scan results are automatically added to the Home page once the scan is completed.
For android, use the .apk file provided in releases section.
If you want to build yourself, enter this command flutter pub get
then flutter run
in project directory.
If you encountered build problems related "tflite", do the following changes:
Open the plugin's build.gradle file and do following changes
For mac:
/Users/yourusername/src/flutter/.pub-cache/hosted/pub.dartlang.org/tflite-1.1.2/android/build.gradle
For windows:
C:/Users/yourusername/AppData/Local/Pub/Cache/Hosted/pub.dev/tflite-1.1.2/android/build.gradle
from this:
to this:
This issue is plugin related, not the project.
For iOS, open ios/Runner.xcodeproj
Connect your physical iOS device, click "Runner" in the left top corner, then click Signing & Capabilities and add your provisioning profile.
Then enter this command flutter pub get
then flutter run
in project directory.
- Ali Taş
- Mehmet Kuzucu
- Şafak Gün
LeafLife is distributed under the MIT license. See LICENSE for more information.