INTERNATIONAL JOURNAL OF LATEST TECHNOLOGY IN ENGINEERING,
MANAGEMENT & APPLIED SCIENCE (IJLTEMAS)
ISSN 2278-2540 | DOI: 10.51583/IJLTEMAS | Volume XIV, Issue XI, November 2025
Testing the model
Once the model is trained, it needs to be tested on a separate set of images that were not used during training.
This helps to ensure that the model can generalize to new images.
Evaluation
Here, consider the F1 score, test accuracy, val- idation, and train accuracy, validation, and train loss. The
Inception v3 model provides good accu- racy and less validation and train loss.
Graphical Visualization
Once the model is tested and validated, it can be saved. In this step, show the confusion matrix, ROC curve of
used models, validation accuracy, validation loss, training accuracy, and loss graphs. The model was uploaded
to Visual Studio Code to create the front end.
Requirements are
IMPLEMENTATION
Animal Intrusion Detection in cropland using Machine Learning approach used Inception v3 as a model because
Inception v3 provides higher accuracy compared with CNN, ResNet-50 models. First, collect a dataset of animals
that damage the croplands. After the data collection, import the libraries required for animal intrusion detection.
Inception v3 is used as a model to create a data generator. The training and testing datasets are added to this data
generator. Data generators are commonly used in animal intrusion detection sys- tems to generate labelled
training data for machine learning algorithms. These algorithms are trained to distinguish between normal animal
behaviour and anomalous behaviour that may indicate intru- sion or potential threats. Next, train the model (
Inception v3 ) and save the trained model, then do the graphical visualisation, which includes valida- tion and
train loss graphs and validation and train accuracy plotting. Create the classification report and predict the images
from the test data. Then check the confusion matrix, plot the ROC curve, accuracy, and f1-score, and test the
accuracy of the model. These are the evaluation procedures for animal intrusion detection in cropland. After
the evaluation process, use the Visual Studio code. The saved model is uploaded to the Visual Studio code to
create the front end. HTML ( HyperText Markup Language ), CSS ( Cascading Style Sheets), and JavaScript are
the programming languages used to create the front end and run the programme on the local host and get the
outputs. To receive alerts when an animal is located, connect a mo- bile device. This makes use of both the
Firebase cloud service provider and the WhatsApp API. Firebase Cloud Messaging (FCM) enables a secure and
power-efficient connection between the server and devices for the free delivery and receiving of messages
and notifications on iOS, Android, and the web. The Pyrebase library, which may use a configuration dictionary
to interact with the Firebase platform, is used to initialise a Firebase app, which is afterwards used to authenticate
a user by logging in with an email and password. After a successful sign-in, it receives the account information
for the authenticated user.
RESULTS
The saved model is uploaded to Visual Studio Code to create the front end. The Inception v3 model was selected
as the final model because it provides better accuracy compared to the other two models used here. HTML
(HyperText Markup Language), CSS (Cascading Style Sheets), and JavaScript are the programming languages
used to create the front end, run the programme on the local host, and get the outputs. The output is given below.
After the prediction, the system provides an alert to the user via mobile phone.
Page 810