Amberlytics Final
Amberlytics Final
Pricing
Keywords- Mango classification, CNN model, quality Numerous studies have explored automated mango
grading, price prediction, international trade. classification and grading using deep learning, machine
vision, and machine learning techniques. These approaches
aim to improve efficiency in agro-industries by reducing
manual labor and increasing accuracy in identifying mango
I. INTRODUCTION varieties, ripeness, and quality.
Mango is an economically important fruit crop grown in
One study developed an automated mango classification
tropical and subtropical regions around the world. India is the
system using deep learning, particularly convolutional neural
largest producer of mangoes, accounting for over 40% of
networks (CNNs) with transfer learning. The Inception V3
global production. There are numerous different mango
model, pretrained on ImageNet, was retrained on a dataset of
varieties grown, with varying shapes, sizes, colors , flavours
2000 images covering 12 mango varieties, achieving an
and textures. Automatic classification and identification of
accuracy of 97.6%. Similarly, another study used GoogleNet
CNN architecture on 5093 mango images belonging to five Existing systems for mango classification, grading, and price
Indian mango varieties, achieving a test accuracy of 99%. prediction rely on machine learning (ML), deep learning (DL),
These studies demonstrate the effectiveness of CNNs and image processing techniques. Traditional manual
combined with transfer learning in improving classification inspection methods based on size, color, and texture were
accuracy. However, they highlight the need for larger and subjective and inconsistent. Price estimation also depended on
more diverse datasets to enhance model robustness. expert judgment rather than data-driven models.
A machine vision-based system was proposed for predicting Modern ML-based systems use machine vision to automate
the maturity of harvested mangoes using Gaussian Mixture mango inspection. Feature-based models like Support Vector
Models (GMM). The system extracted features such as size, Machines (SVM), Random Forest (RF), and k-Nearest
shape, color, and texture, achieving over 90% accuracy in Neighbors (KNN) classify mangoes based on extracted
classifying mango maturity levels. While this approach features. Deep learning models, especially Convolutional
enables non-destructive ripeness evaluation, it requires Neural Networks (CNNs) such as Inception V3, ResNet, and
controlled lighting conditions for consistent results. Another MobileNet, achieve high classification accuracy (up to 99%).
study combined machine vision and artificial intelligence for However, deep learning requires large datasets and significant
mango sorting, grading, and quality evaluation. It used image computational power, limiting real-time applications.
processing to detect mango shape, size, and surface defects,
alongside a neural network model that predicted maturity and Price prediction models use regression techniques based on
sweetness with 98% accuracy. However, testing was limited fruit attributes and market trends. While linear regression
to a few Vietnamese mango varieties, and lighting provides reasonable accuracy, it struggles with sudden market
inconsistencies posed challenges. fluctuations. Advanced deep learning models like Long Short-
Term Memory (LSTM) networks improve price forecasting
Embedded machine learning techniques were explored for accuracy, achieving a mean absolute percentage error (MAPE)
mango weight estimation using image processing and Support of just 3.5%.
Vector Machines (SVM) on a Raspberry Pi platform. This
system categorized mangoes into three weight classes with Despite advancements, current systems face challenges like
over 85% accuracy. While cost-effective for developing data limitations, poor performance under variable lighting, and
countries, its real-time application was hindered by slow high computational requirements. Existing price prediction
processing times. Another study focused on mango disease models lack real-time market integration, reducing reliability.
detection, specifically anthracnose fungal infection, using an Future systems like MangoSpecs should combine deep
8-layer CNN model. The model achieved 96.16% accuracy, learning, advanced imaging, and AI-driven market analysis to
demonstrating the potential of deep learning in plant disease enhance classification, grading, and price prediction accuracy
detection. However, its evaluation was limited to a single while improving real-time processing and scalability.
disease type, necessitating further validation across multiple
mango diseases.
Beyond mangoes, researchers have applied deep learning for IV. PROPOSED SYSTEM
plant classification, fish species detection, and plant disease
identification. A study on tree species classification used a The proposed system, MangoSpecs, is an intelligent solution
CNN model on 10,000 leaf images from 10 tree species, for mango species classification, price prediction, and quality
achieving 99.4% accuracy. Another study employed Faster R- grading using a Convolutional Neural Network (CNN). The
CNN for detecting five plant diseases with over 95% model is trained on a diverse dataset containing multiple
accuracy, optimized for mobile deployment. These findings mango species, including Kesar, Dasheri, Chaunsa, Langda,
suggest the broader applicability of deep learning in Alphonso (Hapus), and Totapuri. The dataset is split into
agriculture. training and testing subsets to ensure accurate model
development and validation.
Mango grading systems have also been explored using CNNs,
with one study comparing VGG16, ResNet152, and Inception To make the system accessible and user-friendly, a web-based
V3 architectures for classifying eight mango cultivars. application is integrated with the pretrained CNN model.
Inception V3 outperformed the others, achieving 99.2% Users can upload mango images to the web app, which
classification accuracy and 96.7% grading accuracy. Another processes the image and provides real-time identification
study employed image processing to classify mango ripeness results, including:
based on color variations, using different color spaces and
machine learning classifiers. Mango species classification
Minimum and maximum pricing based on historical
Overall, deep learning and machine vision offer promising data and market trends
solutions for mango classification and grading. However, Quality grading, categorizing the mango into
challenges such as dataset limitations, inconsistent lighting, predefined quality classes
and the need for real-time efficiency must be addressed to
enable industrial-scale adoption. Future research should focus The system leverages deep learning and image processing
on expanding datasets, improving model robustness, and techniques to ensure high accuracy in mango classification
integrating multi-sensor imaging techniques for enhanced and quality assessment. Transfer learning may be applied to
accuracy. enhance model performance while reducing the need for
extensive labeled datasets. Additionally, the system can be
expanded in the future to incorporate more mango varieties,
III. EXISTING SYSTEM
improve real-time price estimation, and refine quality grading The computed results—mango variety, confidence level,
criteria. grade, ripeness category, and price range—are formatted into
JSON and sent back to the frontend. Users receive the output
The MangoSpecs system aims to assist farmers, traders, and in a structured format, enabling them to make informed
consumers in making informed decisions regarding mango decisions regarding their mango's classification and potential
classification, pricing, and quality, thereby enhancing market value.
efficiency in the agro-based industry.
V. METHODOLOGY
1. Image Acquisition
2. Preprocessing
3. Mango Classification
5. Price Estimation
The system retrieves the base price range for the classified
mango variety. A city-specific price adjustment factor is
applied, modifying the price estimate according to regional
market trends. The final price range is computed dynamically,
reflecting real-time economic variations and local demand. Fig.1 Workflow of the model