Speech Pfe
Speech Pfe
As a an engine for this application we choose flask ,it a simple easy and fast framwork that
garantie a smoth communication with our models.
Scanning page allows the user to choose bettwen Scan LIve where he can take a pic of his plant
and send it to the backend for the state detection either healthy or affected, or he can uplaod
directely his pic ,
Scan Result screen determine the name of the plant , it’s state either healthy or affetcted and
the disease name other than more additionnal information like the pathogene that cause that
diases , some special tips and recommandations care , prevetion TIPS, from the specific disease
IA assistant page is a small guid for the user where he can ask for more informations and get
more knowledge about the disease, how to care with his plant ect ...
******* Our objectif was to carete an offline model with vast informations that can integrate in
The llama-cpp-python project
our mobile app , and to realise this we used
provides a simple Python interface to run LLaMA models via
llama.cpp which was an ideal choice for our context to use this
interface we created a virtual Python environment in .x64 Native
Tools Command Prompt for VS 2022 to manage dependencies
cleanly. Then, install the optimized AVX2 version using a custom
index URL for better CPU support. Download a .gguf model like
gemma:2b-7b-chat.Q4_K_M.gguf from Hugging Face (e.g.,
TheBloke repo). This setup allows us to run powerful LLMs locally
without needing a GPU or cloud service.and after this we integrate
using flask .*******
The Plant Disease Detection project combines AI and TinyML to deliver fast, offline,
and accurate crop disease diagnosis.
Through a mobile app and ESP32-based system, it empowers farmers even in remote
areas without internet.
“Technology will not replace farmers, but farmers who use technology will replace
those who don’t.”
AgriHeal shows that low-cost, intelligent tools can revolutionize agriculture and
support a more sustainable future.