UNIVERSITI TEKNIKAL MALAYSIA MELAKA

Similar documents
COCONUT HUSK REMOVER MOHD HAZIQ BIN NORDIN UNIVERSITI MALAYSIA PAHANG

NUTRITIONAL CHARACTERISTICS EVALUATION OF MALAYSIAN COMMERCIAL PINEAPPLE CULTIVARS CHONG HANG CHIET UNIVERSITI TEKNOLOGI MALAYSIA

A NEW FEATURE EXTRACTION ALGORITHM FOR OVERLAPPING LEAVES OF RUBBER TREE SULE ANJOMSHOAE

SURVEY OF SHEA NUT ROASTERS AVAILABLE IN NIGER STATE PRESENTED BY IBRAHIM YAHUZA YERIMA MATRIC NO 2006/24031EA

OIL FROM (;O(;ONlJT SEED. t(;o(;os NlJ(;IFERA SPE(;IES) YAKUBUIBRAHI:tv.I 97/6559EH DEPARTMENT OF CHEMICAL ENGINEERING

Ideas for group discussion / exercises - Section 3 Applying food hygiene principles to the coffee chain

MBA 503 Final Project Guidelines and Rubric

1. Continuing the development and validation of mobile sensors. 3. Identifying and establishing variable rate management field trials

Academic Year 2014/2015 Assessment Report. Bachelor of Science in Viticulture, Department of Viticulture and Enology

SYLLABUS. Departmental Syllabus. Food Production II CULN0140. Departmental Syllabus. Departmental Syllabus. Departmental Syllabus

JCAST. Department of Viticulture and Enology, B.S. in Viticulture

UNIT TITLE: MANAGE AND OPERATE A COFFEE SHOP NOMINAL HOURS: 85

PRODUCTION OF PARTICLE BOARD FROM AGRICULTURAL WASTE ~.

CODEX STANDARD FOR LIMES (CODEX STAN , AMD )

DESIGN AND FABRICATION OF ARECA NUT PROCESSING UNIT

Paper Reference IT Principal Learning Information Technology. Level 3 Unit 2: Understanding Organisations

WORKING GROUP ON TEA TRADE AND QUALITY. Intersessional Meeting of the Intergovernmental Group on Tea Rome, 5-6 May 2014

Economic Role of Maize in Thailand

Workshop on International Trade of Fresh Fruit and Vegetables: The role of Standards and Quality Inspection systems

UNECE STANDARD FFV-35 concerning the marketing and commercial quality control of STRAWBERRIES 2017 EDITION

Dr. Abdul Rashid Bin Mohamed Shariff

COMMISSION IMPLEMENTING REGULATION (EU) No 543/2011 of 7 June 2011 EXCERPT: ANNEX I, PART B, PART 9 MARKETING STANDARD FOR TABLE GRAPES

RESOLUTION OIV-ECO

1) What proportion of the districts has written policies regarding vending or a la carte foods?

Fairfield Public Schools Family Consumer Sciences Curriculum Food Service 30

GCSE 4091/01 DESIGN AND TECHNOLOGY UNIT 1 FOCUS AREA: Food Technology

STANDARD FOR PASSION FRUITS CODEX STAN

CODEX STANDARD FOR PINEAPPLES (CODEX STAN )

UNIT TITLE: PROVIDE ADVICE TO PATRONS ON FOOD AND BEVERAGE SERVICES NOMINAL HOURS: 80

Advancing Agriculture Grape Industry Development Program

Taiwan Fishery Trade: Import Demand Market for Shrimps. Bith-Hong Ling

UNECE STANDARD FFV-17 concerning the marketing and commercial quality control of FRESH FIGS 2014 EDITION

Practice of Chinese Food II Hotel Restaurant and Culinary Science

UNIT TITLE: TAKE FOOD ORDERS AND PROVIDE TABLE SERVICE NOMINAL HOURS: 80

AGREEMENT n LLP-LDV-TOI-10-IT-538 UNITS FRAMEWORK ABOUT THE MAITRE QUALIFICATION

Handbook for Wine Supply Balance Sheet. Wines

Sustainable Coffee Challenge FAQ

ASEAN STANDARD FOR DRAGON FRUIT (ASEAN Stan 42:2015)

BILL NUMBER: AB 727 BILL TEXT AMENDED IN ASSEMBLY MARCH 25, 2011 FEBRUARY 17, 2011

ASEAN STANDARD FOR YOUNG COCONUT (ASEAN Stan 15:2009)

PROPOSED DRAFT STANDARD FOR AUBERGINES (At Step 5/8)

Uniform Rules Update Final EIR APPENDIX 6 ASSUMPTIONS AND CALCULATIONS USED FOR ESTIMATING TRAFFIC VOLUMES

CHAPTER I BACKGROUND

BIS Foodservice offers an integrated data and research solution in the foodservice market

High Yield, Long Storage.The Golden Combination!

II. PROVISIONS CONCERNING QUALITY The purpose of the standard is to define the quality requirements for kiwifruit, after preparation and packaging.

UNIT TITLE: PROVIDE GUERIDON SERVICE NOMINAL HOURS: 25

PHILIPPINE NATIONAL STANDARD Baby corn - Grading and classification

Fruit Marketing System in Thailand. Pattana Jealviriyapan. Agribusiness Management towards Strengthening Agricultural Development and Trade

CODEX STAN 293 Page 1 of 5

REGIONAL STANDARD FOR LUCUMA (CODEX STAN 305R )

Predicting Wine Quality

GrillCam: A Real-time Eating Action Recognition System

Module 6. Yield and Fruit Size. Presenter: Stephan Verreynne

Processing Conditions on Performance of Manually Operated Tomato Slicer

Buying Filberts On a Sample Basis

ASEAN STANDARD FOR SWEET CORN (ASEAN Stan 28:2012)

Subject: Industry Standard for a HACCP Plan, HACCP Competency Requirements and HACCP Implementation

EXTRACTION OF PINEAPPLE LEAF FIBRE: JOSAPINE AND MORIS

II. PROVISIONS CONCERNING QUALITY The purpose of the standard is to define the quality requirements for tomatoes, after preparation and packaging.

Specialized Section on Standardization of Dry and Dried Produce REVISION OF UNECE STANDARDS INSHELL WALNUTS

Sustainable Coffee Economy

ASEAN STANDARD FOR SWEET POTATO (ASEAN Stan 38: 2014)

ASEAN STANDARD FOR FRENCH BEAN

UNIT TITLE: PREPARE AND PRESENT GATEAUX, TORTEN AND CAKES NOMINAL HOURS: 60

OIV Revised Proposal for the Harmonized System 2017 Edition

ASEAN STANDARD ON BABY CORN

Foodservice EUROPE. 10 countries analyzed: AUSTRIA BELGIUM FRANCE GERMANY ITALY NETHERLANDS PORTUGAL SPAIN SWITZERLAND UK

Vegetable Spotlight Broccoli

Example : Codex Standard for Durian

UNECE STANDARD FFV-27 concerning the marketing and commercial quality control of PEAS 2010 EDITION

DETERMINANTS OF DINER RESPONSE TO ORIENTAL CUISINE IN SPECIALITY RESTAURANTS AND SELECTED CLASSIFIED HOTELS IN NAIROBI COUNTY, KENYA

Eco-Schools USA Sustainable Food Audit

China Coffee Market Overview The Guidance For Selling Coffee In China Published November Pages PDF Format 420

5. Supporting documents to be provided by the applicant IMPORTANT DISCLAIMER

MARKETING TRENDS FOR COCONUT PRODUCTS IN SRI LANKA

Roaster/Production Operative. Coffee for The People by The Coffee People. Our Values: The Role:

UNECE STANDARD FFV-05 concerning the marketing and commercial quality control of AUBERGINES 2016 EDITION

COMMUNICATION II Moisture Determination of Cocoa Beans by Microwave Oven

STANDARD DDP-04 concerning the marketing and commercial quality control of HAZELNUT KERNELS

SYLLABUS. Departmental Syllabus. Food Production I CULN0130. Departmental Syllabus. Departmental Syllabus. Departmental Syllabus

Chile. Tree Nuts Annual. Almonds and Walnuts Annual Report

UNIT TITLE: PREPARE HOT, COLD AND FROZEN DESSERT NOMINAL HOURS: 55

. ~o 1\ En. Mohamed Nizam Abd Aziz

The aim of the thesis is to determine the economic efficiency of production factors utilization in S.C. AGROINDUSTRIALA BUCIUM S.A.

UNECE STANDARD FFV-05 concerning the marketing and commercial quality control of AUBERGINES 2010 EDITION

ICC September 2018 Original: English. Emerging coffee markets: South and East Asia

Retail Technology Program - Digital Menu Board Preamble

Administration Table of Contents

Table of Contents. Toast Inc. 2

R A W E D U C A T I O N T R A I N I N G C O U R S E S. w w w. r a w c o f f e e c o m p a n y. c o m

AWARD: Pulse Hospitality Operations Agreement 2016

Title: Western New York Sweet Corn Pheromone Trap Network Survey

IFPTI Fellowship Cohort V: Research Presentation Matthew Coleman, R.S., CP-FS

EAST AFRICAN STANDARD

Unit of competency Content Activity. Element 1: Organise coffee workstation n/a n/a. Element 2: Select and grind coffee beans n/a n/a

SENIOR NUTRITION SERVICES WORKER

MEAT WEBQUEST Foods and Nutrition

Maximizing Efficiency In The Production Of Coffee

Wine Intelligence for Vinisud

Transcription:

UNIVERSITI TEKNIKAL MALAYSIA MELAKA FRUIT SIZE AND COLOR MATURITY IDENTIFICATION USING RASPBERRY PI This report is submitted in accordance with the requirement of the Universiti Teknikal Malaysia Melaka (UTeM) for the Bachelor of Electronics Engineering Technology (Telecommunications) With Honours by SYAWAL FIKRI BIN MOHD KHAIRUL B071310220 910416-08-5339 FACULTY OF ENGINEERING TECHNOLOGY 2016

UNIVERSITI TEKNIKAL MALAYSIA MELAKA BORANG PENGESAHAN STATUS LAPORAN PROJEK SARJANA MUDA TAJUK: FRUIT SIZE AND COLOR MATURITY IDENTIFICATION USING RASPBERRY PI SESI PENGAJIAN: 2016/2017 Saya SYAWAL FIKRI BIN MOHD KHAIRUL mengaku membenarkan Laporan PSM ini disimpan di Perpustakaan Universiti Teknikal Malaysia Melaka (UTeM) dengan syarat-syarat kegunaan seperti berikut: 1. Laporan PSM adalah hak milik Universiti Teknikal Malaysia Melaka dan penulis. 2. Perpustakaan Universiti Teknikal Malaysia Melaka dibenarkan membuat salinan untuk tujuan pengajian sahaja dengan izin penulis. 3. Perpustakaan dibenarkan membuat salinan laporan PSM ini sebagai bahan pertukaran antara institusi pengajian tinggi. 4. **Sila tandakan ( ) SULIT TERHAD (Mengandungi maklumat yang berdarjah keselamatan atau kepentingan Malaysia sebagaimana yang termaktub dalam AKTA RAHSIA RASMI 1972) (Mengandungi maklumat TERHAD yang telah ditentukan oleh organisasi/badan di mana penyelidikan dijalankan) TIDAK TERHAD Disahkan oleh: Alamat Tetap: No.3 Jalan Sekamat Jaya 2, Taman Cop Rasmi: Sekamat Jaya, 43000, Kajang, Selangor Tarikh : Tarikh : ** Jika Laporan PSM ini SULIT atau TERHAD, sila lampirkan surat daripada pihak berkuasa/organisasi berkenaan dengan menyatakan sekali sebab dan tempoh laporan PSM ini perlu dikelaskan sebagai SULIT atau TERHAD.

DECLARATION I hereby, declared this report entitled Fruit Size And Color Maturity Identification Using Raspberry Pi is the results of my own research except as cited in references. Signature :. Author s Name : SYAWAL FIKRI BIN MOHD KHAIRUL Date :

APPROVAL This report is submitted to the Faculty of Engineering Technology of UTeM as a partial fulfillment of the requirements for the degree Bachelor of Electronics Engineering Technology (Telecommunications) With Honours. The member of the supervisory is as follow: (IZADORA BINTI MUSTAFFA)

ABSTRAK Warna dan saiz adalah ciri-ciri yang digunakan untuk mengklasifikasikan kematangan buah dengan tepat. Proses ini kebiasaannya dibuat secara manual. Proses ini dibuat secara berulang, memenatkan dan oleh sebab itu, kesilapan akan berlaku. Lembaga Pemasaran Pertanian Persekutuan (FAMA) telah menyediakan enam indeks untuk mengklasifikasikan kematangan buah. Satu machine vision system menggunakan Raspberry Pi dihasilkan untuk menentukan saiz dan warna kematangan buah. Sistem ini mampu mengukur saiz buah. Sistem ini juga mampu mengenal kematangan buah melalui warna yang dominan dengan menggunakan K-means clustering untuk proses penggredan yang selanjutnya. i

ABSTRACT Color and size are features used to accurately classify fruits according to its maturity. The process is normally done manually. The process is repetitive, tiresome and therefore prone to human error. The Malaysian Federal Agricultural Marketing Authority (FAMA) has set six indexes to classify fruit maturity. A machine vision system using Raspberry Pi is developed to determine the size of the fruit and color maturity. The system is able to calculate the approximate size of the fruit. The system is also able to detect the maturity of the fruit through color by using K-means clustering for further grading process. ii

DEDICATION To my beloved parents, Mohd Khairul bin Abdullah and Maimunah binti Seman for the support and encouragement. iii

ACKNOWLEDGEMENT Firstly, I would like to thank my supervisor, Mdm. Izadora binti Mustaffa for her guidance and concise advice during my work for this project. It has been a one of the life time learning experience that I would never forget. I would like to thank you from the bottom of my heart. Lastly, my thanks also goes to the my family, friend and lecturers who are directly or indirectly involved and giving support in completing this project. iv

TABLE OF CONTENT Abstrak Abstract Dedication Acknowledgement Table of Content List of Tables List of Figures List Abbreviations, Symbols and Nomenclatures i ii iii iv v vi viii ix CHAPTER 1: INTRODUCTION 1.1 Introduction 1 1.2 Problem Statement 1 1.3 Objective 2 1.4 Work scope 2 1.5 Conclusion 2 CHAPTER 2: LITERATURE REVIEW 2.1 Introduction 3 2.2 Malaysia Fruit Industry 3 2.2.1 Federal Agriculture Marketing Authority (FAMA) 4 2.2.2 Wholesalers 5 v

2.2.3 Pasar tani (Farmers Market) 5 2.3 Malaysia Fruit Grading System 6 2.3.1 Fruits Grading Classification 6 2.4 Methods for Fruit Identification and Grading 8 2.5 Conclusion 11 CHAPTER 3: METHODOLOGY 3.1 Introduction 12 3.2 Hardware Implementation 13 3.2.1 Raspberry Pi 3 model B 13 3.3 Software Implementation 13 3.3.1 Python 13 3.3.2 OpenCV 14 3.3.3 OpenCV Histogram 14 3.3.4 K-means Clustering 15 3.3.5 Pixel per metric ratio 16 3.4 Conclusion 16 CHAPTER 4: RESULTS AND DISCUSSION 4.1 Introduction 17 4.2 Hardware setup 17 4.3 Fruit size Calculation 18

4.4 Fruit Maturity Color Determination 21 4.4.1 K-means Color Clustering 22 4.5 Mango Maturity Index Calculation 24 4.6 Conclusion 25 CHAPTER 5: CONCLUSION AND FUTURE WORK 5.1 Conclusion 26 5.2 Future work 26 REFERENCES 27 APPENDICES APPENDIX A Mango Brochure 29 APPENDIX B Gantt Chart 30 APPENDIX C Raspberry Pi Algorithm (Full code) 31

LIST OF TABLES Table 2.1 Type of fruits purchasing offered by FAMA 5 Table 4.1 Index of mango maturity 21 Table 4.2 The three most dominant color for each of the mango 23 vi

LIST OF FIGURES Figure 2.1 Standard & Grade Specifications of ;(a) Mango; (b) Lime 7 Figure 2.2 Oil palm FFB grading system 9 Figure 2.3 Oil palm FFB images for four ripeness category (a) 10 Unripe; (b) Under ripe;(c) Ripe; (d) Overripe. Figure 2.4 Illustration of the machine vision system. 11 Figure 3.1 Flow chart of the algorithm 12 Figure 3.2 Raspberry Pi 3 model B 13 Figure 3.3 Virtual-environment Python using Raspberry 13 Figure 3.4 Virtual-environment Python binding with OpenCV using 14 Raspberry Pi Figure 3.5 The example of OpenCV histogram; Dog picture as 14 reference and example of OpenCV histogram, Intersection Figure 3.6 Example of k- means clustering of ;(a) Four most 15 dominant color; (b) Five most dominant color Figure 3.7 The example of pixels per metric ratio; Position of the reference object and the reference object in an image, 16 either based on the position of the object or by appearances. Figure 4.1 Raspberry Pi using monitor laptop 17 Figure 4.2 The size of the fruit on the far left is used as a reference 20 to measure size of the fruit on the right; (a) Reference measurement; (b),(c) and (d) Measurement for other size of mango. Figure 4.3 A comparison and checking the maturity using OpenCV histogram of the fruit mango;(a) Index 1;(b) Index 2;(c) Index 3 25 vii

LIST OF ABBREVIATIONS, SYMBOLS AND NOMENCLATURE FAMA - Federal Agriculture Marketing Authority DOA - Department of Agriculture LPP - Lembaga Pertubuhan Peladang MPIB - Malaysian Pineapple Industry Board MARDI - Malaysian Agriculture Research and Development Institute FFB - Fresh Fruit Bunches HIS - Hue, saturation, and intensity CCD - Charge Coupled Device OpenCV - Open Source Computer Vision VNC - Virtual Network Computing ix

CHAPTER 1 INTRODUCTION 1.1 Introduction Color and size is the most important aspect of agricultural and food products because high-quality products are significant for success in today s highly competitive market. In agricultural applications, the quality of a product especially fruits. Which are often classified by their texture, shape, and color. These elements utilize human's vision especially as a part of deciding the quality or ripeness of fruits. The process of evaluating is done manually, repetitive and prone to human error. In recent years, image processing techniques have been discovered progressively helpful in the fruit industry, especially for applications in grading or ripeness of fruits. Studies show that, utilizing image processing able to improve the product quality while helping people from traditional evaluation for fruits. 1.2 Problem Statement During harvesting season, farmers just used his/her knowledge only using vision to select the fruits by assuming the color and size. The process of evaluating the fruit maturity is tiring and time-consuming. So, a lot of error can occur in evaluating of the fruit. Therefore, this project will give a concept of idea to find the fruit size and the maturity of the fruit. 1

1.3 Objective 1. To study fruit maturity grading system applied by FAMA 2. To study existing fruit grading systems 3. To develop a fruit size and color maturity identification algorithm using Python and OpenCV and implement it using Raspberry Pi. 1.4 Work Scope The scope of this project is to study on how to develop an algorithm for fruit identification using Raspberry Pi with using Python and OpenCV. Equally important, to study the maturity system by Official Portal of Federal Agricultural Marketing Authority - Standard and Grade Specifications. This scope will conduct regarding Raspberry Pi, Python, OpenCV. Fruit maturity grading system by FAMA. The existing fruit grading system. Implementation of Python and OpenCV in Raspberry Pi. 1.5 Conclusion Fruits can be classified by texture, shape, and color. The problem is that, these elements utilize human's vision especially as a part of deciding the quality or ripeness of fruits. So, the process of evaluating the fruit maturity is tiring and time consuming when harvesting the fruit. Hence, the objective is to help the farmers to determine the condition of the fruit based on size and color maturity. Therefore, in this project will focus on the maturity grading system by FAMA and study the existing grading system. Lastly, using Python and OpenCV software to identify the size and the maturity of a fruit and implement it using Raspberry Pi. 2

CHAPTER 2 LITERATURE REVIEW 2.1 Introduction This chapter will explain about the involvement of agricultural sector for fruit industry in Malaysia. Also, the existing system for grading fruits and the importance of fruit grading. Likewise, methods for grading fruits. 2.2 Malaysia Fruit Industry Malaysia delivers a wide assortment of tropical organic products, for example, pineapples, durians, watermelons, starfruits, bananas, papayas and mangoes. Malaysian tropical atmosphere is exceptionally ideal for the generation of different fascinating organic products, particularly since Peninsular Malaysia occasional encounters sea tempests or dry spells and expand the ability to support tropical natural product sends out. Malaysian natural product industry is essential socio-financially, as it is assessed that at the very least 135,000 little holders are included in organic product development in Peninsular Malaysia, extending from one to two hectares each in size. Natural product crops use around 375,000 hectares (5.4%) of an area in Malaysia. Malaysia imported about RM 193.80 Mil worth of natural products in 2011 while its fare adds up to RM 269.07 Mil. Malaysian tropical organic products are principally traded to business sectors in Singapore, Thailand, Hong Kong and Indonesia while for the most part transported in from China, USA, South Africa and Thailand. Per capita utilization of tropical natural 3

products in Malaysia was 44.88 kg in 2011. There are 18 products of tropical natural products which been exhorted by FAMA to be developed by the cultivators taking into account the interest and showcasing potential prerequisites. In Malaysia, agriculture division is administered by Ministry of Agriculture and Agro- Based Industry (MOA). There is four department who are directly linked to fruits sector. There are DOA, FAMA, LPP, and MPIB. The first stage is call Agronomy when a farmer wanted to crop any fruit. Then, FAMA will give advice to them about the current statistic, suitable service and suitable time to do the crop in order to fulfill current demand. DOA plays the role in advising on the type of land, seeds, and fertilizers suitable to be used. Lembaga Pertubuhan Peladang (LPP) or Board of Farmer s Organization will register these farmers under the regulatory body and responsible in giving engineering assistance such as tractors and irrigation system. For research development, Malaysian Agriculture Research and Development Institute (MARDI) provided consultancy and technical services to the farmers, such as disease control and how to optimize the harvesting output. MPIB or Malaysian Pineapple Industry Board is one of the bodies under MOA to coordinate activities and process research related to pineapple as it is the highest type of fruit produced in Malaysia. Aside from those organizations mentioned above, there are one financial institution namely AGROBANK specially in giving credit assistance to the farmers for agriculture's cultivation. The second part of the fruit s cultivation, DOA, FAMA, MARDI as well as MPIB for pineapple will have a scheduled visit to ensure the successful of cultivation. Finally, FAMA would purchase the fruits upon requested after fruits harvested (Zakaria 2014). 2.2.1 Federal Agriculture Marketing Authority (FAMA) FAMA is on the second level of the chain as a direct purchaser nevertheless independent or contract farmers. For independent farmers, FAMA would gather the fruits at the farm upon asked for, while contract farmers will have a suitable harvesting plan as a guideline. Table 2.1 demonstrates the obtaining sort offered by FAMA to the agriculturists. 4

Table 2.1: Type of fruits purchasing offered by FAMA (Source: Zakaria, 2014) 2.2.2 Wholesalers Wholesalers include in the fruit supply chain. Wholesalers like to buy at the collection centers because of different choices of fruits. Some of them ready to specifically offer the fruits to the customer as they possess the retail shops or vendors. Some of them would likewise buy from FAMA as a second source. 2.2.3 Pasar Tani (Farmers market) In Malaysia, the farmer s market is known as Pasar Tani. In 1985, to allow consumers to buy directly from the farmers, its operation usually start in the morning on a designated day of the week. It can reach up to 100 stalls in every area offering assortments of fruits, vegetables, and other agriculture from the farmers. Farmers would either bring the fruits independent from anyone else to Pasar Tani in the event that they had their own particular transport, or generally took care of by authorities or wholesalers. FAMA itself at times would supply the fruits to the entrepreneurs to increase their product varieties. There are 52 areas of Pasar Tani in Johor, with 1,865 entrepreneurs people included. In addition, infrastructure and easy payment scheme for the amenities for markets such as canopies, tables, and basket will be provided by FAMA. This is one of the exceptionally effective projects from MOA for agriculturists 5

in Malaysia. The reason is that customers like to buy at the Pasar Tani because its cheaper and have a lot of choices of fruits than in supermarkets. 2.3 Malaysia Fruit Grading System Grading of fruits and vegetables after harvesting is an essential step in post-harvest management. Grading of fruits and vegetables on the basis of physical characteristics like weight, size, color, shape, specific gravity, and freedom from diseases depending upon agroclimatic conditions. The known methods of grading of fruits and vegetables are manual grading, size grading. Grading of fruits and vegetables in the fresh form for quality is essential, as the people are becoming quality conscious day by day. Further, upon arrival of fruits and vegetables at the processing centers, they should be graded strictly for quality. From immature, mature and over mature fruits and vegetable should be sorted out for the best attributes. 2.3.2 The Fruits Grading Classification Grading is sorting of vegetables and fruits into different grades according to the size, shape, color, and volume to fetch a high price in the market. The fruit grading can be categories into three class. Firstly, the extra class is of superior quality possess the shapes and color of the variety and without internal defect likely to affect the inherent texture and flavor. A 5% tolerance is allowed for errors. It must be carefully presented taking into accounts the uniformity of the produces in size color, condition arrangement of the produce in the package quality and appearances of the packing or pre-packing material. Next is the class 1st, which is almost having the same quality is like the extra class except that a 10% tolerance is allowed. Individual fruit is allowed a slight defect in shape, color, and 6

minor skin defect which do not affect the general appearance for keeping qualities. In packing the size range may be wider and product need not always be arranged in the package. Lastly, class 2nd. This class product may exhibit some external or internal defects provided they are fit for consumption while fresh. This class is best fitted for local or short distance market. This category will satisfy the needs of customers who are not too demanding and for whom price is more important than quality (FAMA 2016). The example of Standard & Grade Specifications: - (a) Figure 2.1: Standard & Grade Specifications of (a) Mango; (b) Lime (Source: FAMA,2016) (b) 7

2.4 Methods for Fruit Identification and Grading The effectiveness agricultural industry and process evaluating that is right are critical to enhancing productivity. As of now, the agricultural industry has better advancement, particularly regarding reviewing of natural products, yet the procedure should be revamped. This is on the grounds that evaluating of fruit products is essential to enhance nature of the fruit products. In a roundabout way, great fruit products could be sent out to different nations and create income (Mohd Firdaus 2014). Analyzing image using computer vision has many potential functions for fruits grading. One of the researchers has a made a fruit grading system using Computer vision. According to Al Ohali (2011), the Kingdom of Saudi Arabia is the world s largest producer of date in Saudi Arabia. Approximately 400 date varieties in bulk. So, during harvesting season the date sorting and grading give problems for date growers. This is because the process to grade and sort is time consuming which can delay the post-harvesting operations. Therefore, a fast and efficient system to sort the date is needed. So, he designed and implemented a prototypical computer vison-based date and grading and sorting system. The fruit grading sorting system consists of the conveyer, camera control, and helm control systems. The system uses RGB color method to determine dates quality. In addition, the dates are classified categories (grades 1,2 and 3) defined by experts based on extracted features (Al Ohali 2011). The other researcher has made oil palm fresh fruit bunch ripeness classification based on the color of the fruit. The oil palm fruits are one of the major agricultures goods, particularly in Malaysia. The palm oil is the basic ingredient in manufacturing such as candles, soap domestic frying oil and snack food. Not only that, the ripeness of the oil palm fruits depends on the color of the fruit. So, they designed intelligent color vision system for ripeness classification of oil 8

palm fresh fruit bunch. So, Ripeness classification of oil palm fresh fruit bunches (FFBs) is used to harvest the palm fruits for maximum oil production. The application of the color vision is used for automated ripeness classification of oil palm FFB. The digital image processing techniques are used to the images of oil palm FFBs of type DxP Yangambi are collected and analyzed. The intelligent grading system the consisted of a camera for image acquisition and a computer for data storage, image pre-processing and ANN classification. The system included the Vivotek IP8332 Network Bullet Camera (0 Lux, 1.0 M pixels, F1.8) for image capturing and MATLAB Image Processing Toolbox is used for image processing. In addition, an ANN system was trained and tested using the MATLAB Neural Network Toolbox. The system is illustrated in figure 2.2 (Fadilah et al. 2012). Figure 2.2: Oil palm FFB grading system (Source: Fadilah et al,2012) For colorization of the oil palm fruits ripeness, four sample that can be shown in Figure 2.3. For unripe fruits are in deep violet to black. The fruits ripen are red and the overripe oil palm FFB shows that most of the outer fruits are gone, and the inner fruits are orange in color. 9

Figure 2.3: Oil palm FFB images for four ripeness category (a) Unripe; (b) under ripe;(c) Ripe; (d) Overripe. (Source: Fadilah et al,2012) Next researchers have made a lemon sorting system based on color and size using HSI color model technique for color and image processing for size. The size, color, shape, defect and internal quality give many kinds of information for grading systems. The most important features for accurate classification and/or sorting of citrus such as oranges, lemons and tangerines were color and size. The system identified with two inspection stages of the system which are external fruit inspection and internal fruit inspection. In addition, the internal inspection needs a special sensor for moisture, sugar, and acid contents and the former task can be accomplished through processing of color images. Other than that, in visual basic environment, an efficient algorithm for grading lemon fruits was developed implemented. The systems consist of two CCD cameras, two capture cards, an appropriate lighting system, a personal computer and other mechanical parts. The information of the fruit was extracted on the HSI color values and estimated volumes. The system can be seen in Figure 2.4 which consist of two CCD cameras with 510 x 492 pixels (PROLINE-565 s), two capture cards (WinFast DV2000 with a resolution of 3 H 240 V), an appropriate lighting system and a personal computer (PC). The camera is a CS lens mount, a 10