Deep Learning Implementation For Poultry Disease Detection and Control
Deep Learning Implementation For Poultry Disease Detection and Control
ISSN No:-2456-2165
IV. SYSTEM DESIGN AND IMPLEMENTATION artificial neural networks are capable of processing picture
data, CNNs have showed impressive performance and
In this study, we develop a solution which is higher accuracy.
Convolutional Neural Network (CNN) based. The CNN
architecture was designed from scratch then trained the CNN Architecture: The proposed CNN architecture
model to detect the presence of a disease (Cossidiosis) and involves stacking of multi convolution layers as sampled in
return a healthy or unhealthy output. Fig 3.
Most activities requiring picture data, or datasets, are A CNN ignores batch size and accepts tensors of
performed using CNNs. Each image has pixel information shape (image height, image width, and color channels) as
that can be expressed numerically. A CNN receives this input. In the first layer, a specified image size and height of
numerical representation as input. While conventional 25X25, RGB was fed to the stack of convolution layer as
These layers combine to form a single block, which Because the problems proposed to solve are discreet in
we continually apply by raising the depth of filter from nature, we used binary crossentropy loss function which
16,16, 32, 32, 128 for the full convolution block. Before we seems to fit the problem with the log loss as an evaluation
built a fully meshed network, we replace the 3×3 matrix per metric.
image, with a vector of 512 elements (4*4*32), without
losing any information before passing through two dense A. Objectives of the Design
layers. Using our created collection of fecal images from
Nathliz Organic Poultry Farm, Lokoja, we seek to establish
The same padding was used in each block to keep the an automated computer vision model for early identification
height and breadth shapes of the output feature maps and classification of diseases in birds.
consistent with the input features. Weight initialization for
all blocks takes shape uniformity into account. ReLU B. Architectural Model Structure of Convolutional Neural
activation was used for all layers before applying the Network
sigmoid function at the last layer. Sigmoid activation The convolutional neural network's task is to retain
function was used since the problem is not a multi-class elements necessary for a good prediction while compressing
classification and to be able to have a good prediction of the images into a more manageable format.
either healthy or unhealthy feces.
This is essential for developing an architecture that can
scale to large datasets and learn features.
C. Result and Analysis each epoch having two steps, given a total of 20X2 (40
The results after assessing the model's performance are iterations) for a complete training process. From the graph
shown in this section. Brief descriptions of the dataset and in Fig. 4(a) and Fig. 4(b), it can be seen that the accuracy of
the partitioning of the data into the training set, validation validation keeps increasing and converges at the 20th epoch.
set, and test set are provided in Table 1. Default learning rate of 0.001 was used while the maximum
learning rate was attained at epoch 14.
We started by showing how the computer vision
system components can be designed or constructed before Total raw dataset collected was 4189 images for both
developing the CNN model for our diseases classification. healthy and unhealthy droppings, 2056 for the healthy and
To finish the training process, we performed 20 epochs with 2133 unhealthy (Coccidiosis) as shown in Table 2.
As a result of data cleaning performed on the dataset, photos using a variety of techniques to increase the size of
the number of data collected from the poultry farm was the dataset. Our model uses the augmentation techniques of
reduced, necessitating the need for data augmentation. image flipping, image cropping, and padding. Image
During the training, To minimize over-fitting and to enable resolution was also lowered to cut down on training time.
the model to learn from unseen datasets, we enhanced the
Start
Upload
Droppings
Process Acquired
Droppings
Is YES
Coccidiossis Unhealthy
detected?
NO
Isolate
Healthy
End
Fig 6 (b)User interface showing unhealthy faeces with the presence of coccidiosis
Fig. 6(c): User interface showing healthy faeces without the presence of coccidiosis
Computers technologies (such as computer vision) can [1.] Athiraja, A., &Vijayakumar, P. (2021). Banana
be deployed in monitoring the growth processes of birds in disease diagnosis using computer vision and machine
real time in an automated fashion which is less time learning methods. Journal of Ambient Intelligence
consuming and effective. Identifying the length and and Humanized Computing, 12(6), 6537–6556. DOI:
frequency of postural shifts in birds over time can aid in the https://doi.org/10.1007/s12652-020-02273-8.
prevention of sickness outbreaks that could put their health [2.] Aydin, A., Cangar, O., ErenOzcan, S., Bahr, C.
at risk. However, the designed model using Convolutional &Berckmans, D. (2010). Application of a fully
Neural Network was built from scratch with 91% accuracy automatic analysis tool to assess the activity of
indicating greater level of performance. broiler chickens with different gait scores, Computers
and Electronic in Agriculture, 73(2), 194-199, DOI:
A. Review of Contributions and Achievements 10.1016/j.compag.2010.05.004.
It is important to detect diseases in birds timely and [3.] Ayim-Akonor, M., Krumkamp, R., May, J.,
allow veterinarians take necessary actions as expert in the &Mertens, E. (2020). Understanding attitude,
field thereby preventing loses and as well maintain good practices and knowledge of zoonotic infectious
animal welfare status. Thus, the model can be applied as an disease risks among poultry farmers in Ghana.
automated vision monitoring system for the whole life span Veterinary Medicine and Science, 6(3), 631–638.
of birds reducing the need for frequent visits from DOI: https://doi.org/10.1002/vms3.257.
veterinarians. The application of related works has helped in [4.] Bi, M., Zhang, T., Zhuang, X., & Jiao, P. R. (2018).
the loss of birds as early warning signs are observed through Recognition method of sick yellow feather chicken
the use of Artificial Intelligence. based on head features. Transactions of the Chinese
Society for Agricultural Machinery, 49(1), 51-57.
B. Recommendations DOI: https://doi.org/10.6041/j.issn.1000-
Monitoring birds’ behavior allows farmers to identify 1298.2018.01.006.
pathological changes early and discover factors threatening [5.] Caldas, J.V., Hilton, K., Boonsinchai, N., England,
the health of birds in advance. Poultry farming are J.A., Mauromoustakos, A., & Coon, C.N. (2018).
widespread venture both on small and large scales. Research Dynamics of nutrient utilization, heat production, and
has proven that manual observation of these birds is time body composition in broiler breeder hens during egg
consuming and labor intensive. production. Poul. Sci., 97(8), 2845–2853.
Therefore, the proposed model will be recommended https://doi.org/10.3382/ps/pey133.
for implementation to determine the effectiveness of the [6.] Chmiel, M. Słowiński, M., &Dasiewicz, K. (2011).
model in real-world scenario for future works which will Application of computer vision systems for
greatly be of immense help to poultry farmers in managing estimation of fat content in poultry meat,” Food
their farms effectively. Control, 22(8), 1424–1427, DOI:
10.1016/j.foodcont.2011.03.002.
C. Areas for Future Research [7.] Fang, C., Huang, J., Cuan, K., Zhuang, X. and Zhang,
Several diseases exist that have impact on poultry T. (2020). “Comparative study on poultry target
farming; hence, for further research, we anticipate training tracking algorithms based on a deep regression
various illnesses applying computer vision systems in real- network,” Biosyst. Eng., vol. 190, February 176–183.
time practice, with the inclusion of video processing DOI: 10.1016/j.biosystemseng.2019.12.002.
method, to ascertain the health and welfare of the birds. [8.] Ferentinos, K.P. (2018) “Deep learning models for
plant disease detection and diagnosis,” Computers
VI. CONCLUSION and Electronics in Agriculture, 145, February, 311–
318. DOI:
For several decades, computer vision research has https://doi.org/10.1016/j.compag.2018.01.009.
been attempting to close the gap by developing automated [9.] Guanjun, B., Mimi, J., Yi, X., Shibo, C., &Qinghua,
systems that can analyze images for decision-making using Y. (2019). Cracked egg recognition based on
computers, but this work has not yet produced any tangible machine vision,” Comput. Electron. Agric., 158
benefits. (March), 159–166.
https://doi.org/10.1016/j.compag.2019.01.005.
CNN model was designed to learn the hidden pattern [10.] Huang, J., Wafng, W., & Zhang, T. (2019). Method
from the several fecal images acquired through the dataset. for detecting avian influenza disease of chickens
The deep learning algorithm designed was able to based on sound analysis. Biosystems Engineering,
predict the state of the birds either healthy or unhealthy 180, 16-24. DOI:
(coccidissis) were the results obtained show the proposed https://doi.org/10.1016/j.biosystemseng.2019.01.015.
model achieved up to 91% accuracy. [11.] Kashiha, M.A., Bahr, C., Vranken, E., Hong, S.
&Berckmans, D. (2014). Monitoring system to detect
problems in broiler houses based on image
processing,” in Proc. International Conference of