report of it project (cotton crop advisor)
TRANSCRIPT
PROJECT REPORT
Cotton Crop Advisor
Submitted by:
Pruthvi Patel (06-0138-2013)
Project Guide: Minor Guide:
Mr. K. P. Patel Dr. B. A. Amin
Assistant Professor Assistant Professor
College of Agricultural Information Technology,
Anand Agricultural University
Anand- – 388 110
ACKNOWLEDGEMENT
The satisfaction that accompanies that the successful completion of any task would be incomplete without the mention of people whose ceaseless Cooperation made it possible, whose constant guidance and encouragement Crown all efforts with success. We are grateful to our project guide Prof. K.P.Patel, Dr. B.A.Amin and Dr. Hiren Patel for the guidance, Inspiration and constructive suggestions that helpful us in the preparation of this project.
CERTIFICATE
This is certify that the work which is being presented in the B.Tech. Project Report entitled “Cotton Crop Advisor”, in partial fulfillment of the requirements for the award of the degree of the Bachelor of Technology in Agricultural Information Technology and submitted to college of agricultural information technology is an authentic record of my own work
carried out during a period from 16th January to 29th May, 2016(6th semester) under the supervision of Prof. K. P. Patel and Prof. B.A.Amin.
Pruthvi Patel (06-0138-2013)
Mr. K.P.Patel Mr. B.A.Amin
Abstract
Crop lose due to plant disease is the major problem in current
agricultural system. Lack of knowledge of farmer is also one of the reasons
of this. So it is needed to adaptation of the standard way of cultivation
which is recommended by agricultural scientist. This system will help in
variety selection and the plant disease identification and also calculate the
require chemical for control the disease and the information about whole
package of practices of the crop (in this case cotton).
Table of Contents
1. Introduction: .............................................................................................................. 7
1.1 About the project: ..................................................................................................................... 7
1.2 Project Plan ............................................................................................................................... 7
1.2.1 Title & Scope of Project ................................................................................................... 7
1.2.2 GANTT CHART .................................................................................................................. 8
1.2.3 PERT CHART ..................................................................................................................... 8
1.3 Objective ................................................................................................................................... 9
1.4 Intended User and their Role: ................................................................................................... 9
1.4.1 Farmer:………..………………………………………………………………………………………………………………9
1.4.2 Admin (Manager Purpose)……………………………………………………………………………………………9
1.4.3 Disease Analyst (Expert)……………………………………………………………………………………………….9
1.5 Tools and Technology: ............................................................................................................... 9
1.6 Requirement: .......................................................................................................................... 9
2. Literature Review: .................................................................................................... 10
2.1 Microsoft Visual Studio ........................................................................................................... 10
2.2 .NET Framework ...................................................................................................................... 10
2.3 Bootstrap CSS Documentation ................................................................................................ 10
2.4 JavaScript and JQuery Documentation ................................................................................. 11
3. Methodology ........................................................................................................... 12
3.1 Analysis of system requirements ............................................................................................ 12
3.1.1 Existing System…………………………………………………………………………………………………………..12
3.2.2 Proposed System………………………………………………………………………………………………………..12
3.2 System Design ......................................................................................................................... 12
3.2.1 DFD (Data Flow Diagram) ................................................................................................ 12
3.2.1.1 Context level Diagram……………………………………………………………………………………..12
3.2.1.1 DFD level 1 ........................................................................................................... 13
3.2.1.2 DFD level 2………………………………………………………………………………………………………16
3.2.2 ER Diagram of the system:…………………………………………………………………………………………..17
3.2.3 Database Dictionary:……………………………………………………………………………………………………17
4. Results and discussions ............................................................................................ 20
4.1 Screenshots: ............................................................................................................................ 20
5. Testing ..................................................................................................................... 27
6. Future Scope: ........................................................................................................... 29
7. Bibliography: ............................................................................................................ 29
1. Introduction:
1.1 About the project:
Cotton is a potentially important commercial crop and plays a vital role in the textile industry
in India. India has emerged as the second largest producer of cotton in the world and occupies
the first position in terms of total area under crop production at over 9.44 million hectares.
13.4% losses occurs due to diseases in the crop. So there is need to control of the diseases at
the right time and select the proper variety by which the production may increase. This system
will be helpful to the farmer for that.
1.2 Project Plan
1.2.1 Title & Scope of Project Title : Cotton Crop Advisor
Initial Activity : Requirement Gathering
Final Activity : Make the System that can help in identification of diseases and the control of that as well as in variety selection to the farmer who grows the cotton crop
# Procedure for Responsibility Planned date Actual date Remark
1 Title submission
Submitting Title for project
16/1/2016 16/1/2016 Complete
2 Information gathering
To collect appropriate data
27/1/2016 27/1/2016 Complete
3 Synopsis Submission
Confirm and submit the synopsis
20/2/2016 20/2/2016 Complete
4 Programming and Designing
Coding the whole project
1/2/2016 1/2/2016 Complete
5 Designing Report
Design the project
27/4/2016 29/4/2016 Complete
1.3 Objective
3.1 To help to the farmer in selection of variety of Cotton
3.2 To help in identification of the diseases of Cotton Crop and to provide the advice for
control the disease.
1.4 Intended User and their Role:
In this project there are mainly three user: 1. Farmer 2. Admin (Management Purpose) 3. Disease Analyst
1.4.1 Farmer:
The system will perform following task for the farmer: 1. Suggest the suitable variety.
2. Help in identification of Disease of the field.
1.4.2 Admin (Manager Purpose)
The system will perform following task for the admin or management purpose: 1. Add/Delete/Update Variety Details 2. Add/Delete/Update Disease Details 3. Authenticate the expert(Disease Analyst)
1.4.3 Disease Analyst (Expert)
1. Solve the query of the farmer and in identification of disease.
1.5 Tools and Technology:
I. Asp.net Framework
II. JavaScript, JQuery and AJAX III. Bootstrap – a CSS framework IV. Photoshop for designing purpose
1.6 Requirement:
1.6.1 Software Requirement
Frond-End Development Asp.Net(C#)
Operating System Windows 8 and Above
Back-End Development SQL Server 2008
1.6.2 Hardware requirement We can use i3 or above processer and its require 2 GB RAM.
2. Literature Review:
2.1 Microsoft Visual Studio
It is an integrated development environment (IDE) from Microsoft. It is used to develop computer
programs for Microsoft Windows, as well as web sites, web applications and web services.
2.2 .NET Framework
ASP.NET is a web development platform, which provides a programming model, a comprehensive
software infrastructure and various services required to build up robust web applications for PC, as
well as mobile devices.
ASP.NET works on top of the HTTP protocol, and uses the HTTP commands and policies to set a
browser-to-server bilateral communication and cooperation.ASP.NET is a part of Microsoft .Net
platform. ASP.NET applications are compiled codes, written using the extensible and reusable
components or objects present in .Net framework. These codes can use the entire hierarchy of
classes in .Net framework.
The ASP.NET application codes can be written in any of the following languages:
C#
Visual Basic.Net
Jscript
J#
ASP.NET is used to produce interactive, data-driven web applications over the internet. It consists of
a large number of controls such as text boxes, buttons, and labels for assembling, configuring, and
manipulating code to create HTML pages.
2.3 Bootstrap CSS Documentation
Bootstrap is a powerful front-end framework for faster and easier web development. It includes HTML
and CSS based design templates for common user interface components like Typography, Forms,
Buttons, Tables, Navigations, Dropdowns, Alerts, Modals, Tabs, Accordion, Carousel and many other
as well as optional JavaScript extensions.
Bootstrap also gives ability to create responsive layout with much less efforts.
Advantage of it:
Save lots of time
Responsive features
Consistent design
Easy to use
Compatible with browsers
Open Source
2.4 JavaScript and JQuery Documentation
Jquery: is a fast, small, and feature-rich JavaScript library. It makes things like HTML document
traversal and manipulation, event handling, animation, and Ajax much simpler with an
easy-to-use API that works across a multitude of browsers. JQuery is a JavaScript toolkit
designed to simplify various tasks by writing less code. Here is the list of important core
features supported by jQuery. There are two ways to use jQuery.
Local Installation: we can download jQuery library on your local machine and include it
in your HTML code.
CDN Based Version: we can include jQuery library into your HTML code directly from
Content Delivery Network (CDN).
Local Installation
Go to the https://jquery.com/download/ to download the latest version available.
Now put downloaded jquery-2.1.3.min.js file in a directory of your website, e.g. /jquery.
JavaScript: JavaScript is a cross-platform, object-oriented scripting language. It is a small and
lightweight language. Inside a host environment (for example, a web browser),
JavaScript can be connected to the objects of its environment to provide programmatic
control over them. JavaScript contains a standard library of objects, such as Array, Date,
and Math, and a core set of language elements such as operators, control structures,
and statements. Core JavaScript can be extended for a variety of purposes by
supplementing it with additional objects; for example:
Client-side JavaScript extends the core language by supplying objects to control a
browser and it’s Document Object Model (DOM). For example, client-side extensions
allow an application to place elements on an HTML form and respond to user events
such as mouse clicks, form input, and page navigation.
Server-side JavaScript extends the core language by supplying objects relevant to
running JavaScript on a server. For example, server-side extensions allow an application
to communicate with a database, provide continuity of information from one invocation
to another of the application, or perform file manipulations on a server.
2.5 AJAX:
It for Asynchronous JavaScript and XML. AJAX is a new technique for creating better, faster, and
more interactive web applications with the help of XML, HTML, CSS, and Java Script.
With AJAX, when you hit submit, JavaScript will make a request to the server, interpret the results,
and update the current screen. In the purest sense, the user would never know that anything was
even transmitted to the server.
3. Methodology
3.1 Analysis of system requirements
3.1.1 Existing System
In the current system farmer is going on the shop and asking for seeds and
shopkeeper gives the seed whichever he/she has in stock. Variety selection is the
most important stage for successful farming and In case of disease infestation also
he/she does the same. In this the shopkeeper will concentrate only on his profit so
he gives the seeds/chemical (for disease control) which is he has available or highly
profitable. So the farmer have to face the loss.
3.2.2 Proposed System
This system provides an easy platform for farmer and Key points includes:
Suggest the variety according to the selected conditions of the farmer.
Help in disease identification, farmer can identify the disease by seeing
the disease image and symptoms of the disease and also get the require
quantity of chemical for controlling the disease.
Farmer also can query to the expert or disease analyst if he could not find
the matches between the disease in his field and shown in system.
Get the information about all the stages of plant life-cycle.
3.2 System Design
3.2.1 DFD (Data Flow Diagram)
3.2.1.1 Context level diagram
3.2.2 ER Diagram of the system:
3.2.3Database Dictionary:
Pk=Primary key
Fk=Foreign key
Null= allow null or not
Table 1: Variety Details
Sr no.
Field Data Type Length Pk/Fk/Null Description
1 Variety
Nvarchar 50 Pk Name of variety
2 Crop_name Nvarchar 50 Null Name of crop
3 Season Nvarchar 15 Null Season in which this crop grows
4 Yield(approx.) Int 5 Null Yield of variety
6 Life_period Int Null Life period of the variety
7 Specific_char Nvarchar Null Specific character such as salt resistance etc.
8 Sawing_time Nvarchar 50 Null Sawing time e.g. mid july etc.
9 Price Nvarchar 10 Null Price of variety
Table2: User Details
Sr no. Field Data Type Length Pk/Fk/Null Description
1 Username nvarchar 50 Pk Username of user
2 Password nvarchar 20 Not null Password of user
3 Email-id nvarchar 75 Null Email-id of user
4 Mobile no nvarchar 10 Null Mobile-no of user
5 User type nvarchar 15 Not null User type such as farmer,admin,expert etc.
6 Status nvarchar 15 null Status of the user(expert) such as Authentic/Unauthentic etc.
Table3: Disease details
Table4: Query_details
Sr no.
Field Data Type Length Pk/Fk/Null Description
1 Diesease_name nvarchar 30 pk Name of disease
2 Crop_name nvarchar 30 Not null Name of crop in which this disease occur
3 Image Image 15 Not null Image of disease
4 Symptoms nvarchar 500 Not null Symptoms of disease
5 chemical control nvarchar 150 Not null Name of the chemical by which this disease can be control
6 Require quant(chemical)
Decimal 10 Not null Require quantity of chemical
7 Biological control
nvarchar 150 null Biological practices by which this disease can be control
8 Other_Recom nvarchar 150 null Other recommendation.
9 Physical control nvarchar 150 null Physical practices by which this disease can be control
Sr no.
Field Data Type Length Pk/Fk/Null Description
1 Queryno nvarchar 30 Pk Query no
2 Username nvarchar 30 Not null Name of the user who have submitted query
3 Image Image 15 Not null Image of disease/problems
4 Query nvarchar 500 Not null Query regarding field problem.
5 Answer nvarchar 150 Not null Answer of query
6 Query_Date decimal 10 Not null Date of asking query
4. Results and discussions
4.1 Screenshots:
Home :
Home page will provide two module those are as shown in below:
Variety Selection Module:
Variety selection module require these data:
On click of this button we will get below given screen. In this screen we will get the list of
variety which is satisfy farmer‘s requirement.
Disease Identification Module:
In this module the images of the disease of cotton crop stored in database will be appeared.
And by mouse hover on that we can see expanded view of the disease.
On click of the disease image the characteristics will be appear for confirming disease.
By clicking this button we can continue for control of disease like below.
By clicking this button we can continue for control of disease like below.
By clicking this button we can continue for control of disease like below. In this we need to
enter the disease affected area and choose the unit of area.
Then, the system will calculate the require chemical for control the disease.
Admin Operation:
After login of the admin, he/she can be able to do below operation.
Expert Operations:
After login of the Expert/plant disease analyst, he/she can be able to do below operation.
Farmer Operations:
After login of the Farmer, he/she can be able to do below operation.
Farmer can ask the question and can upload the problem / disease image using this module.
More information about cotton:
And also get these more information about the cotton crop by clicking this.
Logout:
Logout screen will be look like this.
5. Testing The development process repeats this testing sub-process a number of times for the following
phases.
Unit Testing
Integration Testing
System Testing
Acceptance Testing
Testing can be done on the following levels:
5.1 Unit Testing
Objective
The objective of Unit Testing is to test a unit of code (program or set of programs) using
the Unit Test Specifications, after coding is completed. Unit testing tests the minimal
software component, or module.
Each unit of the software is tested to verify that the detailed design for the unit has been
correctly implemented. In an object-oriented environment this is usually at the class level,
and the minimal tests include the constructors and the destructors.
Since the testing will depend on the completeness and correctness of test specifications,
it is important to subject these to quality and verification reviews.
5.2 Input
Unit Test Specifications
Code to be tested
5.3 Testing Process
Checking for availability of Code Walk-through reports which have documented the
existence of and conformance to coding standards.
Review of Unit Test Specifications.
Verify the Unit Test Specifications conform to the program specifications.
Verify that all boundary and null data conditions are included.
5.4 Integration Testing
Integration testing exposes defects in the interfaces and interaction between integrated
components (modules). Progressively larger groups of tested software components
corresponding to elements of architectural design are integrated and tested until the
software works as a system.
As Modular coding strategy was used, after completion of my module and integrating the
module with the complete application, time was given to me to test their part of module
completely and thoroughly.
Integration testing takes as its input, modules that have been checked out by unit testing,
groups them in larger aggregates, applies tests defined in an integration test plan to those
aggregates, and delivers as its output the integrated system ready for system testing.
5.5 System Testing
System testing tests a completely integrated system to verify that it meets its
requirements.
5.6 System Integration Testing
System integration testing verifies that a system is integrated to any external or third
party systems defined in the system requirements.
6. Future Scope: The Project may be extended including the other farmer problem such as weed management,
pest management, Irrigation management etc. Further we can go for implement the artificial intelligence for identification of disease and thus
we can avoid the on layer of disease analyst.
7. Bibliography:
http://seednet.gov.in
www.gssca.in
www.aau.in
www.farmer.gov.in
gurabini prakashan
krushi go-vidhyabhavan magazine
www.getbootstrap.com