Manuscript-Final
Manuscript-Final
By:
This chapter contain and present the project context, purpose and description,
Project Context
People from all around the world face the ongoing problem of food waste
which affects both local and national Philippine households. Consumer ignorance
about how to store and when to throw away fresh food causes substantial
problems in food waste. Research shows that numerous people dispose of their
foods before time because they mistake normal aging patterns for spoilage
waste becomes important for the nation. The practice of bulk sales at local
markets prompts customers to buy larger quantities than they can consume right
away. The improper handling of perishable goods leads to spoilage since they
have a limited shelf life. The inability to correctly identify safe edible produce leads
knowledge.
1
The Smart Scanner for Fruits and Vegetables Using Artificial Intelligence
neural networks (CNNs) to examine produce appearance then predict how much
time it has left before spoiling. Users can use the scanner to get live freshness
details about fruits and vegetables while also receiving educational storage
guidelines that improve product shelf stability. Users can both record their
monitored items through the system while the platform sends alerts for each
The Smart Scanner targets two main functions, assisting consumers with
produce management along with waste reduction and sustainable food usage
both freshness levels and suitable storage conditions of their fruits and
reduction of edible produce as it fights Filipino household food waste and other
2
AI-based Smart Scanner operates as an android application which
a foundation for the Smart Scanner application which analyzes visual produce
characteristics including color and texture and visible deterioration features. The
prolong the life span of their produce from the Smart Scanner. The system
educational tools and automatic alerts and makes a complete system to help
users both learn better choices and decrease their food waste.
The primary objective of this study is to develop and implement the Smart
Scanner for Fruits and Vegetables Using Artificial Intelligence and Machine
Learning Techniques for Real-time Shelf Life Assessment. Specifically, this study
aims to.
3
2. To develop an AI-based android application that utilizes convolutional neural
networks (CNNs)
3. To provide real-time insights into the freshness and estimated remaining shelf
4. To implement educational features that offer storage tips and best practices
The Smart Scanner for Fruits and Vegetables Using Artificial Intelligence
consumption practices.
ensuring older items are prioritized for sale to reduce spoilage and financial
losses.
4
• To the agricultural sector, farmers and suppliers can benefit from insights
on produce shelf life, allowing better planning for harvest cycles, storage
lowering landfill waste and reducing the carbon footprint associated with
Overall, this study aims to address food waste concerns by providing a practical,
The Smart Scanner for Fruits and Vegetables Using Artificial Intelligence
and Machine Learning Techniques for Real-time Shelf Life Assessment develops
properties. The system leverages CNNs to evaluate color parameters along with
produce assessments to users through their mobile devices. Users can find
5
framework. The project serves to increase produce knowledge among consumers
while it improves storage practices and reduces food waste in domestic locations.
This study is limited to assessing fruits and vegetables that exhibit clear
visual signs of freshness or spoilage. The system may not accurately predict shelf
life for produce with internal damage or hidden deterioration that is not visible on
As of now, the system is designed to assess only five common fruits and
five common vegetables in the Philippines. The study will focus primarily on
produce commonly found in Filipino markets, while exotic or less common fruits
and vegetables may not be included in the initial dataset. Furthermore, the system
is not intended to provide medical or food safety advice but rather to serve as a
6
CHAPTER II
This Chapter complies the related literature and studies, synthesis, and technical
background that the researchers have acquired, both locally and internationally to
serve as evidence and to support the paper’s credibility. The gathered information
Foreign Literature
boost the accuracy and efficiency in fruit quality examination. Their system
addresses two main subtasks which include freshness assessment and fruit
classification tasks. The model achieves its objectives through a shared CNN
subnet which processes input images after extracting features before sending
them to two separate fully connected task heads. The implementation of this dual-
task design allows the model to extract features once before using them in both
identified by the researchers enable better generalization abilities for the model to
achieve higher accuracy rates in multiple tasks. Tests conducted on open fruit
images produced strong outcomes as the CNN reached significant mean test
accuracy levels for quality inspections and fruit type categorization. The proposed
model achieved superior results than normal single-task learning models because
7
it processed both tasks simultaneously. Statistical analyses executed during
evaluated methods thus validating their shared feature extraction technique. The
CNN-based model stands out for satisfying high accuracy requirements while
delivering reliable real-time detection ability for fruit freshness which benefits food
related tasks like inspection for defects along with quality evaluation.
precision. Headed images through its CNN framework helps it find important
textural elements and spatial patterns which influence produce quality ratings. A
fully connected network receives the extracted features to sort different ripeness
studies backed by statistical evidence proved that CNN-based technology is fit for
8
practical food quality control systems. The findings show deep learning
approaches for freshness inspection create huge advantages for food supply
chain quality control operations. The authors propose that their assessment
method can easily adapt to other real-time evaluation needs including automated
convolutional neural network (CNN) model to predict the shelf life of fresh fruits
in India's fruit and vegetable sector, where a substantial portion of the total
temperature fluctuations significantly impact the shelf life and quality of perishable
goods. The proposed deep learning model utilizes real-time temperature data
collected from storage facilities and transportation routes, feeding this information
designed the model to analyze critical factors such as humidity, storage duration,
supply chain managers, can optimize storage conditions and adjust logistics to
reduce spoilage, enhance food safety, and extend the usability of fresh produce.
9
predicting shelf life under varying environmental conditions. The findings
emphasize that deep learning techniques can significantly improve the decision-
monitoring with logistics planning could lead to a more sustainable and cost-
efficiency. The researchers conclude that their model can be applied not only in
large-scale agricultural operations but also in small and medium enterprises that
supply chains and improving food security by minimizing post-harvest waste and
using advanced deep learning models. Their research aims to combat the
such as bananas, which can deteriorate quickly if not properly stored or handled.
By predicting the shelf life of bananas, the study seeks to minimize waste by
achieve this, the researchers utilized two cutting-edge object detection algorithms
Faster Region-based Convolutional Neural Network (R-CNN) and You Only Look
10
Once (YOLO) to analyze visual characteristics of bananas at various stages of
bananas at different stages of ripening, from unripe to fully ripe. This dataset was
conditions and banana types. Both algorithms were then trained to predict shelf
life based on the visual features extracted from the images, with each algorithm
predictions. Meanwhile, YOLO was favored for its processing speed, making it
necessary. The study found that both models improved the accuracy of shelf life
Faster R-CNN offering greater precision. These findings highlight the significant
beyond bananas to other fruits and perishable goods, helping reduce food waste
sustainable food supply chain, ultimately reducing waste and enhancing food
suggesting that the integration of deep learning models for real-time shelf life
11
prediction can improve the management of perishable goods, benefiting farmers,
technique which uses Convolutional Neural Networks (CNNs) along with transfer
fruit spoilage through automated classifying systems which use visual signals to
labels during the preparatory stage before classification. The research team
several convolutional layers and fully connected layers that finalize classification
ability to determine fresh from spoiled fruits through its evaluation on three public
method delivered fast computation speed through its ability to process images in
just a few milliseconds thus making it ready for real-time use cases. The research
highlights how CNNs and transfer learning approaches make automated fruit
12
industries that deal with perishable goods since it promotes sustainable food
Local Literature
based on their color features, which are crucial indicators of ripeness and
the potential for machine learning to revolutionize food quality assessment. This
methods of classification, which often rely on subjective visual inspection and can
be prone to human error. The ability of CNNs to analyze and extract complex
visual features from images, such as subtle variations in color, directly correlates
valuable in reducing food waste, as produce can be classified more efficiently and
improving shelf life prediction. With the growing demand for more efficient food
13
quality control systems, this study illustrates how AI can transform agricultural
contributing to sustainable food systems. The findings also suggest that such
distribution.
Carpio, Dela Cruz, and Dorosan (2021) The Philippines is one of the top
the fruit industry, Filipino farmers face the highest poverty incidence in the country
substantial development. The question then arises: How can machine learning
average precision and recall across multiple fruit categories on unseen data from
the same dataset. To enhance the deployment of this solution in the Philippine
incorporating object detection could further optimize the system. The potential
applications of this technology are far-reaching: classifying fruit quality for retail
crops to prevent further spread, and automating the sorting of export- and non-
14
export-quality fruit. This technological approach has the potential to not only boost
efficiency but also help improve the livelihoods of Filipino farmers and promote
Orquia and Bibangco (2020) Manual fruit classification has long been the
traditional method used for sorting fruits, relying on manual contact-labor that is
sometimes even damage to the fruits. As a result, new technologies, such as deep
learning, have paved the way for faster and more efficient methods of fruit
models, such as AlexNet, GoogLeNet, and ResNet-50, have been widely used in
various applications. However, these models were not explicitly trained for fruit
classification tasks. In response to this limitation, the study aimed to create a new
deep convolutional neural network specifically designed for fruit classification. The
sensitivity, and specificity. This research emphasizes the potential of tailored deep
fruit is crucial for farmers, as the fresher the fruit, the better its price and
15
are the ninth most exported commodity. In this study, the researchers employed
fruit maturity of several key varieties, including Banana, Mango, and Calamansi.
The study classified the fruits into three categories based on their maturity stage:
researchers used a total of 60 fruits, with 20 fruits per category. Data collection
fruits from their unripe/pre-matured stage to their over-matured state. The dataset
comprised 3,681 pieces for Calamansi, 3,270 pieces for Banana, and 5,706
pieces for Mango. The CNN model, developed using Spyder in Anaconda
Navigator, utilized TensorFlow-GPU and Keras, paired with CUDA and cuDNN,
where the diversity and complexity of fruit types present unique challenges. The
accuracy. To address these challenges, this study proposed the use of image
fruit into four categories mature, immature, rejected, and damaged through the
examined: the largest method and the sequential method. Both approaches
16
employed binary neural network classifiers, each designed as a three-layer
classification model developed within the study attained even higher accuracy,
surpassing the binary methods. These findings underscore the potential of neural
quality assessment.
Foreign Studies
Ying, Wang, Li et al. (2024) Fruits and vegetables are prized for their
nutritional value and flavor, yet their perishable nature and seasonal availability
learning techniques for predicting the shelf life and quality of fresh produce. These
patterns, and the creation of predictive models that improve over time as more
data becomes available. The study highlights the use of non-destructive testing
17
learning are emphasized as critical developments. These innovations contribute
food science, providing technical guidance for the future of smart food
management systems.
Rashvand, Sun, Krupitzer et al. (2025) Accurate prediction of food shelf life
is a critical factor in ensuring food safety, reducing waste, and enhancing the
efficiency of supply chains across the food industry. Traditional methods such as
microbial analysis, chemical testing, and sensory evaluation, while reliable, are
learning (ML), deep learning (DL), and hybrid AI approaches are now being
transformations, allowing for more accurate, adaptive, and timely predictions. The
spoilage mechanisms and influencing factors. AI-based models not only improve
18
resource allocation, and more sustainable food distribution practices. Despite
technologies and the Internet of Things (IoT) hold promise for future innovations.
Jhanjhi, Yassine, Hossain et al. (2022) This study explores the use of deep
AlexNet, to predict the maturity and quality of bananas, which directly impacts
their shelf life and overall agricultural management. Fruit maturity classification is
a critical process for both the food industry and retail markets, as it influences the
quality and shelf life of the fruit. The research utilized two datasets of banana
images: a custom dataset, which was augmented to increase its size through
image augmentation techniques, and the publicly available Fruit 360 dataset from
Kaggle. These images were categorized into three maturity levels: ripe, unripe,
and over-ripe. The models were trained using both datasets, and the CNN model
the augmented dataset. For the original dataset, CNN also showed superior
performance. The results highlight that CNN is the most effective deep learning
algorithm for fruit maturity classification. By using these models, farmers can
reducing waste, and improving food quality. The study underscores the
19
significance of integrating advanced deep learning models into agricultural
overall food distribution. This approach not only reduces food wastage but also
accurately classify fruits and vegetables and assess their ripeness is crucial in
reducing waste, especially during the postharvest stage. This research presents
classifying 32 different types of fruits and vegetables, and assessing the ripeness
architecture, with one model focused on classifying the produce and another
dedicated to determining the ripeness level. By using transfer learning with pre-
trained weights from ImageNet, the system can fine-tune the models for higher
ripeness detection. The system provides a valuable tool for improving food quality
20
which can help in better food distribution and reducing the amount of wasted food.
Although the system excels in these areas, it still faces some limitations, such as
intelligent system has great potential in the food industry, providing an automated,
efficient way to monitor and reduce food waste, thereby contributing to more
Mi and Yan (2024) The timely and precise assessment of fruit ripeness
plays a pivotal role in optimizing harvest planning, reducing waste, and enhancing
the quality of produce. This research focuses on the integration of advanced deep
stages. By enhancing the ability to detect ripeness more effectively, the model
are harvested at their peak quality and reducing the likelihood of spoilage during
21
Furthermore, the model reduces dependency on human labor and eliminates the
potential for human error, streamlining the harvest process and leading to more
efficient and sustainable agricultural practices. The results of this study suggest
that the application of deep learning can not only improve the accuracy of fruit
industry by allowing for smarter, more efficient harvesting techniques that are
better aligned with the goals of sustainability, resource optimization, and food
waste reduction.
Local Studies
mango variety in the Philippines and accounting for the majority of the country’s
Philippines, mangoes intended for export are evaluated using the Philippine
National Standard for mangoes, which sets visual criteria such as skin color,
basic setup consisting of a webcam for image capture, a desktop computer for
training, and a Raspberry Pi for lightweight deployment. The core of the system
22
relied on CNNs, which were trained to classify mangoes as either "good" or
"damaged" based on visual indicators such as discoloration, fruit fly damage, mold
important features from raw image data, enabling real-time application once the
model is trained. While CNN training demands a large image dataset and
extended processing time, the final model enables rapid and consistent
using CNNs for fruit quality control not only improves classification accuracy and
and canopy size measurement, highlighting CNN’s versatility and growing role in
satisfaction and the economic returns for farmers and vendors. Freshness is
and shape, with skin color serving as a key indicator of ripeness and shelf life.
determining their potential shelf life, ensuring that they are sold at their optimal
23
quality. In response to the growing need for more efficient and accurate methods
lightweight convolutional neural network, to train and test the dataset, categorizing
tomatoes into three distinct categories based on their color features. Various
used to assess the effectiveness of the model. The results demonstrated that the
model was able to achieve high classification accuracy, suggesting its potential
for real-time applications. However, despite the high accuracy, the model's
tomatoes. The researchers also highlighted the need for further comparisons with
approach provides a promising solution for local farmers, offering a low-cost and
Magabilin, Fajardo, and Medina (2023) local study explored the application
methods that rely on human judgment of color and texture. This manual process
is not only time-consuming but also prone to inconsistencies and human error,
24
learning, particularly CNN techniques, to automate the classification and grading
sought to assist farmers and consumers in identifying the optimal harvest and
the ImageNet dataset and replaced its top layer with a standard convolutional
layer tailored to the specific classification task. The system was trained and tested
metrics such as accuracy and loss rate. The results demonstrated a high level of
enhance the speed and reliability of fruit quality assessment. This study
contributes to the growing body of research advocating for the use of artificial
Calinao, Go, Cabatuan et al. (2023) identification of edible wild plants plays
a crucial role in ensuring food security and nutrition, particularly in regions such
accurate, reliable identification system is essential for the safety and sustainability
technologies, innovative systems for identifying edible wild plants are emerging,
conservation. This study proposes the creation of a mobile platform that utilizes
25
deep Convolutional Neural Networks (CNNs) for the real-time identification of
edible wild plants in the Philippines. The system aims to be lightweight and
efficient, deployable on mobile devices for easy use in the field. The project
generalization. Using transfer learning, the CNN model is trained on large plant
optimization for mobile devices will include techniques like compression and
application will allow users to capture plant images and receive real-time feedback
on the species' edibility, nutritional value, and traditional uses. This tool will not
only enhance the understanding and appreciation of edible plants but also
objects and their surrounding environments complicates the task of detecting and
planning, and market preparation. These challenges become even more evident
when the object, such as a fruit or vegetable, shares similar colors with the
with the use of deep neural networks, have shown promise in improving fruit
26
objects are partially covered), changes in lighting conditions, and the camouflage
effect still present significant barriers to reliable and accurate detection. While
early approaches focused on detecting fruits with high color contrast, which
allowed for more successful object detection with fewer samples, detecting
objects in scenarios involving high color similarity and occlusion remains a difficult
networks (R-CNNs) to address this issue, particularly for detecting sweet peppers,
such as bell peppers and chili peppers, in environments where they blend with
fruits, which were captured under real-world field conditions with varying levels of
illumination and occlusion. Their findings suggest that applying data augmentation
agriculture, where accurate and reliable fruit detection can lead to better planning
produce is classified, graded, and assessed for quality. This shift is not only
revolutionizing global agricultural practices but also directly impacts local contexts
27
such as in the Philippines. Studies by Ying et al. (2024) and Rashvand et al.
like hyperspectral imaging and machine vision, are enabling the prediction of shelf
life and improving the efficiency of agricultural supply chains. These technologies
allow for more accurate and adaptive predictions of freshness and shelf life,
helping to reduce food waste while optimizing storage conditions and promoting
detect subtle patterns is a game-changer for the agricultural industry. It can offer
neural networks (CNNs) for automated sorting. The system eliminates the need
reducing human error and increasing sorting efficiency. Similarly, Nalupano et al.
assess tomato freshness. This study highlights how AI-based solutions can
sector. Magabilin et al. (2023) also contributed to this growing body of research
28
fruits. This system improves both the speed and accuracy of fruit grading, making
it possible to identify and classify fruits based on their maturity and quality. These
managed and evaluated, and they align well with the objectives of the Smart
Scanner for Fruits and Vegetables Using Artificial Intelligence and Machine
such as those by Tapia et al. (2023) and Marcelo et al. (2023). Tapia’s research
on deep learning models for fruit and vegetable ripeness assessment highlights
detecting fruits, such as sweet peppers, in environments where they might blend
technology are critical in the development of the Smart Scanner system, which
uses CNNs to assess the freshness and shelf life of fruits and vegetables based
on visual characteristics. The research by Tapia and Marcelo supports the idea
that AI can be leveraged not only for accurate shelf life predictions but also for
29
fruit detection in complex environments, ensuring that food waste is minimized
global and local studies, provides valuable insights that directly inform the
development and potential impact of the Smart Scanner for Fruits and Vegetables
Using Artificial Intelligence and Machine Learning Techniques for Real-time Shelf-
(CNNs) to evaluate the visual properties of produce, the Smart Scanner aims to
solve the growing problem of food waste in Filipino households. Just as global
studies have shown the efficacy of AI in predicting shelf life, improving food
quality, and enhancing supply chain efficiency, local studies in the Philippines
Smart Scanner draws from these successes and aims to make a tangible
the knowledge and tools to extend the shelf life of their produce.
waste and improper handling of perishable goods are significant issues that
platform accessible via Android devices, the Smart Scanner ensures that users,
regardless of their technical expertise, can manage their produce better, reduce
food waste, and make more sustainable food choices. The integration of AI into
30
this application aligns with the broader goals of improving food security, promoting
healthier eating habits, and reducing the environmental footprint of food waste.
As the Smart Scanner continues to evolve, it holds the potential to expand its
recognition algorithms to improve accuracy. This growth aligns with global trends
offering a promising path toward reducing food waste, increasing food security,
Technical Background
Smart Scanner for Fruits and Vegetables Using Artificial Intelligence and
households, particularly in the Philippines. The core of the system lies in the use
known for its efficiency in image recognition tasks. CNNs are employed to process
and analyze visual data of fruits and vegetables, detecting key features such as
color, texture, and visible spoilage indicators like bruising, mold, or discoloration,
and vegetable images, the CNN model is able to learn intricate patterns and
impending spoilage, allowing for real-time predictions of the remaining shelf life of
items.
31
In order to make this technology widely accessible, the system is built on
smartphones with limited processing power, which enables users to run the
system in real-time without the need for a high-end device. The app utilizes the
smartphone’s camera to capture images of fruits and vegetables, which are then
analyzed by the deep learning model. Based on this analysis, users are provided
life. In addition, the app also provides educational tips on proper storage
techniques to help users prolong the shelf life of their produce and reduce
Despite its promising capabilities, the system faces several limitations. For
one, the accuracy of freshness predictions heavily depends on the quality of the
resolution, and the user’s handling of the device can all affect the quality of the
input image, thereby impacting the performance of the model. Furthermore, the
system is initially designed to assess only five common fruits and vegetables in
the Philippines, focusing on local produce that exhibits clear visual indicators of
spoilage. The app does not yet cater to less common or exotic fruits, nor does it
assess internal damage that might not be visible on the surface. These limitations
highlight the need for continuous improvement in the underlying image recognition
32
technology and the expansion of the dataset to include a broader variety of
produce.
system could provide even more accurate predictions, leading to a more effective
tool in managing food waste. Ultimately, this project represents a significant leap
not only reduces food waste but also contributes to promoting more sustainable
Smart Scanner for Fruits and Vegetables Using Artificial Intelligence and
The core of the system is built upon the use of Convolutional Neural Networks
processing visual data. These models are trained to recognize specific features
33
of fruits and vegetables, such as color, texture, and signs of spoilage (e.g.,
patterns from large datasets, making them highly effective for tasks like image
classification and regression, which are central to determining the freshness and
lightweight CNN model optimized for mobile devices. MobileNetV2 offers a good
for ensuring that the system can run on smartphones with limited processing
power and memory. This model is fine-tuned using a custom dataset that includes
a variety of fruits and vegetables commonly found in Philippine markets, with each
image labeled based on freshness categories. The fine-tuning process allows the
provides accurate and reliable predictions of shelf life based on visual indicators.
For real-time application, the system utilizes the camera of a mobile device to
capture images of fruits and vegetables, which are then processed by the deep
learning model. The captured image is passed through the trained CNN model,
which then outputs a prediction regarding the freshness of the item and estimates
its remaining shelf life. This analysis is fast and can be performed directly on the
intuitive, allowing users to easily navigate the app, capture images, and receive
34
Additionally, the Smart Scanner provides educational content and storage
tips based on the results of the freshness analysis. This functionality is integrated
into the mobile application, which serves as a one-stop platform for both
assessing food quality and promoting better food management practices. The app
suggests appropriate storage methods for different types of produce, which helps
users extend the shelf life of their items and reduce food waste. This feature is
dependent on the quality of the input images, which can be influenced by factors
such as lighting conditions, camera resolution, and the handling of the device.
The current model is designed to work with only five common fruits and five
vegetables, which limits the scope of the application in its initial phase. Moreover,
the system is designed to assess visible signs of spoilage, and does not account
for internal damage or deterioration that may not be visible on the surface of the
produce. These technical limitations highlight the need for ongoing research and
produce.
35
combination of CNNs for image analysis, the lightweight architecture of
MobileNetV2 for mobile device compatibility, and the mobile app interface for
educational purposes make this project a promising tool for sustainable food
management. With ongoing advancements in AI, the system has the potential to
evolve and expand, offering a more comprehensive solution to food waste issues
on a global scale.
36
CHAPTER III
This chapter deals with methods used by the researcher in conducting the
Methodology
the developer build and validate high-quality software through multiple testing
37
software quality which surpasses all requirements of candidates, judges and
event organizers. The RAD process. The organization's process through data
collection and system observation occurred during the Analysis & Quick Design
phase for immediate analysis and system design. The prototype cycle runs during
38
Input and Output Reports and Analysis
39
Conceptual Design
image recognition. This system enables users to upload images of fruits and
their freshness status and estimated expiration date. The platform streamlines
consumer awareness of food quality but also contributes to reducing food waste
freshness.
40
System Architecture
41
Cost Benefit Analysis
This section contains all listed material and its detailed descriptions. The
current materials listed in this section are used during the development of the
application.
Devise Used
• Laptop
• Internet Router
Software Specification
Operation System
• Windows 11
Programming Language
• Python
Development Tools
• Processor:
• Ram: 16.0 GB
42
Modem/Router
• Speed: 100mbps
Camera
• Resolution HD 1080p
Requirement Analysis
hardware and software requirements for users who to use the application
User Requirements
I. Software Requirements
Chrome Chrome 66
Firefox Firefox 61
Safari Safari
43
II. Hardware Requirements
RAM 4 GB RAM
The following are estimated costs for developing the software and creating
the manuscript. To help the proponents monitor and manage budgets for the
Hardware Cost
- -
Source:
44
Operational Cost
- - -
- - -
Source:
Summarized Cost
45
System Flow
This section will present the basic flow of the system’s processes using
flowchart and visually through a step-by-step screen grab of website.
46
Hierarchy
47
Block Diagram
48
Development and Testing
The Smart Scanner for Fruits and Vegetables is being developed using a
technology stack that includes PyTorch for AI and machine learning, Streamlit for
the frontend, and a database system to store produce logs and user interactions.
the shelf life of fruits and vegetables in real-time. Development takes place in
analyze images. The system is designed for accessibility, ensuring that users can
This ensures scalability and maintainability. User uploads are processed through
the AI model, which predicts the freshness status and estimated expiration date
of the produce. The results are stored in a database, allowing users to track their
testing (UAT) with IT students and teachers at AMACC Santiago City Branch.
49
Performance testing ensures real-time processing, and security measures are
produce logs.
data breaches.
50
6. User Acceptance Testing (UAT): Conducted with IT students and
teachers at AMACC Santiago City Branch to ensure the system meets user
application.
The prototype for the Smart Scanner for Fruits and Vegetables is a
showcase the key features, user interactions, and overall interface, the prototype
acts as a visual model that allows stakeholders to explore its capabilities and
for an intelligent food management system is laid, aimed at minimizing food waste
51
Implementation Plan
1. Planning and Requirements Analysis: The project begins with defining the
including PyTorch for AI model development, Streamlit for the frontend, and
freshness levels. The model is optimized for high accuracy. The backend is
across different devices and screen sizes. Image recognition testing focuses
52
Finally, user acceptance testing (UAT) is conducted with IT students and
teachers at AMACC Santiago City Branch, ensuring the system meets user
testing is performed after any updates to confirm that new changes do not
4. Bug Fixes and Refinement: Any issues discovered during testing are
reference for developers. Additionally, testing reports compile the results of all
is optimized for real-time inference, and monitoring tools are implemented for
53
performance tracking. A soft launch is conducted to gather final feedback
gathered for future updates. New features, such as IoT integration, expanded
Regular performance reviews and security updates are conducted to keep the
Algorithm Use
Neural Network (CNN) for image recognition and freshness assessment. This AI-
textures, colors, and patterns from the input image through convolutional and
pooling layers. Using a softmax activation function, the model then classifies the
life based on historical data. All results, including freshness status and expiration
estimates, are stored in a database, allowing users to track their scanned items.
when items are nearing expiration. By leveraging CNNs, the Smart Scanner
54
achieves high accuracy in identifying perishable goods, ultimately helping to
55