The project uses teachable machine to generate tflite model to classify the 4 categories related to brain tumor :
- glioma_tumor
- meningioma_tumor
- pituitary_tumor
- no_tumor
Flutter is used for the client-side interface. Dependencies used :
- Camera
- tflite
- The model is train on Teachable Machine which is not recommended professionally.
- Various factors such as camera quality, image noise, training parameters and much more decide the accuracy of the machine.
- Also packages such as tflite have not been updated since 2 years as of 22/06/23. Hence it is not a good practice to use it.
Clone the project
git clone https://github.com/lomash-relia/brain-tumor-detection.gitRun pub get from .yaml file or use
flutter pub getMake sure your device is connected for debugging and now you can run it
if you encounter any issues, check
C:\Users\{user}\AppData\Local\Pub\Cache\hosted\pub.dev\tflite-1.1.2\android
and open build.gradle file.
In the end of the file you will find dependencies
where you should change "compile" to "implementation".
Save it and your project should run fine.