LIVESTOCK MANAGEMENT FOR
ANIMALS USING ANDROID
APPLICATION
A PROJECT REPORT
Submitted by
ROOPAN RAJ P
KARTHIKEYAN S
MUTHUKUMAR S
in partial fulfillment of the requirement
for the award of the degree
of
[Link]
in
INFORMATION TECHNOLOGY
K.S. RANGASAMY COLLEGE OF TECHNOLOGY
(An Autonomous Institution, affiliated to Anna University Chennai and Approved by AICTE, New Delhi)
TIRUCHENGODE – 637 215
MAY-2023
2
K.S. RANGASAMY COLLEGE OF TECHNOLOGY
TIRUCHENGODE - 637 215
BONAFIDE CERTIFICATE
Certified that this project report titled “ LIVESTOCK MANAGEMENT
FOR ANIMALS USING ANDROID APPLICATION” is the bonafide work of
ROOPAN RAJ P (1921177), KARTHIKEYAN S (1921143) and
MUTHUKUMAR S (1921165) who carried out the project under my supervision.
Certified further, that to the best of my knowledge the work reported herein does
not form part of any other project report or dissertation on the basis of which a
degree or award was conferred on an earlier occasion on this or any other candidate.
SIGNATURE SIGNATURE
Dr. [Link], M.E., Ph.D.,
HEAD OF THE DEPARTMENT SUPERVISOR
PROFESSOR Associate Professor
Department of Information Technology Department of Information Technology
K.S. Rangasamy College of Technology K.S. Rangasamy College of Technology
Tiruchengode - 637 215 Tiruchengode - 637 215
Submitted for the viva-voce examination held on …17-10-2022……………
Internal Examiner External Examiner
3
DECLARATION
We jointly declare that the project report on “LIVESTOCK
MANAGEMENT FOR ANIMALS USING ANDROID APPLICATION ” is the
result of original work done by us and best of our knowledge, similar work has not
been submitted to “ANNA UNIVERSITY CHENNAI” for the requirement of
Degree of [Link]. This project report is submitted on the partial fulfilment of the
requirement of the award of Degree of [Link].
Signature
____________________
ROOPAN RAJ P
____________________
KARTHIKEYAN S
____________________
MUTHUKUMAR S
Place: Tiruchengode
Date: 17-10-2022
4
ACKNOWLEDGEMENT
We wish to express our sincere gratitude to our honourable Correspondent
Lion Dr. K. S. RANGASAMY, M.J.F., for providing immense facilities at our
institution.
We would like to express special thanks of gratitude to our Chief Executive
Officer Dr. K. THYAGARAJAH, M.E., Ph.D., who has been the key spring of
motivation to us throughout the completion of our course and project work.
We are very proudly rendering our thanks to our Principal
Dr. R. GOPALAKRISHNAN, M.E., Ph.D., for the facilities and the
encouragement given by him to the progress and completion of our project.
We regard our sincere and heartfelt thanks to our Director of the Department
who gave us the golden opportunity to do this wonderful project.
We proudly render our immense gratitude to the Head of the Department
Dr. POONGULALI, M.E., Ph.D., for his effective leadership, encouragement and
guidance in the project.
We are highly indebted to provide our heart full thanks to our supervisor
Dr.M. TAMILARASI, M.E., Ph.D., for his valuable ideas, encouragement and
supportive guidance throughout the project.
We wish to extend our sincere thanks to all faculty members of our
Information Department for their valuable suggestions, kind co-operation and
constant encouragement for successful completion of this project.
We wish to acknowledge the help received from various Departments and
various individuals during the preparation and editing stages of the manuscript.
5
ABSTRACT
The identification and detection of diseases of plants is one of the main points
which determine the loss of the yield of crop production and agriculture. The
studies of plant disease are the study of any visible points in any part of the plant
which helps us differentiate between two plants, technically any spots or color
shades. The sustainability of the plant is one of the key points for agricultural
development. The identification of plant diseases is very difficult to get right. The
identification of the disease requires lots of work and expertise, lots of knowledge
in the field of plants and the studies of the detection of those diseases. Hence, image
processing is used for the detection of plant diseases. The Detection of diseases
follows the methods of image acquisition, image extraction, image segmentation,
and image pre-processing. In this paper we will show the detection of diseases of
plants by getting their images of leaves, stems and fruits. We will also discuss the
use of image extraction, and image pre-processing which will be used for making
this project
6
TABLE OF CONTENTS
CHAPTER TITLE PAGE NO.
ABSTRACT v
LIST OF TABLES vii
LIST OF FIGURES viii
LIST OF SYMBOLS AND ABBREVIATIONS ix
1 INTRODUCTION
2 LITERATURE REVIEW 2
2.1.1 Diary Husbandry
2.1 .2 Animal Husbandry
2.1.3 My Goat Manager
2.1.4 11 Pets: Pet Care
2.2 CONCLUSIONS FROM THE LITERATURE REVIEW 3
3 MATERIALS AND METHODS 4
3.1 SOFTWARE TOOLS 4
3.1.1 ANDROID STUDIO
3.1.2 FIGMA
3.1.3 FLUTTER
3.1.4 JAVA
3.1.5 FIREBASE
4 EXPERIMENTAL SETUP AND PROCEDURE 5
4.1 SETUP AND PROCEDURE
5 RESULTS AND DISCUSSION 6
5.1 RESULT 6
6 CONCLUSION 7
LIST OF PUBLICATIONS 8
APPENDIX 1 9
REFERENCES 10
7
LIST OF TABLES
TABLE TITLE PAGE
NO. NO.
1.1 Sample Table 1
8
LIST OF FIGURES
FIGURE TITLE PAGE
NO. NO.
1.1 1
1
CHAPTER 1
INTRODUCTION
This system utilizes image content characterization and supervised classifier
type back propagation with feed forward neural network. Image processing
techniques for this kind of decision analysis involves preprocessing, feature
extraction and classification stage. The system will be used to classify the test
images automatically to decide either abnormality or good one. For this approach,
automatic classifier CNN will be used for classification based on learning with
some training samples of that two category
2
CHAPTER 2
2.1 LITERATURE REVIEW
Plant Disease
“Sachin D. Khirade; A.B. Patil”
Detection Using Image
Processing
Identification of the plant diseases is the key to preventing the
losses in the yield and quantity of the agricultural product. The
studies of the plant diseases mean the studies of visually
observable patterns seen on the plant. Health monitoring and
disease detection on plant is very critical for sustainable
agriculture. It is very difficult to monitor the plant diseases
manually. It requires tremendous amount of work, expertize in the
plant diseases, and also require the excessive processing time.
Hence, image processing is used for the detection of plant
diseases. Disease detection involves the steps like image
acquisition, image pre-processing, image segmentation, feature
extraction and classification. This paper discussed the methods
used for the detection of plant diseases using their leaves images.
This paper also discussed some segmentation and feature
extraction algorithm used in the plant disease detection.
3
Wang
etection and Classification by Deep Learning—A
Review
Deep learning is a branch of artificial intelligence. In recent
years, with the advantages of automatic learning and feature
extraction, it has been widely concerned by academic and industrial
circles. It has been widely used in image and video processing,
voice processing, and natural language processing. At the same
time, it has also become a research hotspot in the field of
agricultural plant protection, such as plant disease recognition and
pest range assessment, etc. The application of deep learning in
plant disease recognition can avoid the disadvantages caused by
artificial selection of disease spot features, make plant disease
feature extraction more objective, and improve the research
efficiency and technology transformation speed. This review
provides the research progress of deep learning technology in the
field of crop leaf disease identification in recent years. In this paper,
we present the current trends and challenges for the detection of
plant leaf disease using deep learning and advanced imaging
techniques. We hope that this work will be a valuable resource for
researchers who study the detection of plant diseases and insect
pests. At the same time, we also discussed some of the current
challenges and problems that need to be resolved.
4
ić; Dejan Stefanovič; Robert Pečkai-Kovač ”A Optical Character
Recognition on images with colorful
background
In this paper, a preprocessing method is presented for improving
Tesseract Optical Character Recognition (OCR) performance on images
with colorful background. The proposed method consists of two steps. At
first, a text segmentation method is performed which attempts to extract
the text from the colorful background. This step is based on input image
clustering into k images. In the second step, a classifier is used to identify
the image containing text among k images resulting from the previous
step. OCR is then performed on the identified image. The proposed
preprocessing method improves Tesseract OCR performance by
approximately 20%.
an; S Praveen; M Rohith; V Vasantha Kumar ”Identification of Plant
Diseases Using Image Processing and
Image Recognition
In the field of agriculture, image processing is a constantly evolving
field of research and progress. Currently, several plant disease
5
identification studies are underway. Identifying plant diseases can not
only help farmers increase yields, but also promote a variety of
agricultural practices. This paper proposes an algorithmic program for the
diseases detection and categorization with the assistance of machine
learning mechanisms and image recognition tools. First detect and record
the contaminated area and then perform image pre-processing. Then
collect the fragments, identify the infected area, and perform feature
extraction on it. This article discusses the methods of using leaf
photography to detect plant diseases. In addition, this article also
introduces some feature segmentation and extraction algorithms for plant
disease detection.
2.2 CONCLUSIONS FROM THE LITERATURE REVIEW
Even though there are many systems that have been developed till now using
different machine learning algorithms like Random Forest, Naive bayes,
Artificial Neural network the accuracy of those models are low and the works
using those classification techniques is done with the mind set of detecting
disease for only one species of plants. Existing work detects the symptoms of
plant diseases at the very initial stage and classifies plant disease based on the
symptoms using a Deep Learning (DL) technique. The proposed approach
recognizes the diseases using a deep CNN, with the best accuracy of 96.50%.
This accuracy rate validates the model performance to early advisory or
warming tool.
6
7
CHAPTER 3
SYSTEM ANALYSIS AND DESIGN
3.1 SOFTWARE TOOLS
Introduction
Python is a high-level programming language designed to be easy to read and
simple to implement. It is open source, which means it is free to use, even for
commercial applications. Python can run on Mac, Windows, and Unix systems and
has also been ported to Java and .NET virtual machines. Python is a fairly old
language created by Guido Van Rossum. The design began in the late 1980s and
was first released in February 1991. Python is considered a scripting language, like
Ruby or Perl and is often used for creating Web applications and dynamic Web
content. It is also supported by a number of 2D and 3D imaging programs, enabling
users to create custom plug-ins and extensions with Python. Examples of
applications that support a Python API include GIMP, Inkscape, Blender, and
Autodesk Maya. Scripts written in Python (.PY files) can be parsed and run
immediately. They can also be saved as a compiled programs (.PYC files), which
are often used as programming modules that can be referenced by other Python
[Link] late 1980s, Guido Van Rossum was working on the Amoeba
distributed operating system group. He wanted to use an interpreted language like
ABC (ABC has simple easy-to-understand syntax) that could access the Amoeba
system calls. So, he decided to create a language that was extensible. This led to a
design of new language which was later named Python. No. It wasn't named
after a dangerous snake. Rossum was fan of a comedy series from late seventies.
The name "Python" was adopted from the same series "Monty
Python's Flying Circus".
8
Features of python:
1. A simple language which is easier to learn
Python has a very simple and elegant syntax. It's much easier to read and
write Python
programs compared to other languages like: C++, Java, C#. Python makes
programming fun
and allows you to focus on the solution rather than syntax.
If you are a newbie, it's a great choice to start your journey with Python.
2. Free and open-source
You can freely use and distribute Python, even for commercial use. Not only can
you use and
distribute softwares written in it, you can even make changes to the Python's
source code.
Python has a large community constantly improving it in each iteration.
3. Portability
You can move Python programs from one platform to another, and run it without
any
changes.
It runs seamlessly on almost all platforms including Windows, Mac OS X and
Linux.
4. Extensible and Embeddable
Suppose an application requires high performance. You can easily combine pieces
of C/C++
or other languages with Python code.
9
This will give your application high performance as well as scripting capabilities
which other
languages may not provide out of the box.
5. A high-level, interpreted language
Unlike C/C++, you don't have to worry about daunting tasks like memory
management,
garbage collection and so on.
Likewise, when you run Python code, it automatically converts your code to the
language
your computer understands. You don't need to worry about any lower-level
operations.
6. Large standard libraries to solve common tasks
Python has a number of standard libraries which makes life of a programmer much
easier
since you don't have to write all the code yourself. For example: Need to
connect MySQL
database on a Web server? You can use MySQLdb library using import MySQLdb .
Standard libraries in Python are well tested and used by hundreds of people. So you
can be
sure that it won't break your application.
7. Object-oriented
Everything in Python is an object. Object oriented programming (OOP) helps you
solve a complex problem intuitively. With OOP, you are able to divide these
complex problems into smaller sets by creating objects.
10
Python Applications:
You can create scalable Web Apps using frameworks and CMS (Content
Management System) that
are built on Python. Some of the popular platforms for creating Web Apps are:
Django, Flask,
Pyramid, Plone, Django CMS.
Sites like Mozilla, Reddit, Instagram and PBS are written in Python.
Scientific and Numeric Computing
There are numerous libraries available in Python for scientific and numeric
computing. There are
libraries like: SciPy and NumPy that are used in general purpose computing. And,
there are specific
libraries like: EarthPy for earth science, AstroPy for Astronomy and so on.
Also, the language is heavily used in machine learning, data mining and deep
learning. Creating software Prototypes Python is slow compared to compiled
languages like C++ and Java. It might not a good choice if resources are limited and
efficiency is a must. However, Python is a great language for creating prototypes.
For example: You can use Pygame (library for creating games) to create your
game's prototype first. If you like the prototype, you can use language like C+
+ to create the actual game. Good Language to Teach Programming Python is used
by many companies to teach programming to kids and newbies. It is a good
language with a lot of features and capabilities. Yet, it's one of the easiest
language to learn because of its simple easy-to-use syntax. Python is a terrific
language. The syntax is simple and code length is short which makes is easy to
understand and [Link] you are getting started in programming, Python is an
awesome choice. You will be amazed how much you can do in Python once you
know the [Link]'s easy to overlook the fact that Python is a powerful
language. Not only is it good for learning programming, it's also a good
11
language to have in your arsenal. Change your idea into a prototype or create games
or get started with data Science, Python can help you in everything to get started.
Advantages:
1. Time-wasting matters of style, especially regarding enclosing curly-bracket
positioning
blocks, simply go away.
2. Whenever you’re faced with a problem and are figuring out how to do it, there
will be
multiple well-documented ways.
3. You can become productive in Python fairly quickly even as a beginner, yet it
will serve you
in industry like a champ too!
Now what do I mean by this? The clearest example is the non-use of curly braces—
or brackets of any
sort, for that matter—as code block delimiters. One of the most debated matters of
programming style
in BCPL-derivative languages such as C and Java is “indent styles”, or how to
arrange those curly-
brackets for maximum readability—which happens to make absolutely no
difference in how your
program actually runs. Curly braces were a BCPL invention (a precursor to C) to
help
compilers—not developers. Programmer time lost on these matters of style can now
be measured in
12
centuries. That curly braces have propagated to like every other “serious” language
is one of the
biggest and saddest facts in the world of information technology.
Ruby, Visual Basic and most non-C derivative languages instead of curly brackets
use “keywords”
such as Ruby’s “def” and “end” for code blocks, instead of using curly-brackets.
Python takes it one
step further and only uses a keyword only at the beginning. The rest of the code
block is contained
merely by virtue of line indenting. That white space matters is perhaps the most
controversial
(contrary to most other languages) and pragmatic thing about Python—and drives
plenty of people
crazy who want to dis’ Python on that basis—a position that fills with glee those of
us who’ve traded
in the pain of curly brackets for the clarity of whitespace long ago. However, the
price of Python’s
innovation is the required use of a colon at the end of a function or class—the
leaving-off-of-which is
probably among the largest of Python newbie mistakes.
Benefits of Python
Python is an dynamic object-oriented programming language that can be compared
with Java and
13
Microsoft's .NET-based languages as a general-purpose substrate for many
kinds of software
development. It offers strong support for integrating with other technologies, higher
programmer
productivity throughout the development life cycle, and is particularly well suited
for large or
complex projects with changing requirements.
Python is the most rapidly growing open source programming language. According
to InfoWorld its
user base nearly doubled in 2004, and currently includes about 14% of all
programmers.
Python is being used in mission critical applications in the world's largest
stock exchange, forms the
basis for high end newspaper websites, runs on millions of cell phones, and is used
in industries as
diverse as ship building, feature length movie animation, and air traffic control.
Python is available for most operating systems, including Windows, UNIX, Linux,
and Mac OS
Key Strengths
Python's clean object-oriented design and extensive support libraries offer two
to ten fold the
programmer productivity seen with languages like C, C++, C#, Java, VB, and Perl.
14
Integration Of all types, including Enterprise Application Integration (EAI). Python
makes it easy to
develop Web services, can invoke COM or CORBA components, calls directly to
and from C, C++,
or Java code (via Jython), provides powerful process control capabilities,
implements all common
internet protocols and data formats, processes XML and other markup languages,
can be embedded as
a scripting language, and runs from the same byte code on all modern operating
systems.
Network intensive applications And complex multi-protocol network applications
can be built on
Twisted, a development framework well suited to running large numbers of
concurrent network,
database, and inter-process communication links within the same process.
Web development from simple CGI scripting to high-end web application
development with mega-
frameworks such as Django and Turbogears, the Zope application server, Plone
content management
system, Quixote web application framework, or a even a home-grown solution
based on Python's
extensive and easy to use standard libraries. Python provides interfaces to most
databases, powerful
15
text processing and document processing facilities, and plays well with other web
technologies.
Numeric and scientific applications make use of the Python Imaging Library, VTK
and MayaVi 3D
Visualization Toolkits, Numeric Python, Scientific Python and many other tools
available for
numeric and scientific applications. Many of these are supported by the Enthought
Python
Distribution.
Application scripting is a snap with Python's tight integration with C/C++ and
Java. Python was
designed from the ground up to be embeddable and serves as an excellent choice as
a scripting
language for customization or extension of larger applications.
Software Testing benefits from Python's strong integration and text processing
capabilities, and
Python comes with its own unit testing framework.
Desktop development using wxPython, PyQt, or PyGtk for high-quality GUI
applications. Protect
your investment by basing on open technologies, with deployment to most
operating systems.
Support for other GUI frameworks, such as MFC, Carbon, Delphi, X11, Motif, and
Tk, is also
available.
Prototyping
16
Python is quick and easy, and often results in development of the final system in
Python. The agile
nature of the language, and the ease of refactoring code makes for rapid
development directly from
the initial prototype.
The Open Source Advantage
Because it has been developed as open source by thousands of contributors from
around the world,
Python is very well designed, fast, robust, portable, and scalable. With an
uncluttered, easy-to-learn
syntax and well-developed advanced language features, Python often exceeds the
capabilities of
comparable commercially available solutions.
The open source license for Python allows unrestricted use, modification, and
redistribution of the
language or anything that is based on it, commercially or otherwise. Full source is
available and there
are no license costs. Support is available for free, from a rich set of internet-based
resources, and
from organizations in the business of providing paid support to Python users.
17
Flow Diagram:
18
CHAPTER 4
SYSTEM ARCHITECTURE
19
CHAPTER 5
RESULTS AND DISCUSSION
5.1 RESULT
In this move toward, the network is qualified on 140 samples from which
6 samples are Phyllosticta, 21 sample be Tar Spot and 86 sample are Linden Leaf
Blotch are damaged for guidance and trying.
20
5.2 OUTPUT
21
CONCLUSION
In this paper the Deep Learning algorithm i.e. Convolutional Neural Network
is used to with a goal to detect the diseases in the crops. The model is basically
tested on some types of plant species with some types of plant diseases. The model
was made using Tensor flow and Keras frameworks and the system is implemented
on web. The overall system results show that the Mobile Net model works better as
compared to the other models and provide better accuracy in detecting the diseases .
As an extension to the project the number of classes of plants and its diseases will
be increased . Also the model will be further improved by increasing the parameters
for training and test.
22
LIST OF PUBLICATIONS
APPENDIX 1
APPLICATION AIMS
This project will be very helpful to farmers in rural areas and also will help them in
saving their yields from diseases as farmers lose a huge amount of their cultivated
crops because of diseases and this system will help them to avoid the similar
situation. Also we have tried to implement this project in a regional language so as
to make
things more understandable for farmers.
23
REFERENCES
[1] Pranjali Vinayak Keskar, Shubhangi Nimba Masare, Manjusha Suresh Kadam
and Prof. Mrs. Seema [Link],” Leaf Disease Detection and Diagnosis”,
International Journal of Emerging Trends in Electrical and Electronics (IJETEE)
Vol. 2, Issue. 2, April-2013.
[2] Zacharias N. Voulgaris,”Discernibility Concept in Classification Problems”,
University of London may 2009.
[3] Abdallah A. Alshennawy, and Ayman A. Aly,” Edge Detection in Digital
Images Using Fuzzy Logic Technique”, World Academy of Science, Engineering
and Technology 27 2009
[4] Vishakha Metre,Jayshree Ghorpade,” An Overview of the Research on Texture
Based Plant Leaf Classification”, IJCSN International Journal of Computer Science
and Network, Vol 2, Issue 3, 2013ISSN (Online): 2277-5420
[5] Prof. Meeta Kumar, Mrunali Kamble, Shubhada Pawar, Prajakta Patil,Neha
Bonde,” Survey on Techniques for Plant Leaf Classification”, International Journal
of Modern Engineering Research (IJMER) Vol.1, Issue.2, pp-538-544 ISSN: 2249-
6645
[6] Noor Ezan Abdullah, Athirah A. Rahim, Hadzli Hashim and Mahanijah Md
Kamal,” Classification of Rubber Tree Leaf Diseases Using Multilayer Perceptron
Neural Network”, The 5tn Student Conference on Research and Development -
SCOReD 200711-12 December 2007, Malaysia
[7] H. Al-Hiary, S. Bani-Ahmad, M. Reyalat, M. Braik and Z. ALRahamneh, “Fast
and Accurate Detection and Classification of Plant Diseases”, International Journal
of Computer Applications (0975 – 8887)Volume 17– No.1, March 2011
[8] Chunxia Zhang, Xiuqing Wang, Xudong Li, “Design of Monitoring and Control
Plant Disease System Based on DSP&FPGA”, 2010 Second International
Conference on Networks Security, Wireless Communications and Trusted
Computing.
[9] A. Meunkaewjinda, P. Kumsawat, K. Attakitmongcol and A. Srikaew, “Grape
leaf disease detection from color imagery using hybrid intelligent system”,
Proceedings of ECTI-CON 2008.
24
[10] Santanu Phadikar and Jaya Sil, “Rice Disease Identification using Pattern
Recognition”, Proceedings of 11th International Conference on Computer and
Information Technology (ICCIT2008) 25-27 December, 2008, Khulna, Bangladesh.