Providing Machine Learning and Image Processing to the farmers at just a click of button. The following repo consists of an implementation of the IEEE paper, "https://ieeexplore.ieee.org/abstract/document/8940834"
The thin silver lining that differentiates an innovation from an invention is the fact that how much feasible and impactful it could be. Though India has one of the highest net area under cultivation, it's net output/hectare is far below it's counterparts. The Government of India is striving very hard to bridge this gap and we belive that our solution could just provide the break that this plan of government is aiming at. This solution if implemented at the soil health centers which have been set up by the government, could help all the farmers to use minimum fertilizers, so as to maintain the soil health and also would provide them an opportunity to gain atmost revenue from the same piece of land. Thus it would be a win-win for all the parties involved. This is provided with the technologies such as Machine Learning and Image Processing. Machine Learning algorithm is used for prediction analysis i.e. to suggest the best crop and also the corresponding bio-fertilizer. Image Processing provides a technological base that could be used for further developmental projects in the field of automated drone or tractors as this generates a route through the field with the least number of turns.
Flask
Open CV for Python
Twilio API
Google Maps API
- Install Flask, Python on your PC. Follow this link if required
- Open the directory
- Open command propmt or terminal in that directory
- write "python server.py"
- Now wait for the message "Running on http://127.0.0.1:8000/"
- Open browser [preferably Chrome] and type "localhost:8000/users/index" and our webapp will open
- Install Python, OpenCV [latest version], NumPy on your PC.
- Open the directory
- OPen command prompt or terminal in that directory
- run " python united.py " -> The object will be isolated
- run " python noise.py " -> Required object gets isolated using this script from satellite image
- Install Python, Flask and Twilio API
- Open the directory
- Open command prompt in the directory
- Download the dependecies using "pip install -r requirements.txt"
- Run "python manage.py runserver"
- Open browser and type "localhost:5000/"
The Web application majorly consists of four services, namely
- Predictive analysis to suggest the top three more suitable crop based on the nutrition levels of the soil, temperature and also the expected revenue that this particular crop could generate. There are two ways by which this could be used.
One would be the automatic way i.e. wherein the farmer just selects their location and based on the previous test that were conducted at or near that place, a suitable crop would be suggested.
Second way is to manually enter the details relating to the soil and to obtain a suitable crop for the entered in value. - A technologiccal base for further development for automated vehicles such as drones and automated tractors. This fundamentaly consists of tha image processing algorithms which are required to plot the routes to traverse the vehicle/drone throughout the field. The image for the same is obtained from Google maps API.
- This feature further suggests the farmers over the substance to be used for the minor deviations that the current soil possess from the ideal requirments. Bio-Fertilizers such as Azotobacter, Pencilium etc... are suggested based on the entered in values.
- A portal for the farmers where they could send in their query to an agro expert and also contact them fo further details.
This could be implemented at the soil health center provided by the government. Thus, besides meansuring the nutritional values of the sample soil, now they would also provide details regarding the best crop.This would also mean that the product could reach every village in the country where farmers use the soil testing centers.
The project might not be an awesome idea for an young and aspiring engineer, but this surely is a game changer in the field of agriculture and is the need of this hour. Farmers need more revenue to sustain and this provides just that.
- Mayank Singh
- Prajwal Brijesh Ainapur
- Sangamesh Kotalwar
- Chaganti Sai Yeshwanth
- Athul Khannan