System and method for evaluating shelf life of agricultural products using delayed image data
By analyzing the quality attributes of agricultural products using time-lapse hyperspectral image data and machine learning models, the problem of accuracy in assessing the shelf life of agricultural products was solved, and the optimized application of shelf-life extension coating solutions was realized, reducing waste and improving the quality of agricultural products.
Patent Information
- Application Number
- CN202380021691.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-02-14
- Filing Date
- 2023-02-13
- Publication Date
- 2024-09-24
AI Technical Summary
Existing technologies make it difficult to objectively and quantitatively assess the shelf life of agricultural products, which may lead to the premature expiration or failure to be consumed in the supply chain, resulting in waste. Furthermore, the application of existing shelf-life extension coating solutions is inaccurate.
By using time-lapse hyperspectral image data and machine learning models, we analyze the quality attributes of agricultural products, such as color, volume, and hardness, quantify their shelf life and marketability, and determine an improved method for shelf-extending coating solutions.
Accurately assess the shelf life and marketability of agricultural products, reduce waste, improve the maturity, shelf life and edibility of agricultural products, and optimize supply chain management.
Smart Images

Figure CN118696342A
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to U.S. Application No. 63 / 309,876, filed on February 14, 2022, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] This document generally describes apparatus, systems, and methods related to determining the shelf life of food products, such as produce, using time-lapse image data. Background Art
[0004] Foods such as produce, fruits, and meats can have different shelf lives that affect their suitability and value for consumption in the supply chain. Multiple different stakeholders throughout the supply chain are interested in evaluating the shelf life of produce. The shelf life affects how long the produce can be displayed to a consumer for purchase before it is no longer saleable or the consumer no longer wishes to purchase it. Sometimes, produce can move through the supply chain without being coated with a shelf life extending coating solution. As a result, the produce can reach the consumer with a shortened shelf life and / or characteristics that make the consumer less likely to purchase the produce. As a result, the produce may not be purchased and / or may become waste. Sometimes, produce can be coated with some type of shelf life extending coating solution, but the incorrect amount and / or type of solution may be applied. As a result, the produce may still reach the consumer with a shortened shelf life and / or characteristics that make the consumer less likely to purchase the produce.
[0005] It can be challenging to objectively and quantitatively define the shelf life of agricultural products based on image data. Relevant stakeholders in the supply chain can observe and compare the color or other features visible in or on agricultural products. However, the human eye may only be able to distinguish color differences or other feature differences in extreme cases, such as when the differences are very obvious. For example, the human eye may be able to distinguish whether a lime is yellow, green, or brown, but the human eye may not be able to identify more subtle color changes that can serve as indicators of the shelf life of agricultural products. Sometimes, the human eye can identify changes in color, but may not be able to accurately quantify such changes. Subtle changes in color and other features can represent changes in food quality, which affects the shelf life and marketability of agricultural products. Summary of the invention
[0006] This document generally describes systems, methods, and techniques for assessing the shelf life of agricultural products using image data. More particularly, the shelf life of agricultural products can be determined based on time-lapse image data, such as time-lapse hyperspectral images (HSI), which can be generated and captured by one or more imaging devices (such as cameras configured to capture images of agricultural products within and / or outside the visible spectrum). In some embodiments, hyperspectral image data can be captured by a hyperspectral camera with a constant time difference and over a period of time. This image data can then be used to assess the shelf life of agricultural products. The image data can include images and other image-related data and / or metadata, including but not limited to histograms, RGB color models, hyperspectral data, multispectral data, and / or videos.
[0007] In order to evaluate the shelf life of agricultural products, pixels representing agricultural products in time-lapse image data can be extracted within one or more predetermined time ranges. Machine learning models and / or algorithms can then be applied to the extracted pixels to calculate the quality changes of agricultural products over time. Such quality changes can include color, volume, rot, hardness, wrinkles, mold, deterioration, infection, abrasions, dry matter, pH, brix, sugar content and / or drying. Thus, machine learning techniques can be used to combine identification and calculation of internal and external quality attributes of agricultural products to quantify the shelf life, edibility and / or marketability of agricultural products. The shelf life of agricultural products can then be determined based on the evaluation of the identified quality changes.
[0008] Relevant stakeholders in the supply chain can use the determined shelf life to identify how the agricultural product matures, the length of the shelf life and / or marketability of the agricultural product, and how the shelf life extension coating solution can affect the maturity, shelf life and / or marketability of the agricultural product. For example, the disclosed technology can also be used to determine the shelf life extension factor of agricultural products that can be coated in a shelf life extension coating solution (e.g., treated agricultural products) and agricultural products that may not be coated in the solution (e.g., untreated agricultural products). In some embodiments, the shelf life extension factor can be determined for a given environmental condition, which can be an average of the shelf life ratios of treated and untreated agricultural products in a statistically representative set of agricultural products.
[0009] The relevant stakeholders in the whole supply chain can use the determined shelf life extension factor to modify the shelf life coating solution, apply the solution to agricultural products and / or the amount of the solution applied to agricultural products. By using the disclosed technology as described throughout the disclosure, the processed agricultural products can have improved and / or improved maturity, shelf life, edibility and / or marketability, thereby benefiting the stakeholders and consumers in the supply chain. The shelf life extension factor can also be used to compare different coating solutions and their efficacy in extending the shelf life of agricultural products. The shelf life extension factor can also be used to compare processed and unprocessed agricultural products under refrigeration, retail, ambient conditions and other environmental conditions.
[0010] Certain embodiments described herein may include a method for determining the duration of an agricultural product using image data, the method comprising: receiving, by a computing system and from an imaging device, image data of an agricultural product that may be captured at consistent time intervals during a time period, the image data including one or more treated agricultural products that may be coated with a shelf-life extending coating solution during the time period and one or more untreated agricultural products that are not coated with the shelf-life extending coating solution, the treated agricultural products and the untreated agricultural products being the same type of agricultural product; performing, by the computing system, object detection on the image data to identify a bounding box around each agricultural product in the image data; identifying, by the computing system, a quality attribute in each bounding box at each time interval during the time period; determining, by the computing system and for each agricultural product in the image data, one or more duration scoring metrics based on comparing the quality attributes identified within the time period; and transmitting, by the computing system, the one or more duration scoring metrics for each agricultural product to a user device for display in a graphical user interface (GUI).
[0011] In some implementations, the embodiments described herein may include one or more of the following features. For example, the method may include storing, by a computing system, in a data repository (i) a bounding box around each agricultural product in the image data, (ii) a quality attribute of each agricultural product, and (iii) a duration score metric for each agricultural product. The method may also include determining, by the computing system, a grid structure for the image data, and assigning, by the computing system, a grid index in the grid structure to each bounding box, the grid index being used to identify the agricultural product in the bounding box.
[0012] As another example, the method may include determining, by the computing system, a duration score for the agricultural product in the image data based on determining, from the one or more duration score metrics, an extension in shelf life duration that the treated agricultural product experiences as compared to the untreated agricultural product during the time period. Furthermore, the method may include determining, by the computing system and based at least in part on the one or more duration score metrics and the duration score of the agricultural product, one or more modifications to the shelf life extension coating solution. The method may include transmitting, by the computing system, instructions to modify the shelf life extension coating solution based on the determined one or more modifications to a controller of a supply chain participant. The one or more modifications may include instructions that, when executed by the supply chain participant, cause at least one of the following: (i) increasing the concentration of one or more components of the shelf life extension coating solution, (ii) decreasing the concentration of one or more components of the shelf life extension coating solution, (iii) applying the shelf life extension coating solution to a batch of untreated agricultural products of the same agricultural product type, (iv) increasing the amount of the shelf life extension coating solution to be applied to a subsequent batch of untreated agricultural products of the same agricultural product type, and (v) decreasing the amount of the shelf life extension coating solution to be applied to a subsequent batch of untreated agricultural products of the same agricultural product type.
[0013] In some embodiments, the quality attribute may include at least one of color, volume, hardness, wrinkles, rot, and mold. The method may also include mapping, by the computing system, RGB values in the image data into a three-dimensional (3D) space, identifying, by the computing system, clusters of RGB values in the 3D space, selecting, by the computing system, one or more clusters in the clusters in the 3D space that have a threshold center color, and extracting, by the computing system, the selected one or more clusters from the image data, the selected one or more clusters representing processed agricultural products and unprocessed agricultural products in the image data.
[0014] In some embodiments, identifying, by the computing system, the quality attribute in each bounding box may include identifying color values for all pixels in the bounding box, and determining, by the computing system and for each agricultural product in the image data, one or more duration scoring metrics may include determining a distance between each identified color value in the image data and a statistically measured color value for the agricultural product, determining whether the distance between each identified color value and the statistically measured color value at each time interval exceeds a threshold level, identifying the duration scoring metric for each agricultural product as a time interval during the time period when the distance between each identified color value and the statistically measured color value exceeds the threshold level, and generating an output visually depicting the distance between each identified color value and the statistically measured color value for the agricultural product at each time interval during the time period. Furthermore, the statistically measured color value may be determined by the computing system based on receiving image data of the agricultural product at a first time interval during the time period from an imaging device, identifying color values for all pixels representing the agricultural product in the image data at the first time interval, and calculating the statistically measured color value for the agricultural product in the image data based on averaging the identified color values. The statistically measured color value may represent an average color of the processed agricultural product and the unprocessed agricultural product when the imaging device images the agricultural product at the first time interval during the time period.
[0015] In some embodiments, for each agricultural product in the image data, one or more duration score metrics may correspond to at least one of maturity, end of maturity, length of maturity, shelf life, end of shelf life, length of shelf life, edibility, end of edibility, length of edibility, saleability, end of saleability, and length of saleability of the agricultural product.
[0016] Sometimes, identifying, by the computing system, the quality attribute in each bounding box may include determining an area of the produce in the bounding box based on counting the number of pixels representing the produce in the bounding box, determining a radius of the produce based on the area and a circular area formula, and determining a volume of the produce at each time interval based on the radius and a spherical volume formula. Determining, by the computing system and for each produce in the image data, one or more duration scoring metrics may also include determining a change in the volume of the produce at each time interval relative to the volume of the produce at a first time interval, determining whether the change in volume exceeds a threshold level, identifying a duration scoring metric for each produce as the time interval when the change in volume during the time interval exceeds the threshold level, and generating an output that visually depicts the change in volume of each produce at each time interval during the time interval. In some embodiments, the threshold level may be a 10% volumetric contraction between the volume of the produce at one of the time intervals and the volume of the produce at the first time interval.
[0017] In some implementations, identifying, by the computing system, the quality attribute in each bounding box may include determining a grid structure of the agricultural product in the bounding box, retrieving a wrinkle model trained using machine learning from a data repository, and applying the wrinkle model to each grid cell in the grid structure to identify one or more tiles of wrinkles. Determining, by the computing system and for each agricultural product in the image data, one or more duration score metrics may include counting a portion of grid cells of tiles with wrinkles for the bounding box, determining whether the portion of grid cells of tiles with wrinkles exceeds a threshold level, identifying the duration score metric for the agricultural product as a percentage coverage of wrinkles based on determining that the portion of grid cells of tiles with wrinkles exceeds the threshold level, and generating an output visually depicting the percentage coverage of wrinkles for the agricultural product. The wrinkle model is trained using a set of training image data of other agricultural products of the same type, the set of training image data being annotated based on previously identifying a first portion of the other agricultural products as having wrinkles and identifying a second portion of the other agricultural products as not having wrinkles.
[0018] In some implementations, identifying, by the computing system, the quality attributes in each bounding box may include determining a grid structure of the agricultural product in the bounding box, retrieving a quality characteristic model trained using machine learning from a data repository, and applying the quality characteristic model to each grid cell in the grid structure to identify one or more quality characteristics. Determining, by the computing system and for each agricultural product in the image data, one or more duration score metrics may include counting a portion of the grid cells having the quality characteristic for the bounding box, determining whether the portion of the grid cells having the quality characteristic exceeds a threshold level, identifying the duration score metric for the agricultural product as a percentage coverage of the quality characteristic based on determining that the portion of the grid cells having the quality characteristic exceeds the threshold level, and generating an output visually depicting the percentage coverage of the quality characteristic of the agricultural product. The quality characteristic model is trained using a set of training image data of other agricultural products of the same type, the set of training image data being annotated based on previously identifying a first portion of the other agricultural products as having one or more quality characteristics and identifying a second portion of the other agricultural products as not having the quality characteristics. Furthermore, the quality characteristics may include at least one of hardness, internal bruises, external bruises, internal infection, external infection, internal rot, external rot, dry matter content, pH, and sugar content.
[0019] In some embodiments, the agricultural product in the image data may be an avocado, (i) the quality attribute may be at least one of color, volume, firmness, and maturity, and (ii) the one or more duration scoring metrics may be at least one of a change in color over the time period, a change in volume over the time period, a change in firmness over the time period, and a change in maturity over the time period. The agricultural product in the image data may be a lime, the quality attribute may be at least one of color and volume, and the one or more duration scoring metrics may be at least one of a change in color over the time period and a change in volume. The agricultural product in the image data may be an apple, (i) the quality attribute may be at least one of color and firmness, and (ii) the one or more duration scoring metrics may be at least one of a change in color over the time period and a change in firmness over the time period.
[0020] As another example, the method may also include: identifying, by the computing system, a type of agricultural product in the image data at a first time interval during the time period, selecting, by the computing system, one or more types of duration scoring metrics for the identified agricultural product type from a plurality of duration scoring metrics, selecting, by the computing system, one or more threshold levels for the selected types of duration scoring metrics for the identified agricultural product type, identifying, by the computing system, a quality attribute corresponding to each selected type of duration scoring metric, and determining, by the computing system, the selected one or more duration scoring metrics based on comparing the identified quality attributes to the selected one or more threshold levels.
[0021] In some embodiments, the method may also include retrieving, by the computing system, the duration score metrics for the treated agricultural product and the untreated agricultural product during the time period from a data repository, identifying, by the computing system, one or more differences between the duration score metrics for the treated agricultural product and the duration score metrics for the untreated agricultural product, and generating, by the computing system, an output indicative of the identified one or more differences. The generated output may include one or more modifications to the shelf-life extension coating solution, the one or more modifications determined by the computing system based on the identified one or more differences.
[0022] As another example, the agricultural product may be at least one of avocados, limes, lemons, apples, and mangoes.The image data may include at least one of color data, an RGB color model, hyperspectral image data, time-lapse video data, and time-lapse hyperspectral image data.
[0023] One or more embodiments described herein may include a system for determining the duration of an agricultural product using image data, the system comprising a conveyor system that may be configured to route agricultural products along a pathway through a facility; one or more imaging devices positioned proximate the conveyor system and at least one computing system in communication with the one or more imaging devices, the one or more imaging devices being configured to capture image data of agricultural products at consistent time intervals during a time period, wherein the agricultural products are of the same agricultural product type. The at least one computing system may be configured to: receive image data of agricultural products captured at consistent time intervals during the time period from the one or more imaging devices, the image data including one or more treated agricultural products that may be coated with a shelf-life extending coating solution during the time period and one or more untreated agricultural products that may not be coated with a shelf-life extending coating solution, the treated agricultural products and the untreated agricultural products being of the same agricultural product type; perform object detection on the image data to identify a bounding box around each agricultural product in the image data; identify a quality attribute in each bounding box at each time interval during the time period; determine one or more duration score metrics for each agricultural product in the image data based on comparing the quality attributes identified during the time period; and transmit the one or more duration score metrics for each agricultural product to a user device for display in a graphical user interface (GUI).
[0024] In some embodiments, the system may optionally include one or more of the above-mentioned features.
[0025] The disclosed technology can provide one or more of the following advantages. For example, the disclosed technology can be used to quantitatively evaluate the impact of shelf-life extension coating solutions on agricultural product maturity, shelf life, edibility and / or marketability. Therefore, the disclosed technology can be used to improve shelf-life extension coating solutions and / or apply the solutions to agricultural products. Agricultural products coated in the improved solution can experience improved maturity, shelf life, edibility and / or marketability. Downstream of the supply chain, consumers may be more inclined to purchase agricultural products, which can reduce waste based on agricultural products, thereby improving agricultural product marketability.
[0026] As another example, the quality of agricultural products can be more accurately determined based on subtle differences in image data over time. The human eye may be prone to error when trying to observe subtle changes in the appearance of agricultural products. Moreover, the human eye may not be able to quantify changes in appearance and associate them with quality attributes of agricultural products (such as maturity, shelf life, edibility, and / or marketability). The disclosed technology provides for automatically and accurately detecting different external and internal quality features in agricultural products from image data captured over time (e.g., time-lapse image data, such as time-lapse HSI). More particularly, HSI data can be used to identify and quantify internal quality changes that may not be easily visible to the human eye. Therefore, the disclosed technology provides a deeper analysis of the quality of agricultural products while also reducing potential human errors that may occur from visually observing and inspecting agricultural products.
[0027] As another example, the disclosed technology can be used to modify the shelf-life extension coating solution to reduce waste based on agricultural products and ensure that the agricultural products delivered to consumers are suitable for purchase and consumption. By analyzing the changes in maturity and other qualities of treated agricultural products (e.g., agricultural products coated with the solution) and untreated agricultural products (e.g., agricultural products not coated with the solution) over time, an analysis can be performed to determine improvements that can be made to the shelf-life coating solution. Such improvements can be implemented and applied before the agricultural products are delivered to consumers in a retail environment. Improving the shelf-life extension coating solution and / or applying the solution early in the supply chain can be beneficial to improving the maturity, shelf life, edibility and / or saleability of agricultural products when they reach consumers.
[0028] Similarly, shelf life extension factors determined using the disclosed technology can be beneficial for retailers to determine the return on investment (ROI) of their agricultural products. Retailers and other relevant stakeholders can use such factors to determine which agricultural products to order (e.g., treated or untreated), which agricultural products to place on shelves for customers, how to arrange agricultural products on shelves in a way that reduces agricultural waste (e.g., more mature agricultural products can be placed in front of less mature agricultural products), and / or how to price agricultural products (e.g., based on whether the agricultural products have been treated, the maturity of the agricultural products, other quality characteristics). Therefore, the disclosed technology can be used to monitor the quality of agricultural products and make modifications that improve or maintain the quality of agricultural products throughout the supply chain.
[0029] As described throughout, the disclosed technology can also generate more robust agricultural product quality assessments. Different algorithms, techniques, and machine learning models can be used to identify and score various quality characteristics associated with different types of agricultural products. Thus, the disclosed technology can be used to identify changes in quality characteristics over time that may otherwise be difficult for humans to observe and associate with quality characteristics of agricultural products.
[0030] The details of one or more embodiments are set forth in the accompanying drawings and the description below. Other features and advantages will be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A conceptual diagram for determining the shelf life of agricultural products using time-lapse image data.
[0032] Figure 2A is a conceptual diagram for training one or more models using machine learning techniques to identify quality characteristics of agricultural products.
[0033] Figure 2B is a conceptual diagram for training one or more models to determine the shelf life of agricultural products based on the changes in identified quality characteristics over time.
[0034] Figure 3A-3B is a flow chart of a process for determining the shelf life of agricultural products.
[0035] Figure 4 is a flow chart of a process for determining a color quality metric for an agricultural product.
[0036] Figure 5 is a flow chart of a process for determining statistically measured color values for agricultural products.
[0037] Figure 6 is a flow chart of a process for determining a volumetric quality metric for an agricultural product.
[0038] Fig. 7A is a flow chart of a process for determining a wrinkle quality metric for an agricultural product.
[0039] Figure 7B Describes the training and runtime application of a machine learning model that determines Fig. 7A Wrinkle quality measurement of agricultural products.
[0040] Figure 8 is a flow chart of a process for determining a quality characteristic metric for an agricultural product.
[0041] Fig. 9 is an example system diagram of components for determining the shelf life of produce using the techniques described herein.
[0042] Fig.10 is an example environment for capturing time-lapse image data of agricultural products.
[0043] Fig.11 Depicted are example time-lapse image data comparing treated and untreated produce.
[0044] Fig.12 is an example shelf life analysis of avocados using the disclosed techniques.
[0045] Fig.13 is used Figure 5 Example statistical measurements of avocado color determination by treatment.
[0046] Fig.14 Use Figure 3- Figure 5 Example color analysis of avocados over time.
[0047] Fig.15 is used Figure 6 Sample volume analysis of avocados processed over time.
[0048] Fig.16 is an example volume-based shelf life analysis of avocados using the disclosed techniques.
[0049] Fig.17 is an example shelf life analysis of limes using the disclosed techniques.
[0050] Fig.18 Depicted are example techniques for extracting apples or other agricultural products from image data.
[0051] Fig.19 is an example shelf life analysis of apples using the disclosed technology.
[0052] Fig. 20 is a flow chart of a process for determining what quality metric, machine learning model, and / or quality threshold to select for a certain agricultural product imaged over time.
[0053] Fig.21 is a flow chart for comparing the shelf life of treated produce to untreated produce to determine one or more modifications of a shelf life extension coating solution.
[0054] Fig. 22 is a block diagram of system components that may be used to implement a system for assessing the quality of one or more food products. DETAILED DESCRIPTION
[0055] The present disclosure is directed to systems, methods and computer programs for evaluating the quality of agricultural products based on time-lapse image data. Agricultural products can be any type of agricultural products, including but not limited to fruits and vegetables. The disclosed technology can also be used to evaluate the quality of other foods (such as meat and fish). The image data can be HSI captured at a constant predetermined time point of the same batch of agricultural products. The image data can also be image data at other times, including but not limited to video. The disclosed technology can be used to obtain image data of processed and unprocessed agricultural products, and determine the maturity, shelf life, edibility and / or marketability of agricultural products based on the evaluation of quality features identified in the image data. The maturity, shelf life, edibility and / or marketability of agricultural products can be identified as a duration score of agricultural products. The duration score can indicate how long the agricultural product has matured or will mature, how long the agricultural product can be eaten before reaching its shelf life and / or marketability, and other characteristics indicating the duration of the agricultural product that consumers may want, buy and / or consume. The duration score of the treated agricultural product can be compared with the duration score of the unprocessed agricultural product to determine whether any modifications should be made to the shelf life extension coating solution applied to the processed agricultural product. Such modifications may improve the coating solution, thereby improving the ripeness, shelf life, edibility, and / or marketability of produce treated with the coating solution.
[0056] With reference to the accompanying drawings, Figure 1 is a conceptual diagram of determining the shelf life of an agricultural product using time-lapse image data. Computer system 110, imaging device 104, and user device 112 can communicate (e.g., wired and / or wirelessly) via network(s) 114. Computer system 110 can be configured to evaluate the quality of the imaged agricultural product to determine the duration (e.g., shelf life, edibility, marketability, maturity) of the agricultural product, as described throughout this disclosure. Imaging device 104 can be placed in imaging environment 100. Imaging environment 100 can be located in a storage facility or other environment along a supply chain. As described in reference Fig.10 As further described, the imaging environment 100 may be a housing, such as a box, that can be moved around a storage facility (e.g., from one room to another). In some embodiments, the imaging environment 100 may be a room. Moreover, in some embodiments, the computer system 110 may be an edge computing device deployed in the imaging environment 100. The computer system 110 may then perform processing on the image data quickly and efficiently, thereby reducing congestion of network bandwidth and use of computing resources.
[0057] Imaging environment 100 may include imaging device 104 and at least one light source 106. Produce 102A-N may be placed within imaging environment 100 for a period of time while imaging device 104 captures images of produce 102A-N. Treated 108A produce and untreated 108B produce may be placed within imaging environment 100. A sample of a batch of treated 108A produce and a sample of a batch of untreated 108B produce may be selected. Thus, the sample of treated 108A produce may represent the entire batch of treated 108A produce, while the sample of untreated 108B produce may represent a batch of untreated 108B produce. Thus, computer system 110 may compare changes in quality in treated 108A produce and untreated 108B produce 102A-N to determine efficacy and potential modifications of a shelf life extension coating solution applied to treated 108A produce.
[0058] The imaging device 104 may be configured to capture image data (A) of the agricultural products 102A-N within a predetermined time period. As described herein, the image data may be HSI, thermal images, 2D images, and / or videos. The predetermined time period may vary depending on the type of agricultural products imaged in the imaging environment 100. For example, avocados may be imaged within 30 days, while apples may be imaged within 100 days. The amount of time that the agricultural products 102A-N are imaged may vary. The amount of time that the agricultural products 102A-N are imaged may be long enough to see the full range of changes in at least one feature of the agricultural products 102A-N. For example, avocados may be imaged until the volume of the avocados no longer changes (e.g., they no longer shrink). As another example, apples may be imaged until the color of all apples (e.g., treated and untreated) completely changes. Agricultural products 102A-N may also be imaged at a constant time difference and / or interval within a predetermined time period. For example, agricultural products 102A-N may be imaged every 12 hours, 24 hours, etc. within a 30-day period. Produce 102A-N may be imaged daily. The imaging frequency may also be adjusted based on the time of change of the characteristic(s) of interest in produce 102A-N. For example, if an apple variety changes color consistently and / or steadily over an average of 60 days, then the sampling rate may be reduced from a 1-day sampling rate. Conversely, apples may be sampled (e.g., imaged), for example, every 10 days. As another example, if an avocado changes color very quickly and over a period of several days (e.g., Fig.14), then a sampling rate of at least 1 day sampling rate may be used. In some embodiments, the sampling rate for avocados may be every few hours. Thus, agricultural products 102A-N may be imaged at a rate that may be determined based on the duration of the feature(s) being captured by the image divided by the number of data points required to clearly see a signal indicating the feature(s). In some embodiments, the number of data points may be 10. One or more ranges may also be used, including but not limited to between 5-15 data points. One or more other ranges may also be used. As described herein, agricultural products 102A-N may be avocados, citrus fruits, apples, other types of fruits, and / or other foods that may be processed, unprocessed, stored in a storage facility, and / or transported to consumers through a supply chain.
[0059] Imaging device 104 may transmit image data at time = t(B) to computer system 110. Imaging device 104 may transmit image data at predetermined time intervals over a period of time during which agricultural products 102A-N are imaged. For example, imaging device 104 may transmit image data in batches every 24 hours, every 48 hours, etc. over a period of 30 days. Imaging device 104 may also transmit image data in real time as it is captured. For example, if image data is captured at time = 1, then image data may be transmitted to computer system 110 at time = 1.
[0060] Computer system 110 may then apply one or more models and / or algorithms to the image data to determine a duration score metric (C) for produce 102A-N at time = t (e.g., the time at which produce 102A-N was imaged). The duration score metric may be a quality characteristic of produce 102A-N that changes over time and affects the maturity, shelf life, edibility, and / or marketability of produce 102A-N. The duration score that may be derived from the duration score metric using the techniques described herein may be any one or more of age, maturity, shelf life, marketability, quality, duration of shelf life, duration of marketability, and / or the number of days before produce 102A-N reaches the end of its shelf life or marketability.
[0061] By applying the model and / or algorithm to the image data of the produce at each time point at which the image data is captured, computer system 110 can quantify the change in quality of the treated 108A and untreated 108B produce 102A-N, thereby quantifying the effect of the change in quality on the duration (e.g., maturity, shelf life, edibility, marketability) of the produce 102A-N. Computer system 110 can also use the effect of the change in quality on the duration of produce 102A-N to determine the effect / efficacy of the shelf-life extension coating solution on the treated 108A produce compared to the untreated 108B produce.
[0062] As further described herein, the computer system 110 may select one or more models and / or algorithms to be applied in step C based on the type of agricultural product 102A-N being imaged. In some embodiments, the computer system 110 may analyze one quality feature of the agricultural product 102A-N, and therefore apply one model and / or algorithm. As an example, the computer system 110 may analyze the color metric of apples to determine the quality change and duration score of the apples. Therefore, the computer system 110 may select and apply a specific model and / or algorithm to evaluate the color metric of apples or a specific type of apples. In some embodiments, the computer system 110 may analyze more than one quality feature of the agricultural product 102A-N, and therefore may apply more than one model and / or algorithm. For example, the computer system 110 may analyze the color metric and volume metric of avocados to determine the quality change and duration score of avocados. Therefore, the computer system 110 may select and apply one or more models and / or algorithms to evaluate the color metric and volume metric of avocados. The computer system 110 may also analyze one or more other quality features, including but not limited to external and internal attributes of the agricultural product, such as rot, dryness, browning, wrinkling, and other quality features.
[0063] Computer system 110 may then determine a duration score(s) for produce 102A-N in the image data at time = t(D). Computer system 110 may determine a duration score for processed 108A produce and a duration score for unprocessed 108B produce. As described herein, the duration scores may be based on a quantitative assessment of the duration score metric determined in step C.
[0064] The computer system 110 may transmit the duration score(s) to the user device 112 (E). The user device 112 may then output the duration score(s) (F). In some embodiments, the duration score(s) may be output in the form of a histogram or other graphical depiction. For example, the histogram may provide a comparison of the change in quality (e.g., a duration score metric) of the processed 108A agricultural product and the unprocessed 108B agricultural product over a predetermined time period. The duration score determined in step D may be plotted at time = t for a predetermined time period. The histogram may also include a threshold value indicating when a particular type of agricultural product 102A-N is expected to meet the end of its duration (e.g., end of shelf life, marketability, edibility, and / or maturity). The threshold value may be determined based on an analysis of edible shelf life, marketing, and marketability information regarding the particular type of agricultural product 102A-N.
[0065] In some embodiments, the duration score(s) may be output in step F in a variety of other ways, including, but not limited to, numerical values. For example, the duration score(s) may be output as the number of days of shelf life remaining for the treated 108A agricultural product and the untreated 108B agricultural product. The duration score(s) may also be output as the total number of days of shelf life for the treated 108A agricultural product and the untreated 108B agricultural product. In some embodiments, the duration score(s) may also be output as a shelf life extension factor, which is a comparison of the shelf life of the treated 108A agricultural product to the untreated 108B agricultural product. Thus, the shelf life extension factor may indicate how much the shelf life of the treated 108A agricultural product has been extended compared to the untreated 108B agricultural product since the treated 108A agricultural product was coated with the shelf life extension coating solution.
[0066] Optionally, a shelf-life extension coating solution modification (G) may be determined. Such modifications may be automatically determined by the computer system 110, then transmitted to the user device 112 and output at the user device 112. In some embodiments, the modification may be determined by a relevant stakeholder at the user device 112. When such modifications are determined, the modifications may be implemented automatically, semi-automatically, and / or manually. For example, the modification may include coating the untreated agricultural products in the subsequent batches with the same amount of shelf-life extension coating solution as coated on the imaged processed 108A agricultural products. Another modification may include adjusting the concentration of the shelf-life extension coating solution or otherwise modifying one or more characteristics / components of the solution. Another example modification may include applying different amounts of solution to the agricultural products in the subsequent batches. Yet another example modification may include applying the solution at one or more different time periods during the ripening process of the agricultural products in the subsequent batches. One or more other modifications may be determined and applied to improve the shelf-life extension coating solution and / or improve the duration score of the subsequent batches of agricultural products (thereby extending the maturity, shelf life, edibility, and / or marketability of the agricultural products).
[0067] The user device 112 may be a mobile device, smart phone, tablet, laptop or other computer that may be used by relevant stakeholders in the supply chain. The stakeholders may view the duration scoring metrics and duration scores for each of the processed 108A agricultural products and the unprocessed 108B agricultural products over a predetermined time period. Thus, the stakeholders may more accurately assess the effectiveness of the shelf life extension coating solution applied to the processed 108A agricultural products and determine possible modifications in the supply chain to improve the duration scores of subsequent batches of agricultural products. Thus, the output metrics and / or scores may be used by stakeholders to monitor changes in the quality of the agricultural products 102A-N over time and optionally make one or more modifications in the supply chain.
[0068] Figure 2AIt is a conceptual diagram for training one or more models using machine learning techniques to identify the quality characteristics of agricultural products. Models can be generated for different agricultural products, different types of agricultural products, and different features associated with different agricultural products. For example, a model can be generated and trained to identify the color metric of an avocado. Another model can be generated and trained to identify the color metric of an apple or a specific type of apple (such as a Granny Smith apple). Another model can also be generated and trained to identify the color metric of different types of agricultural products (e.g., all citrus fruits). Another example model can also be generated and trained to identify the color metric of any agricultural product (regardless of the type). One or more other models can be trained to identify other features of agricultural products, including but not limited to volume, hardness, wrinkles, rot, dryness, sugar content, brix, and other internal and external features of agricultural products. In some embodiments, one or more algorithms can be developed to replace or supplement the model to identify and quantify the quality characteristics of agricultural products that change over time, thereby affecting the duration of agricultural products (e.g., shelf life, edibility, marketability, and / or maturity).
[0069] Training and model generation may be performed by computer system 110. In some implementations, training and model generation may be performed by one or more other computing systems, devices, cloud-based services, and / or networks of computers and / or devices.
[0070] Computer system 110 may receive produce training data 200(A). Produce training data 200 may optionally include one or more types of data. For example, produce training data 200 may include produce image data 202, produce spectral data 204, and / or destructive measurement data 206. Thus, produce training data 200 may include histograms, RGB color models, hyperspectral data, multispectral data, and the like depicting a particular produce, a type of produce, different produce, different types of produce, a single produce, and / or a batch of produce. Produce training data 200 may include images of a particular produce having a particular feature to be modeled, such as color, and images of the same type of produce that do not have the particular feature to be modeled. Produce training data 200 may also include images of a particular produce that has been treated with a shelf life extension coating solution, and images of the same type of produce that has not been treated with the solution. In some embodiments, produce training data 200 may include images of the exterior of an produce and / or the interior of an produce. Produce training data 200 may also include images of a particular produce at different stages of maturity and between stages of maturity.
[0071] The agricultural product training data 200 can be a robust set of training data that indicates a plurality of different features that can exist in one or more types of agricultural products throughout the life cycle of the agricultural product. The destructive measurement data 206 can include measurements of different quality features of the agricultural product. For example, the hardness of the agricultural product can be measured using a penetrometer and / or a hardness meter. The measurements captured by the penetrometer and / or the hardness meter can be associated with the agricultural product image data 202 and / or the agricultural product spectral data 204 to quantify the quality features and quality changes in the agricultural product.
[0072] The produce training data 200 may be retrieved from one or more databases or data repositories. In some implementations, the produce training data 200 may also be received from an imaging device.
[0073] The computer system 110 can identify features of the agricultural product from the image data (B). The computer system 110 can identify features that indicate the quality of the agricultural product. For example, the computer system 110 can identify the color, rot, mold, different types of textures, bruises, etc. of the agricultural product. The identified features can also be marked. The computer system 110 can identify such features at one or more different time points throughout the life cycle and / or shelf life of the agricultural product. For example, the agricultural product training data 200 may include images of the agricultural product at constant time intervals throughout the life cycle of the agricultural product. The computer system 110 can then identify one or more features that indicate the quality of the agricultural product at each time interval.
[0074] The computer system 110 can then generate a machine learning model (C) for the identified features. The model can be generated using machine learning techniques, including but not limited to convolutional neural networks (CNNs). The model can be generated and trained using one or more other machine learning techniques. The computer system 110 can generate a model for each identified and labeled feature. Thus, each model can be trained during runtime use to recognize specific features from image data of the same type of agricultural product. In some embodiments, the computer system 110 can generate a model to recognize one or more features associated with a specific type of agricultural product. Thus, each model can be trained to recognize one or more features (e.g., color, volume, wrinkles, other quality features) from image data of a specific type of agricultural product (such as avocados).
[0075] The generated models may then be output (D) by the computer system 110. Outputting the models may include storing the models in a database, a data repository, and / or a cloud storage device. Outputting the models may also include maintaining the models in a local memory and / or storage device so that they may be easily and quickly retrieved and applied during runtime. Thus, during runtime, one or more models may be selected and applied to the image data based on the type of agricultural product being imaged within a predetermined time period. One or more models may also be selected based on one or more features of interest (e.g., quality features) described throughout the present disclosure, including but not limited to color, volume, wrinkles, internal decay, etc.
[0076] Figure 2B is a conceptual diagram for training one or more models to determine the shelf life of agricultural products based on the changes in identified quality characteristics over time. For example, one or more models can be trained to analyze the quality of agricultural products by applying Figure 2A The training and model generation may be performed by computer system 110. In some embodiments, the training and model generation may be performed by one or more other computing systems, devices, cloud-based services, and / or networks of computers and / or devices.
[0077] Computer system 110 may receive agricultural product training data 200 (A). Agricultural product training data 200 may optionally include agricultural product image data 202, agricultural product spectral data 204, and destructive measurement data 206 (e.g., reference Figure 2A ). The agricultural product training data 200 may include (one or more) agricultural product feature model outputs 208. Thus, the computer system 110 may train one or more models to generate agricultural product feature models based on (one or more) agricultural product feature model outputs 208 (e.g., reference Figure 2A )Identify the quality changes of specific agricultural products over time and the corresponding duration scores.
[0078] Thus, the computer system 110 can identify a duration score based on the (one or more) produce feature model outputs 208 (B). The computer system 110 can provide duration scores for processed and unprocessed produce for different types of produce. The computer system 110 can associate changes in quality characteristics over different time periods with different stages and / or duration levels (e.g., maturity, shelf life, marketability, edibility) to identify a duration score for a particular produce. The computer system 110 can also train one or more models to determine a shelf life extension factor based on the duration score in step C. As described herein, the duration score can indicate how much the shelf life of the produce is extended, how long the total shelf life of the produce is, and the like.
[0079] The computer system 110 can then output the generated and trained model (D) for the identified duration score. Outputting the model can include storing the model in a database, a data repository, and / or a cloud storage device. Outputting the model can also include maintaining the model in a local memory and / or storage device so that they can be easily and quickly retrieved and applied during runtime. Thus, during runtime, one or more models can be selected and applied to the image data based on the type of agricultural product being imaged within a predetermined time period.
[0080] Figure 3A-3B 1 is a flow chart of a process 300 for determining the shelf life of an agricultural product. Process 300 may be performed by computer system 110. Process 300 may also be performed by one or more other computers, computer systems, devices, cloud-based services, and / or networks of computers and / or devices. For example, process 300 may be performed by an edge computing device. For purposes of illustration, process 300 is described from the perspective of a computer system.
[0081] refer to Figure 3A-3BIn the process 300 in the above, the computer system can receive image data of the agricultural product at time = t in 302. Time = t can be a constant time interval over the entire time period of capturing the time-lapse image data of the agricultural product. In some embodiments, citrus fruits can be imaged for a time period of 70 to 90 days. Avocados and similar agricultural products can be imaged for a time period of 30 days. Apples can be imaged for a time period of 80 to 100 days. As previously described, one or more other time periods can also be used to image the agricultural product based on the type of agricultural product and / or the specific features of interest to the agricultural product. For example, agricultural products can be imaged for a time period of 30 days. During these 30 days, image data of agricultural products can be captured every 24 hours. Therefore, time = t can be 0 hours, 24 hours, 48 hours, 72 hours, etc. Time = t can also be any other time interval during which image data of agricultural products can be captured during the time period (e.g., 5 times a day over the entire time period, 7 times a day over the entire time period, etc.).
[0082] When process 300 begins for produce that is being imaged for the first time, time=t can be 0 hours, or the time when the produce is first imaged. As described herein, process 300 can be repeated for each time=t at which produce image data is captured until the time period for which the produce is imaged (e.g., 30 days for certain types of produce, such as avocados) is complete. The produce must not be removed from the imaging environment throughout the entire time period for which the produce is being imaged. When capturing image data at each time=t, the lighting, camera conditions, and placement of the produce remain constant. This can be advantageous for ensuring that the produce is similarly imaged at each time interval to provide a more accurate comparison and analysis of quality changes over time.
[0083] The image data may be any type of image data described herein, including but not limited to 2D images, thermal images, hyperspectral images, and / or video feeds. Hyperspectral images may be useful for identifying and quantifying quality characteristics of agricultural products that may not be easily seen by human eye observation. For example, hyperspectral images may be useful for identifying and quantifying internal and external bruises, internal and external infections, rot, dry matter, and pH. RGB images (e.g., 2D images) may, for example, be useful for identifying and quantifying features such as color, volume, and wrinkles.
[0084] Treated and untreated agricultural products of the same type may be captured in the image data. The treated agricultural products may be coated with a shelf-life extension coating solution, as described herein. Using the disclosed techniques, the quality changes identified and quantified in the treated agricultural products may be compared with the quality changes identified and quantified in the untreated agricultural products. Such comparison may be useful for analyzing and / or modifying the shelf-life extension coating solution so that the shelf life (e.g., maturity, shelf life, edibility, marketability) of the treated agricultural products may be extended. Such comparison may also be useful for benchmarking the performance of the shelf-life extension coating solution and objectively comparing the shelf-life extension coating solution to other solutions.
[0085] In 304, the computer system may perform object detection techniques to identify a bounding box for each agricultural product in the image data. An object detection algorithm and / or a machine learning trained model may be applied to the image data to identify objects in the image data indicating agricultural products. A bounding box may be formed around each identified object. In some embodiments, the computer system may not be able to identify the agricultural product category or type of agricultural product in the image data. Instead, the object detection algorithm and / or the machine learning trained model may detect any object in the image data as an agricultural product. In yet other embodiments, the computer system may identify the agricultural product or the type of agricultural product when identifying the bounding box for each agricultural product in the image data.
[0086] In 306, the computer system may also determine a grid structure based on the bounding boxes. Determining the grid structure may include assigning an identifier to each bounding box in the image data. The identifier may be used to identify each agricultural product in the image data and associate the quality changes found in each bounding box with the corresponding agricultural product. For example, the first bounding box may be the first cell in the grid structure, to which an identification value of 0 may be assigned. As another example, the second bounding box may be the second cell in the grid structure, to which a value of 1 may be assigned. The agricultural product in the first bounding box may be identified via grid index 0, and the agricultural product in the second bounding box may be identified via grid index 1. In some embodiments, a coordinate system may be used to mark or index the location of each agricultural product in the image data. Numerical values may be used to represent the location of the agricultural product in the image data. For example, a bounding box for an agricultural product may have four numerical values, such as (xmin, xmax, ymin, ymax) or (x, y, width, height). Subsequent processing steps may use the numerical values representing the location of the agricultural product to determine the outer boundaries of each agricultural product and a specific duration scoring metric (e.g., a quality attribute) of the agricultural product.
[0087] Then, in 308, the computer system can select a bounding box for the agricultural product. After all, the computer system can identify the mass change of each agricultural product in the image data at time=t. The computer system can determine the overall mass change of the agricultural product based on summarizing the mass change of each individual agricultural product. More specifically, the computer system can determine the overall mass change of the treated agricultural product and the overall mass change of the untreated agricultural product. These overall mass changes can then be compared to analyze the effect of the shelf-life extension coating solution on the duration of the agricultural product (e.g., shelf life, the length of time that the agricultural product remains fresh, ripe, or otherwise suitable for human consumption).
[0088] Next, the computer system can extract the agricultural product from the background in the bounding box (310). In some embodiments, the computer system can implement techniques, algorithms, and / or models to identify channels that can separate the foreground from the background by a threshold to obtain a mask. The mask can then be applied to the full image (e.g., a 3-channel image) to extract the foreground representing the agricultural product. As an illustrative example, each channel can include a [0-255] value for each x,y position in a grid structure. For example, the blue channel can separate avocados from the background well because there is not much blue in the avocado, but the background does. Therefore, in the blue channel, the avocado pixels can obtain low values closer to 0, while the background can obtain higher values, such as 150 and other values closer to 255. As an illustrative example, a threshold can be identified around 80, which can be applied to create a binary mask of all pixels in the image with a value less than 80. The mask can be applied to the entire image to cut out the RGB pixels on the avocado.
[0089] In some embodiments, a computer system can implement techniques, algorithms, and / or models to optionally map all RGB values in a bounding box into a 3D space or other color space, identify clusters of RGB values, select one or more clusters that indicate agricultural products, and then extract the selected one or more clusters from the image data. For example, a computer system can train a clustering model to predict the number of clusters for each data point in 3D space. Depending on the clustering technique used, clustering can be based on spheres in 3D space (e.g., k-means clustering) and / or more complex multi-dimensional Gaussians (e.g., Gaussian mixture models).
[0090] At 312, the computer system may apply one or more machine learning trained models to the extracted agricultural product. The computer system may select one or more models to apply to quantify quality changes in the agricultural product. The computer system may select a model based on the type of agricultural product being imaged. Fig. 20Further discussion. In some embodiments, in addition to or in place of the machine learning model, the computer system may select one or more algorithms to apply to evaluate and quantify changes in the quality of the agricultural product. The computer system may also identify one or more threshold levels for a particular type of agricultural product that indicate a duration (e.g., the end of shelf life, the end of marketability, etc.), as described above. Once the model, algorithm, and / or threshold are selected, they may be applied to the agricultural product extracted in the bounding box in the image data in box 312. In some embodiments, the model, algorithm, and / or threshold may be selected once when the agricultural product is first imaged (e.g., at time = 0 hours or time = 1 hour). The same model, algorithm, and / or threshold may then be applied to each subsequent image data of the agricultural product captured during the time period in which the agricultural product is imaged. Moreover, the same model, algorithm, and / or threshold may be applied to processed and unprocessed agricultural products in the image data.
[0091] The computer system may determine a duration score metric for the extracted agricultural product at time = t (314). The duration score metric may be determined based on applying a model and / or algorithm to a particular agricultural product. The duration score metric may be determined based on an analysis of pixels in image data representing the extracted agricultural product. As further described below, the duration score metric may be various quality attributes that change over time. Thus, the duration score metric may include changes in hardness, color, volume, decay, dryness, wrinkles, and other external and internal quality characteristics. Changes in color may illustrate the quality of the agricultural product and, for example, when the color of the agricultural product reaches a color that prevents consumers from purchasing the agricultural product (e.g., when a lime turns yellow, consumers are less likely to purchase it). As another example, when the agricultural product shrinks over time (e.g., the volume of the agricultural product decreases), the agricultural product is decaying and therefore becomes less attractive for consumers to purchase and consume. These are example duration score metrics that can be quantified using the techniques described herein.
[0092] In some embodiments, the computer system may determine one duration scoring metric, such as color. In yet other embodiments, the computer system may determine multiple duration scoring metrics, such as color and volume. The number of duration scoring metrics determined may depend on the type of produce captured in the image data. For further discussion of determining duration scoring metrics, see Figure 4 , Figure 6 , Figure 7A-7B and Figure 8 .
[0093] Then, in 316, the computer system can store the duration score metrics for the agricultural product using the grid index of the agricultural product. The computer system can later retrieve the duration score metrics to analyze changes in the duration score metrics for a particular agricultural product over a period of time. For example, the computer system can retrieve the duration score metrics for treated and untreated avocados over a 30-day period, where the same batch of treated and untreated avocados were imaged. The computer system can plot the duration score metrics for the treated and untreated avocados in a graph, histogram, or similar graphical depiction. The computer system can then compare the plotted duration score metrics to identify how the duration of the treated agricultural product has changed or improved compared to the untreated agricultural product (e.g., with reference to FIG. 1 ). Fig.12 and Fig.14 ).
[0094] Optionally, the computer system can output a duration score metric for the agricultural product (320). The computer system can transmit the duration score metric to a user device (e.g., referring to Figure 1 and Fig.10 ) for presentation in GUI form on a display screen of a user device. In some implementations, the computer system may be the same as the user device, and the computer system may output the duration scoring metric only at the display screen of the computer system.
[0095] As described throughout this disclosure, the duration scoring metric may be output in the form of a graph, a histogram, or other similar graphical depiction (e.g., see Fig.12 , Figure 14-18 Outputting the duration score metric can be useful for visually representing the change in quality of treated and untreated produce over time over a period of time in which the same type of produce is imaged. Such a visual representation can advantageously depict how the duration of the treated produce is extended compared to the duration of the untreated produce.
[0096] In some embodiments, outputting the duration score metric may also include determining and outputting an extension factor. The extension factor may be a multiplier factor indicating how much the duration of the treated produce is extended compared to the untreated produce. In other words, the extension factor may be an average of the shelf life ratios (e.g., duration score metrics) of the treated produce to the untreated produce in a statistically representative set of produce (e.g., reference Figure 16-17 , Fig.19 ).
[0097] In still other embodiments, outputting the duration score metric may include determining an overall duration score for the treated agricultural product and an overall duration score for the untreated agricultural product. The overall duration score may then be output and presented to relevant stakeholders and used to analyze how the shelf-life extension coating solution improves the duration of the treated agricultural product. For example, the overall duration score may be used to determine how much the shelf life of each individual duration metric is extended. As an illustrative example, a relevant stakeholder may determine that the shelf-life extension coating solution performs well in terms of color retention, but in terms of volume retention, the shelf-life extension coating solution may be improved to retain volume longer in the treated agricultural product.
[0098] Optionally, the computer system can also determine a modification to the shelf-life extension coating solution of the produce based on the duration score metric (322). When the time period for imaging the produce is complete, the computer system can determine whether the shelf-life extension coating solution applied to the treated produce in the image data can or should be modified. For example, block 322 can be performed when time=t is the last day and / or last hour of the time period (e.g., day 30 of 30 days for imaging the produce).
[0099] In some embodiments, block 322 may be performed over the entire period of time that the produce is imaged, such as at predetermined time intervals. For example, if the produce is imaged for more than 30 days, then every 5 days the computer system may determine whether the coating solution should be modified.
[0100] When the modification is determined in box 322, the modification can be implemented (e.g., manually implemented by relevant stakeholders in the supply chain and / or semi-autonomously implemented by a computer system or another computer system). When the modification is determined, the modification can be implemented in real time. The modification can also be implemented later. Implementing the modification can include changing the composition of the shelf-life extension coating solution. Implementing the modification can also include applying different concentrations of coating solutions to subsequent agricultural product batches of the same and / or different types as the imaged agricultural product. Coating solution modifications can be implemented for agricultural product batches that have not yet been imaged. For example, the modified coating solution can be applied to agricultural products shipped out of a storage facility and transported to final consumers in a retail environment. Applying the modified coating solution to agricultural products can be beneficial to improving the duration (e.g., maturity, shelf life, edibility, marketability) of the agricultural products. The improved duration can increase consumer satisfaction, benefit the retail environment and lead to reduced agricultural product waste. Modifying the shelf-life extension coating solution can be beneficial to optimizing the duration (e.g., shelf life, length of time that the agricultural product remains fresh, matures, or otherwise expects human consumption). Furthermore, the improved duration scores and shelf life extension rates may support the claim that the shelf life extension coating solution does improve the duration of the produce.
[0101] Still referring to process 300, the computer system can determine whether there are more produce in the image data at time = t (324). If there are more produce in the image data, the computer system can return to block 308 and repeat blocks 308-322 for any remaining produce in the image data. Thus, the computer system can determine a duration score metric for each produce in the image data. The computer system can also determine an overall duration score metric for the processed produce and an overall duration score metric for the unprocessed produce in the image data at time = t. If there are no more produce in the image data, the computer system can return to block 302 and repeat blocks 302-322 for all remaining time periods (e.g., t = 24 hours, 48 hours, 72 hours, etc.) in the time period (e.g., 30 days, 35 days, 40 days, 45 days, 50 days, etc.) in which the produce was imaged. Thus, the computer system can repeat process 300 until the produce is imaged within the time period.
[0102] Figure 4 4 is a flow chart of a process 400 for determining a color quality metric for an agricultural product. The process 400 may be performed as Figure 3A-3BThe process 400 may be performed as part of determining the duration score metric for the extracted agricultural product in block 314 of process 300. In other words, the duration score metric for a particular agricultural product may be a color quality metric that is determined using process 400. Process 400 may be performed by computer system 110. Process 400 may also be performed by one or more other computers, computer systems, devices, cloud-based services, and / or networks of computers and / or devices. For example, process 400 may be performed by an edge computing device. For illustrative purposes, process 400 is described from the perspective of a computer system.
[0103] Referring to process 400, a computer system may identify color values of all pixels in the extracted agricultural product at time = t (402). The computer system may identify the color value of each pixel of the extracted agricultural product. In some implementations, the computer system may determine an average color value of all pixels representing the extracted agricultural product.
[0104] The computer system may calculate a distance between each color value of the agricultural product in the image data and a statistically measured (e.g., mean, mode, median, or some other quantile of a distribution) color value at t=1 (404). The distance may be calculated as a Euclidean distance. The computer system may compare the color values pixel by pixel by comparing the color value of each pixel to the statistically measured color value. In some implementations, the computer system may compare the average color value of all pixels to the statistically measured color value at t=1.
[0105] In some embodiments, the statistically measured color value can represent the average color of the agricultural product when the agricultural product is first imaged (ie, t=1). For further discussion of the statistically measured color value of the agricultural product, see Figure 5 By calculating the distance between each color value of the produce and the statistically measured color value, the computer system can determine how much the color of the produce has changed at each time = t since t = 1 (when the produce was first imaged). As described herein, changes in color over time can indicate the duration of the produce.
[0106] The computer system may then determine whether the distance between each color value and the statistically measured color value exceeds a threshold range (406). The threshold range may be determined based on each agricultural product category. An analysis may be performed to determine an edible and / or marketable color range for a particular agricultural product. A smaller distance may indicate a smaller color change from t=1 (when the agricultural product was first imaged) to time=t (regardless of the time interval in which the image data was captured). A smaller color change may indicate a longer duration (e.g., a longer shelf life, edibility, marketability). A larger distance may indicate a larger color change from t=1 to time=t. A larger color change may indicate a shorter duration (e.g., a shorter shelf life, edibility, marketability). Therefore, a larger color change may indicate that the agricultural product is about to reach the end of its duration (e.g., the agricultural product is aging and is therefore about to reach the end of its shelf life). When using color distance, a threshold range may be set based on the distance between the initial statistically measured color value and a threshold color (where the threshold color may be determined based on an analysis of the agricultural product category). For example, for granny smith apples (e.g., Fig.19 ), the end of shelf life can be identified as the time when the apple turns yellow. This information can be used to calculate the distance between the green color of the apple on the first day and the yellow color that determines the end of the apple's shelf life. This calculated distance can be used as a threshold range for the color distance described in this article.
[0107] In some embodiments, in addition to determining whether the distance between each color value and the statistically measured color value exceeds a threshold range, or instead of determining whether the distance between each color value and the statistically measured color value exceeds a threshold range, the computer system may also output the distance in the form of a graphical depiction (e.g., as Figure 15-19 The computer system can then determine the change in color value over time at each different time = t during the time period. In some embodiments, the user can analyze the graphical depiction and determine the change in color value over time. By visually depicting the change in color value over time, the user can easily compare the duration of the treated produce to the untreated produce.
[0108] If the distance between each color value and the statistically measured color value exceeds a threshold range in 406, the computer system can identify the end of the shelf life and / or marketability of the extracted produce in 408. In other words, the distance may be so great that a consumer no longer desires to purchase and / or consume the produce. In some embodiments, the computer system may not make this determination until the produce is imaged for the entire time period (e.g., all 30 days of an avocado). The computer system can then make this determination by comparing the distances determined at each time=t during the time period and output in a graphical depiction.
[0109] In some implementations, the computer system can use absolute color as a metric instead of the color distance described above. The computer system can then monitor how the color of the produce moves in the 3D color space to determine if the color has entered the unsaleable domain.
[0110] The computer system can also output the color values of the extracted agricultural product over time at 410. As mentioned above, the computer system can output the color values and / or the distance between each color value and the statistical measured color value in a graphical depiction (such as a line graph and / or a histogram). The user may prefer a graphical depiction to easily identify and quantify the difference in duration of the treated and untreated agricultural products.
[0111] Referring back to 406, if the distance does not exceed the threshold range, the computer system can store the color value of the extracted produce at time = t (412). In other words, the computer system can determine that the color of the produce has not deviated significantly from the original color of the produce at t = 1 to identify that the produce has reached the end of its duration. Optionally, and as described above, the computer system can also output the color value and / or distance in a graphical depiction. The graphical depiction can demonstrate the color change of the treated and untreated produce over time. The computer system can then return to Figure 3A-3B Block 302 of process 300 of . Process 400 may be repeated to determine the color change over time for each agricultural product in the image data at time=t. As mentioned above, in some embodiments, process 400 may be performed to determine the average color change over time for the treated agricultural product in the image data at time=t and the average color change over time for the untreated agricultural product in the image data at time=t.
[0112] Moreover, in some implementations, one or more machine learning models can be used to perform process 400. In yet other implementations, process 400 can be performed using one or more algorithms or other computer processes and / or techniques.
[0113] Figure 5is a flow chart of a process 500 for determining a statistically measured color value (such as an average color value) for an agricultural product. As described above, process 500 can be performed once when the agricultural product is first imaged (e.g., at t=1, which can be the first day of 30 days of imaging). The first time, t=1, can represent the beginning of the duration of the agricultural product, such as the beginning of its maturity, shelf life, edibility, and / or marketability. The first time, t=1, can also represent any other time in the life cycle of the agricultural product when it is first imaged using the techniques described herein. The statistically measured color value can be used to compare the degree of deviation of the color of the agricultural product from t=1 at each time interval during which the agricultural product is imaged over the entire duration of the agricultural product (e.g., a time period).
[0114] Processing 500 can be done as Figure 4 4. Process 500 may be performed by computer system 110. Process 500 may also be performed by one or more other computers, computer systems, devices, cloud-based services, and / or networks of computers and / or devices. For example, process 500 may be performed by an edge computing device. For illustrative purposes, process 500 is described from the perspective of a computer system.
[0115] Referring to process 500, a computer system may identify color values of all pixels of the agricultural product in all bounding boxes of the image data at t=1 (502). For example, when the agricultural product is first imaged, the computer system may apply one or more models and / or algorithms to the image data to extract pixels that identify the agricultural product. The computer system may identify color values of pixels of the processed and unprocessed agricultural products in the image data. Thus, subsequent color changes of the processed and unprocessed agricultural products may be compared to the same statistically measured color values.
[0116] The computer system may then calculate the statistical measured color values of all agricultural products in the image data at t=1 (504). The computer system may average all the identified color values from block 502. In some embodiments, the computer system may also find the average of all the identified color values from block 502. In some embodiments, the computer system may separately calculate the mean, median, quantile, or other metric for each agricultural product. The computer system may then track the distance of the metric for each agricultural product from the statistical measured color value of the agricultural product at t=1. In yet another embodiment, the computer system may calculate the median of the pixel-by-pixel distances between each agricultural product and its own pixel-by-pixel color at t=1 at each time t. Thus, rather than averaging the colors of the pixels and then calculating the distances between the averaged values, the computer system may calculate the distance of each pixel relative to the value of the pixel at t=1, which may provide a matrix of distances that may then be reduced to a single number by taking the mean, median, or other quantile metric. One or more other mathematical processes may be used to determine the statistical measured color values of the processed and unprocessed agricultural products.
[0117] At 506, the computer system can output the statistically measured color value. As described above, the statistically measured color value is then used in process 400 to compare the color change of the produce over time to the statistically measured color value. The degree to which the color of the treated and untreated produce deviates from the statistically measured color value over time can determine the duration score of the treated and untreated produce, respectively, such as how much of the shelf life of the treated and / or untreated produce remains. For further discussion of determining the statistically measured color value, refer to Fig.13 .
[0118] Figure 6 is a flow chart of a process 600 for determining a volumetric quality metric of an agricultural product. The process 600 may be used as a method for determining Figure 3A-3B 6. The duration score metric determined using process 600 may be performed as part of the duration score metric of the produce extracted in block 314 of process 300. For example, the duration score metric determined using process 600 may be a change in volume of the produce (e.g., % shrinkage of the produce over time). In some embodiments, when the produce is first imaged (e.g., on day 1), process 600 may be performed to identify the volume of the produce at t=1. Using process 600, the computer system may then determine the volume of the produce for each imaging time interval and then compare the determined volume to the volume of the produce at t=1. The computer system may also output the change in volume over time, such as in the form of a line graph, histogram, or other graphical depiction, as described throughout this disclosure.
[0119] Processing 600 can be performed to identify the volume change of each agricultural product in the image data. Processing 600 can also be performed to identify the average volume change of the treated agricultural products and the average volume change of the untreated agricultural products. As described throughout the text, the average volume change of the treated agricultural products can be compared with the average volume change of the untreated agricultural products to quantify how the application of the shelf-life extension coating solution to the treated agricultural products affects (e.g., improves) the duration of the treated agricultural products. The shelf-life extension coating solution can retain a certain amount of water and prevent oxygen from penetrating into the agricultural products. Therefore, the shelf-life extension coating solution can prevent oxidation and water loss, which means that the speed at which the agricultural products shrink (e.g., decrease in volume) is slower than that of untreated agricultural products. Determining the volume change can be an important and useful factor in identifying the duration (e.g., shelf life) of agricultural products. For some types of agricultural products, such as citrus fruits (e.g., lemons and limes) and agricultural products such as avocados, volume can be a good indicator of their duration.
[0120] Process 600 may be performed by computer system 110. Process 600 may also be performed by one or more other computers, computer systems, devices, cloud-based services, and / or networks of computers and / or devices. For example, process 600 may be performed by an edge computing device. For illustrative purposes, process 600 is described from the perspective of a computer system.
[0121] Referring to process 600, the computer system can determine the area of the extracted agricultural product at time=t (602). The area can be determined based on counting the number of pixels in the extracted agricultural product. For example, the computer system can apply an algorithm to count the number of pixels extracted for a particular agricultural product once the agricultural product is extracted from the background of the image data in process 300.
[0122] Optionally, the computer system may determine the radius of the extracted agricultural product based on the area (604). The computer system may model the shape of the agricultural product in order to accurately calculate the volume of the agricultural product. For example, for a straight cucumber, the cucumber may be fitted to an ellipse in 2D space and the volume of the ellipsoid may be calculated. Alternatively, the cucumber may be modeled as a rectangle in 2D space and the volume of the cuboid may be calculated. In some example embodiments, the formula area = πr 2Find the radius. This formula can be used for spherical produce or other produce that can be approximated as a sphere, such as citrus fruits, apples, and some avocados. The computer system can then use the formula and solve for the radius. The computer system can determine the volume of the extracted produce at time = t (606). For example, once the computer system optionally identifies the radius in 604, the computer system can determine the volume of the extracted produce at time = t (606). As mentioned above, the computer system can use the volume formula for a sphere. The computer system can use the formula V = 4 / 3πr 3 The computer system may use spherical area and volume formulas for relatively round produce, such as avocados, apples, limes, lemons, and other similar produce. One or more other area and volume formulas may be selected and used depending on the relative shape of the produce.
[0123] The computer system may compare the volume at time = t with the volume of the produce at t = 1 (607). As mentioned above, at t = 1, when the produce is first imaged, the volume of the produce may be at 100% of its original volume. Over time, the produce shrinks. As an example, on the second day of imaging, the volume of the produce may be at 98% of its original volume. On the fourth day of imaging, the volume of the produce may be at 90% of its original volume, and so on. Thus, the computer system may analyze and / or determine the relative volume of the produce relative to the starting volume during the time period that the produce was imaged. In some embodiments, comparing the volume at time = t with the volume of the produce at t = 1 may include outputting the volume of each time period that the produce was imaged in a graphical depiction (such as a line graph) (e.g., reference to FIG. 1 ). Fig.12 , Fig.15 ). Comparing the volume at time = t to the volume of the produce at t = 1 can also include outputting the percentage change in volume of the produce during each time period in the form of a graphical depiction, such as a line graph.
[0124] At 608, the computer system can determine whether the change in volume exceeds a threshold range. In other words, the computer system can determine whether the produce has shrunk by a predetermined amount that indicates the produce is approaching or has reached the end of its duration (e.g., maturity, shelf life, edibility, and / or marketability). Moreover, the computer system can make such a determination for treated produce and untreated produce. Thus, the computer system and / or relevant stakeholders can compare the effects of the shelf life extension coating solution on increasing the duration of the produce.
[0125] At 610, if the volume change exceeds a threshold range, the computer system can identify the end of the shelf life and / or marketability of the extracted agricultural product. As mentioned above, the computer system can determine that the agricultural product has reached or is about to reach the end of its duration. After all, the volume / size of the agricultural product has shrunk or shrunk so much that consumers are no longer willing to buy and / or consume it.
[0126] At 612, the computer system may also output the change in volume of the extracted produce over time. As mentioned above, the computer system may output the percentage change in volume since t=1 in the form of a graphical depiction (e.g., a line graph). For further discussion, refer to Fig.12 and Fig.15 .
[0127] At 608, if the volume change does not exceed the threshold range, the computer system can store the volume of the extracted produce at time=t (614). The stored volume change can later be retrieved, compared, and / or analyzed for volume changes of the same type of treated and untreated produce over different time periods. The computer system can also output the volume changes of the treated and untreated produce in a graphical depiction to provide a visual comparison of the effect of treating the produce with the shelf-life extension coating solution. The computer system can then return to block 302 in process 300.
[0128] In some implementations, one or more machine learning models can be used to perform process 600. In yet other implementations, process 600 can be performed using one or more algorithms or other computer processes and / or techniques.
[0129] Fig. 7A 700 is a flow chart of a process 700 for determining a wrinkle quality metric for an agricultural product. The process 700 may be performed as Figure 3A-3BThe computer system may determine the duration score metric for the extracted agricultural product in block 314 of process 300. Thus, the computer system may determine the duration of the agricultural product based on whether the agricultural product exhibits wrinkles and / or the degree of wrinkles of the agricultural product. The more wrinkled the agricultural product is, the closer the agricultural product is to the end of its duration (e.g., the end of maturity, shelf life, edibility, marketability). As described throughout this disclosure, the computer system may determine the degree of wrinkles for each agricultural product (including treated agricultural products and untreated agricultural products). In some embodiments, the computer system may determine an average wrinkle indication for all imaged treated agricultural products and an average wrinkle indication for all imaged untreated agricultural products. Process 700 may be performed to identify how applying a shelf-life extension coating solution to an agricultural product (e.g., a treated agricultural product) may cause the agricultural product to wrinkle at a slower rate than the untreated agricultural product, thereby increasing the duration of the agricultural product.
[0130] Process 700 may be performed by computer system 110. Process 700 may also be performed by one or more other computers, computer systems, devices, cloud-based services, and / or networks of computers and / or devices. For example, process 700 may be performed by an edge computing device. For illustrative purposes, process 700 is described from the perspective of a computer system.
[0131] refer to Fig. 7A In process 700, the computer system can determine the grid structure of the produce extracted at time = t (702). As another example, the computer system can annotate wrinkles throughout the produce image to create a Boolean mask of the wrinkle locations. The image segmentation model can then be trained to predict the Boolean mask (and thus the wrinkle locations). Using the model predictions, a portion of the wrinkle area of the produce can be calculated. Once the computer system has Figure 3A-3B After the agricultural product is extracted from the background in the image data in process 300, the computer system can generate a grid structure for the agricultural product, wherein each grid is assigned a grid index and each grid covers a portion of the agricultural product.
[0132] At 704, the computer system may retrieve the machine learning trained wrinkle model. A wrinkle model may be generated and trained for each different type of produce that may wrinkle. For example, a wrinkle model may be generated and trained for mangoes. Another wrinkle model may be generated and trained for bell peppers.
[0133] At 706, the computer system may apply the model to each grid cell in the grid structure to identify one or more wrinkles at time = t. Figure 7BAs further described in, a model can be trained to identify whether one or more wrinkles exist in each grid in the grid structure that constitutes the image data of the agricultural product. When wrinkles are identified in the grid, the grid can be assigned a corresponding value, such as 1 for (one or more) wrinkles and 0 for the absence of (one or more) wrinkles. One or more other values can also be assigned, including but not limited to string values (e.g., "yes" for wrinkles and "no" for no wrinkles), Boolean values (e.g., "true" for wrinkles and "false" for no wrinkles), and / or other numerical values, including percentages and / or portions.
[0134] Once the model is applied to each grid cell representing the produce in the grid structure, the computer system can calculate the portion (or percentage) of the grid cells that have wrinkles and determine whether the portion exceeds a threshold range (708). The computer system can count how many grid cells are assigned a value of 1 or other value representing wrinkles. In some embodiments, the computer system can determine the percentage of the produce that is covered with wrinkles. If the percentage of the produce covered with wrinkles exceeds the threshold range, it can indicate that the produce is about to reach or has reached the end of its duration. In some embodiments, the threshold range can vary depending on the type of produce and the characteristics unique to the produce. For example, for mangoes, the threshold range can be 5%, which indicates that mangoes with more than 5% wrinkles on the surface are not sellable.
[0135] If the portion of the grid cells with wrinkles exceeds a threshold range, then the computer system can identify the end of the shelf life and / or marketability of the extracted produce (710). After all, the computer system can identify that the produce is no longer suitable for purchase and / or consumption by the consumer. The produce may be too wrinkled and therefore its shelf life has expired. The computer system can also output an indication of wrinkles of the extracted produce at time = t (712). As described throughout this disclosure, the computer system can output an indication of wrinkles of the produce over the time period in which the produce is imaged in the form of a graphical depiction (such as a line graph). Thus, relevant stakeholders can compare how slowly the produce wrinkles over time after being treated in a shelf life extension coating solution compared to untreated produce.
[0136] At 708, if the portion of the grid cells with identified wrinkles is less than the threshold range, the computer system can store the portion of the grid cells of the produce with wrinkles at time=t (714). The computer system can also output the stored wrinkle indication in a graphical depiction, such as a line graph. The computer system can then return to block 302 in process 300.
[0137] Figure 7B Describes the determination Fig. 7ATraining and runtime application of machine learning models for wrinkle quality metrics of produce in a food product. A wrinkle model can be trained to identify wrinkles on any type of produce (whether the produce is processed or not). A wrinkle model can also be trained to identify wrinkles on a specific type of produce. For example, a wrinkle model can be trained to identify wrinkles on mangoes. Another wrinkle model can be trained to identify wrinkles on bell peppers. One or more other wrinkle models can be trained to identify wrinkles in wrinkled produce (including but not limited to cucumbers, apples, pears, and passion fruit).
[0138] The wrinkle model may be a convolutional neural network (CNN). In some embodiments, the wrinkle model may be one or more other types of neural networks and / or machine learning techniques / algorithms. The wrinkle model may leverage a wrinkle classifier to classify tiles of the produce and then use the classification results to calculate a coverage percentage. As described throughout this disclosure, if the coverage percentage exceeds a certain predetermined threshold range, then it may be determined that the produce is about to reach the end of its duration. In other words, the produce may be covered with wrinkles such that a consumer no longer desires to purchase and / or consume the produce.
[0139] During wrinkle model training 720, a classifier of wrinkle model 721 may be trained to identify wrinkled produce tiles from non-wrinkled produce tiles. Model 721 may be trained with labeled / marked image training data, such as image data 722 of wrinkled produce and image data 726 of non-wrinkled produce. Image data 722 and 726 may be tiles (e.g., grids) of produce. These tiles may be labeled (automatically by a computer system and / or manually by a human worker / user) as having wrinkles (image data 722) and not having wrinkles (image data 726). Model 721 may then be trained to identify wrinkles in image data 722 and compare to the absence of wrinkles in image data 726. Thus, when trained model 721 identifies a wrinkle (such as in image data 722), model 721 may output a value 724, which may indicate a positive identification of a wrinkle, or the presence of a wrinkle in a particular tile of produce. Value 724 may be a numeric value / integer / floating point number, such as 1. As described above, value 724 may also be a string value and / or a Boolean value. If model 721 does not identify wrinkles in a tile of produce (such as in image data 726), then model 721 may output a value 728, which may indicate that wrinkles are not present in the particular tile of produce. Value 728 may be a numeric value / integer / floating point number, such as 0. As described above, value 728 may also be a string value and / or a Boolean value.
[0140] During runtime application 730, as described above with reference to Fig. 7AAs described in process 700 in , a bounding box 732 of an agricultural product in image data representing the agricultural product can be selected. Here, the agricultural product is a mango, and the bounding box 732 is a portion of the image data depicting an entire mango. A computer system (such as computer system 110) can generate a grid structure for the bounding box 732 of the mango (box 702 in process 700). Therefore, the grid structure 734 can cover the bounding box 732 representing the mango. The computer system can then apply model 721 to each grid (e.g., tile) in the grid structure 734 to classify the grid as having wrinkles or not having wrinkles (boxes 706-708 in process 700). The resulting output 736 may include a visual representation of the location where wrinkles are identified on the agricultural product and / or a wrinkle coverage percentage. For example, in Figure 7B In the example output 736 of , wrinkles are identified in 4 tiles (e.g., a grid). The 4 tiles of wrinkles are calculated as ~5% wrinkle coverage. Depending on the predetermined threshold range, 5% coverage may not be enough to indicate the end of the duration of the mango. In other words, a consumer may still purchase and consume a mango that has only 5% of its surface area covered by wrinkles. The mango may still taste good and / or may still have a desired degree of ripeness. The predetermined threshold range may vary for a particular agricultural product. For example, for mangoes, the threshold range may be 5% (for one grade or category of mangoes) and 20% (for another grade or category of mangoes).
[0141] Figure 8 8 is a flow chart of a process 800 for determining a quality characteristic metric of an agricultural product. The process 800 may be used as Figure 3A-3B The process 800 is similar to the process 700 except that the process 700 is used to identify wrinkles as a quality feature and the process 800 is used to identify any type of quality feature. Fig. 7AProcess 700 in. Process 800 can be performed to identify one or more different types of quality features that indicate a change in the quality of the agricultural product and therefore a change in duration. One or more models and / or algorithms can be used to identify quality features associated with a specific type of agricultural product. One or more models and / or algorithms can be used to identify quality features associated with different types of agricultural products. Moreover, in some embodiments, each model and / or algorithm can be used to identify a specific quality feature, regardless of the type of agricultural product. The quality features that can be identified and quantified using process 800 can include, but are not limited to, wrinkles, external rot, external abrasions, browning, spots, and other external visual attributes of agricultural products. Quality features can also include internal attributes, including, but not limited to abrasions, infection, rot, hardness, dry matter, pH, brix, and / or sugar content. As described throughout this disclosure, process 800 can be used to identify changes in quality features in treated and untreated agricultural products. Therefore, changes in quality features of treated and untreated agricultural products can be compared to identify differences in the duration of the treated agricultural products. Such differences in duration can be attributed to the shelf life extension coating solution used to treat the agricultural products.
[0142] Process 800 may be performed by computer system 110. Process 300 may also be performed by one or more other computers, computer systems, devices, cloud-based services, and / or networks of computers and / or devices. For example, process 300 may be performed by an edge computing device. For illustrative purposes, process 300 is described from the perspective of a computer system.
[0143] Reference process 800, and with Fig. 7A Similar to process 700 in , at 804, the computer system can retrieve (one or more) machine learning trained quality feature models. As mentioned above, the model can be trained to recognize different types of quality features for a specific type of agricultural product being imaged. The model can also be trained to recognize a specific type of quality feature for a specific type of agricultural product. The model can be trained to recognize different types of quality features for any type of agricultural product. The model can also be trained to recognize a specific type of quality feature for any type of agricultural product. One or more other variations of the model and / or algorithm are possible. At 804, the computer system can retrieve one or more models selected based on the type of quality feature to be recognized and / or the type of agricultural product being imaged.
[0144] The computer system can then apply the model to the image data of the agricultural product to identify features at time = t (806). Figure 7A-7BAs described, when the model is applied to an image, the model can output a value indicating whether a quality feature is present (e.g., detected). The value can be a numeric / integer (e.g., 1 for presence, 0 for absence), a string value, and / or a Boolean value. The model can be trained to recognize (one or more) quality features using training image data with labeled and annotated quality features.
[0145] At 808, the computer system may determine whether the identified feature(s) exceed a threshold range. The computer system may also determine a quality feature coverage percentage (e.g., reference Figure 7B ), the percentage indicating how much of the produce is covered in the identified quality characteristic. The computer system can determine whether the coverage percentage exceeds a threshold range. As an example, if the produce is a lemon that is covered with a large amount of browning or rot (e.g., the coverage percentage exceeds a certain predetermined threshold range of lemon browning or rot), then the lemon may no longer be suitable for purchase and / or consumption.
[0146] Thus, if the identified (one or more) features exceed the threshold range, the computer system can identify the end of the shelf life and / or marketability of the extracted agricultural product (810). As mentioned above, the agricultural product may be about to reach the end of the shelf life or has already ended. The agricultural product may no longer be suitable for purchase and / or consumption. In 812, the computer system can also output an indication of the features of the extracted agricultural product. For example, the computer system can output which types of quality features are identified and / or how many quality features (e.g., coverage percentage) are identified. The computer system can also output the extracted agricultural product in a grid structure. The grid cells with quality features can be represented by some kind of mark (such as highlighting). Therefore, a user viewing this output at a user device can review the identified quality features and compare the identified quality features of the treated and untreated agricultural products. In some embodiments, the computer system can also output a graphical depiction (such as a line graph) indicating the change in the coverage percentage of the treated agricultural product and the coverage percentage of the untreated agricultural product over time. The user can also use this output beneficially to compare the effect of applying the shelf life extension coating solution to the treated agricultural product and the untreated agricultural product.
[0147] If the identified feature(s) are less than the threshold range, the computer system can store the identified feature(s) of the extracted agricultural product at time=t (814). As described above, the computer system can output an indication of the identified feature(s). The computer system can then return to block 302 in process 300.
[0148] Fig. 9is an example system diagram of components used to determine the shelf life of produce using the techniques described herein. Computer system 110 , produce information data repository 900 , and model data repository 954 may communicate (eg, wired and / or wirelessly) via network(s) 114 .
[0149] The computer system 110 may include an object detection engine 902, an indexing engine 904, a model training engine 906, a duration score metric evaluation engine 908, and a duration score determiner 910. Although not depicted, the computer system 110 may also include a communication interface. In some implementations, one or more of the components 902, 904, 906, 908, and / or 910 may be separate from the computer system 110 and part of one or more other computer systems, computers, servers, cloud-based services, devices, and / or networks.
[0150] The model training engine 906 can be configured to generate one or more models that can be used by the duration scoring metric evaluation engine 908. The engine 906 can receive training image data of the produce. The engine 906 can train the model to identify features associated with the produce from the training image data, such as wrinkles and other quality features / attributes. The identified features can be annotated / labeled in the training image data. In some embodiments, the trained model can be a CNN.
[0151] The generated and trained models can be stored in the model data repository 954 as duration scoring metric models 956A-N. The models 956A-N can be accessed and / or retrieved during runtime by one or more analyzers of the duration scoring metric evaluation engine 908. As described throughout this disclosure, during runtime, only some of the models 956A-N can be selected based on the type of agricultural product in the image data and / or the type of feature(s) to be identified and quantified in the image data. In some embodiments, the models 956A-N can be continuously improved and / or updated based on runtime usage of the models.
[0152] The object detection engine 902 can be configured to detect one or more agricultural products in the image data, as described throughout this disclosure (e.g., with reference to Figure 3A-3B). The engine 902 may receive the image data and perform object detection techniques to process the image data. The engine 902 may also apply one or more machine learning models that are trained to identify agricultural products in the image data. The engine 902 may generate a bounding box around each agricultural product in the image data. For each agricultural product 944A-N, the engine 902 may store a bounding box image of the agricultural product 950 in the agricultural product information data repository 900. Optionally, in some embodiments, the object detection engine 902 may also be configured to identify the type of agricultural product in the image data. Thus, an agricultural product 944A-N may include a bounding box image 950 of a processed agricultural product. Another agricultural product 944A-N may include a bounding box image 950 of an unprocessed agricultural product.
[0153] The indexing engine 904 may be configured to apply a grid structure to the image data and index each bounding box in the structure (e.g., reference Figure 3A-3B ). Each bounding box can encompass the agricultural product represented in the image data. For each agricultural product 944A-N, the engine 904 can retrieve the bounding box image 950 from the agricultural product information data repository 900 and assign an index value to the bounding box as a grid index 952. The engine 904 can also identify each bounding box as representing a processed agricultural product or an unprocessed agricultural product. An indication of agricultural product processing can be stored with the grid index 952 for each agricultural product 944A-N. Therefore, each food can be identified by the assigned index and whether the agricultural product is processed or unprocessed, which can be beneficial for future retrieval information, analysis, and processing operations.
[0154] The duration score metric evaluation engine 908 may be configured to identify one or more features in the image data that indicate a change in the quality of the produce (eg, referring to FIG. 3- Figure 8 ). The engine 908 can retrieve a bounding box image 950 for each food 944A-N from the produce information data repository 900. The bounding box image 950 can be used by the analyzer to determine changes in characteristics of the produce over time, as described throughout this disclosure. The engine 908 can also retrieve one or more models 956A-N from the model data repository 954 for execution during runtime. The engine 908 can select the model 956A-N based on the determination made by the object detection engine 902. For example, the engine 902 can determine that the produce identified in the image data is processed and unprocessed apples. The engine 902 can notify the duration scoring metric evaluation engine 908 that the produce is an apple. The engine 908 can then retrieve one or more models 956A-N associated with the apple from the model data repository 954. These models can be used to analyze the quality changes of the processed and unprocessed produce during the time when the apple was imaged.
[0155] The duration score metric evaluation engine 908 may include a plurality of analyzers, wherein each analyzer may be configured to identify a different quality characteristic in an agricultural product and / or different types of quality characteristics in one or more agricultural products. Each model 956A-N may also be executed by a different analyzer. In some embodiments, one or more of the models 956A-N may also be executed by one or more analyzers. Fig. 9 908, but more, fewer, and / or different analyzers may be included in the engine 908. Thus, the engine 908 may include one or more more or fewer analyzers. For each food 944A-N, each analyzer may receive a bounding box image 950 of the produce.
[0156] For example, the duration score metric evaluation engine 908 may include a color analyzer 912, a volume analyzer 914, a wrinkle analyzer 916, a firmness analyzer 918, a quality feature analyzer 920, a bruise analyzer 922, an infection analyzer 924, a rot analyzer 926, a dry matter analyzer 928, a pH analyzer 930, a brix analyzer 932, a sugar content analyzer 934, an avocado shelf life analyzer 936, a mango shelf life analyzer 938, an apple shelf life analyzer 940, and a lemon shelf life analyzer 942. Any one or more of the analyzers 912, 914, 916, 918, 920, 922, 924, 926, 928, 930, 932, 936, 938, 940, and 942 may retrieve and apply the duration score metric models 956A-N. For each agricultural product 944A-N, the output from any one or more of the analyzers may be stored as (one or more) analyzer metric outputs 946A-N in the agricultural product information data repository 900. Moreover, as described throughout this disclosure, the duration score metric evaluation engine 908 may implement only one analyzer to determine the change in quality of the agricultural product over time. In some embodiments, the duration score metric evaluation engine 908 may implement multiple analyzers to determine the overall change in quality of the agricultural product over time.
[0157] refer to Fig. 9, color analyzer 912 can be configured to analyze bounding box image 950 to determine the color of the agricultural product relative to a reference color at each time interval that the agricultural product is imaged (e.g., a statistically measured color value representing the color of the agricultural product when the agricultural product was first imaged at t=1). Color analyzer 912 can be applied to any type of agricultural product being imaged. In some embodiments, color analyzer 912 can implement models and / or algorithms specific to the type of agricultural product being imaged. For example, a model trained to assess color changes in lemons can be executed, while another model can be trained to assess color changes in Granny Smith apples. For information on how to identify, quantify, and output color changes in imaged agricultural products, refer to Figure 4-Figure 5 .
[0158] Volume analyzer 914 can be configured to analyze bounding box image 950 to determine the percent shrinkage of the volume of the produce at each time interval relative to a reference volume (e.g., the volume of the produce when the produce was first imaged at t=1). Volume analyzer 914 can be used to analyze the volume of different types of produce. For further discussion of analyzing, quantifying, and outputting volume changes of imaged produce, refer to Figure 6 .
[0159] Wrinkle analyzer 916 may be configured to identify and quantify wrinkles in bounding box image 950 to determine a percentage of wrinkle coverage of the produce at each time interval. Wrinkle analyzer 916 may be used to analyze wrinkles in different types of produce. For example, analyzer 916 may implement a model for analyzing wrinkles in a particular type of produce, such as mangoes. Analyzer 916 may implement another model to identify wrinkles in another type of produce, such as bell peppers, cucumbers, apples, passion fruit, or other types of wrinkled produce. For further discussion of analyzing, quantifying, and outputting wrinkle changes in imaged produce, see Figure 7A-7B .
[0160] The hardness analyzer 918 can be configured to identify and quantify the hardness of the agricultural product in the bounding box image 950 to determine the change in the hardness of the agricultural product relative to the reference volume at each time interval. The hardness analyzer 918 can use one or more models and / or algorithms to determine the hardness of the agricultural product. The hardness can be identified from the hyperspectral image data. The hardness can also be determined from a combination of image data and destructive measurements performed on the agricultural product. The hardness analyzer 918 can generate output data, such as a score indicating the hardness level. The output data can be a numerical value within a certain range, such as 0 to 1. A value of 0 can indicate that the depicted agricultural product is hard and inedible, while any value greater than 0 and less than 1 can provide an indication of a hardness that is not hard. For example, the closer the output value is to 1, the softer the agricultural product can be, the lower the hardness, and / or the closer the maximum softness that the agricultural product should have (e.g., close to the end of the shelf life of the agricultural product). In some embodiments, and depending on the type of agricultural product, the maximum softness can indicate that the agricultural product is of good quality and ready for consumer consumption. In some embodiments, the maximum softness can indicate that the agricultural product is of poor quality and is no longer the desired hardness for consumers to purchase and / or consume.
[0161] The quality feature analyzer 920 can be configured to identify and quantify one or more quality features in the bounding box image 950 to determine which quality features are present on the produce at each time interval and how many quality features are present. The analyzer 920 can be used to analyze quality features in different types of produce. For further discussion of analyzing, quantifying, and outputting quality feature changes in imaged produce, refer to Figure 8 .
[0162] Like quality feature analyzer 920, scratch analyzer 922 may be configured to identify and quantify internal and / or external scratches present in bounding box image 950 of produce at each time interval relative to a scratch reference amount (when the produce was first imaged at t=1).
[0163] Like quality feature analyzer 920, infection analyzer 924 may be configured to identify and quantify internal and / or external infection present in bounding box image 950 of the produce at each time interval relative to an infection reference amount (when the produce was first imaged at t=1).
[0164] Like quality feature analyzer 920, decay analyzer 926 may be configured to identify and quantify internal and / or external decay present in bounding box image 950 of the produce at each time interval relative to a decay reference amount (when the produce was first imaged at t=1).
[0165] Like quality feature analyzer 920, dry matter analyzer 928 can be configured to identify and quantify dry matter in bounding box image 950 of produce at each time interval relative to a dry matter reference amount (when the produce was first imaged at t = 1). Dry matter analyzer 928 can be used to assess dry matter in avocados.
[0166] Like the quality characteristic analyzer 920, the pH analyzer 930 can be configured to identify and quantify the acidity level from the hyperspectral data that can be derived from the bounding box image 950 of the produce at each time interval. The acidity level can be compared to a pH reference amount (when the produce was first imaged at t=1) to determine the duration of the produce.
[0167] Like the quality feature analyzer 920, the brix analyzer 932 can be configured to identify and quantify the sugar content of the produce from the hyperspectral data that can be derived from the bounding box image 950 of the produce at each time interval. The sugar content at each time interval can then be compared to a reference sugar content (when the produce was first imaged at t=1) to determine the duration of the produce. Thus, the analyzer 932 can be configured to determine the sweetness and / or sourness of the produce, which can be an indication of whether and when the produce is suitable for purchase and / or consumption by a consumer.
[0168] The avocado shelf life analyzer 936 can be configured to determine the duration of avocados (e.g., maturity, shelf life, edibility, marketability) using one or more techniques described throughout the present disclosure. For example, the avocado shelf life analyzer 936 can identify and quantify the color and volume changes of avocados during the imaging period. Then, the avocado shelf life analyzer 936 can determine the duration of treated and untreated avocados based on color changes, volume changes, or a combination of the two. The avocado shelf life analyzer 936 can also use one or more additional techniques to determine the duration of treated and untreated agricultural products, such as wrinkles, hardness, quality characteristics, abrasions, infection rot and / or dry matter analysis and quantification. Moreover, the avocado shelf life analyzer 936 can also be configured to generate an output indicating the duration of treated and untreated agricultural products. As described throughout the present disclosure, the analyzer 936 can generate a graphical depiction of the color and / or volume changes of treated and untreated agricultural products over time, such as a line graph or a histogram. This output may then be used by computer system 110 and / or relevant stakeholders at the user device to determine whether any modifications should be made to the shelf-life extension coating solution applied to the treated produce.
[0169] The mango shelf life analyzer 938 can be configured to determine the duration of the mango (e.g., maturity, shelf life, edibility, marketability) using one or more techniques described throughout the present disclosure. For example, the mango shelf life analyzer 938 can identify and quantify the color, volume, and / or wrinkle changes of the mango during the period when the mango is imaged. The mango shelf life analyzer 938 can then determine the duration of the treated and untreated mangoes based on the color change, volume change, wrinkles, or a combination of multiple of these quality attributes. The mango shelf life analyzer 938 can also use one or more additional techniques to determine the duration of the treated and untreated agricultural products, such as analysis and quantification of hardness, quality characteristics, abrasions, infection rot, pH value, and / or brix. Moreover, the mango shelf life analyzer 938 can also be configured to generate an output indicating the duration of the treated and untreated agricultural products. As described throughout the present disclosure, the analyzer 938 can generate a graphical depiction, such as a line graph or a histogram, depicting the changes in color, volume, and / or wrinkle coverage of the treated and untreated agricultural products over time. This output may then be used by computer system 110 and / or relevant stakeholders on the user device to determine whether any modifications should be made to the shelf-life extension coating solution applied to the treated produce.
[0170] The apple shelf life analyzer 940 can be configured to determine the duration of apples (e.g., maturity, shelf life, edibility, marketability) using one or more techniques described throughout the present disclosure. In some embodiments, the analyzer 940 can determine the duration of different types of apples. In other embodiments, the analyzer 940 can be configured to determine the duration of a specific type of apple. For example, an apple shelf life analyzer can determine the duration of Granny Smith apples, while another apple shelf life analyzer can determine the duration of Honey Crisp apples. The analyzer can use different threshold ranges and / or levels based on the type of apple. For example, the statistical measurement color value can be a mix of the green hue of GrannySmith apples and the red and yellow of Honey Crisp apples. Moreover, Granny Smith apples and Honey Crisp apples can have different levels of sweetness and / or acidity, wherein the acidity of Granny Smith apples can be desired by consumers, but the similar acidity level of Honey Crisps may not be so desired by consumers.
[0171] The apple shelf life analyzer 940 can identify and quantify one or more quality attributes that change during the time period in which the apple is imaged. The apple shelf life analyzer 940 can then determine the duration of the treated and untreated apples based on one or more quality attributes evaluated during the time period. For example, the apple shelf life analyzer 940 can determine the duration of the treated and untreated agricultural products based on the analysis and quantification of any one or more changes in color, volume, hardness, quality characteristics, abrasions, infection rot, pH value and / or sugar content. Moreover, the apple shelf life analyzer 940 can also be configured to generate an output indicating the duration of the treated and untreated agricultural products. As described throughout this disclosure, the analyzer 940 can generate a graphical depiction of the changes in (one or more) quality attributes of the treated and untreated agricultural products over time, such as a line graph or a histogram. Then, the computer system 110 and / or the relevant stakeholders on the user device can use this output to determine whether any modifications should be made to the shelf life extension coating solution applied to the treated agricultural products.
[0172] The lemon shelf life analyzer 942 can be configured to determine the duration of lemons (e.g., maturity, shelf life, edibility, marketability) using one or more techniques described throughout the present disclosure. In some embodiments, the analyzer 942 can also be used to determine the duration of limes or other similar citrus fruits. The lemon shelf life analyzer 942 can identify and quantify the color and volume changes of lemons during the period when the lemons are imaged. Then, the lemon shelf life analyzer 942 can determine the duration of treated and untreated lemons based on color changes, volume changes, or a combination of both. The lemon shelf life analyzer 942 can also use one or more additional techniques to determine the duration of treated and untreated agricultural products, such as wrinkles, hardness, quality characteristics, bruises, infection rot, dry matter, pH value and / or sugar content analysis and quantification. Moreover, the lemon shelf life analyzer 942 can also be configured to generate an output indicating the duration of treated and untreated agricultural products. As described throughout the present disclosure, the analyzer 942 can generate a graphical depiction of the color and / or volume changes of treated and untreated agricultural products over time, such as a line graph or a histogram. This output may then be used by computer system 110 and / or relevant stakeholders on the user device to determine whether any modifications should be made to the shelf-life extension coating solution applied to the treated produce.
[0173] The duration score determiner 910 can be configured to determine the overall duration score of the agricultural product imaged and analyzed using the techniques described herein. For example, the duration score determiner 910 can determine whether the change in the quality attribute is within a threshold range and / or exceeds a certain threshold level for a particular type of agricultural product. The duration score determiner 910 can retrieve and apply one or more duration score metric models 956A-N from the model data repository 954 to determine the duration score of the imaged processed and unprocessed agricultural products. The duration score determiner 910 can receive the duration score metric from the duration score metric evaluation engine 908 and use these metrics to determine the overall duration of the agricultural product. In some embodiments, the duration score determiner 910 can generate outputs described throughout this disclosure, such as graphical depictions (e.g., line graphs) depicting changes in one or more quality attributes of processed and unprocessed agricultural products. As described throughout this disclosure, the duration score can indicate the level of maturity, length of maturity, remaining shelf life, length of shelf life, edibility, and / or marketability of the agricultural product. The duration scores generated by the duration score determiner 910 may be stored in the produce information data repository 900 for each produce 944A-N as duration score(s) 948. The duration score(s) 948 may be retrieved and outputted at a later time on a user device for analysis and review by relevant stakeholders in the supply chain.
[0174] As described throughout, the example analyzers mentioned above are not intended to limit the scope of the present disclosure. Instead, the duration scoring metric evaluation engine 908 can use any type of analyzer. Likewise, the characteristics of the inputs and outputs of each example analyzer should not be considered limiting. The analyzer can be configured and / or trained to generate other types of output data and receive other types of input data.
[0175] Fig.101000 is an example environment for capturing time-lapse image data of agricultural products. Components of imaging environment 1000 can communicate with computer system 110, user device 112, and / or agricultural product information data repository 900 via (one or more) networks 114. Components of imaging environment 1000 (described further below) can be remote from one or more of computer system 110, user device 112, and / or data repository 900. In some embodiments, computer system 110 can be part of imaging environment 1000. For example, computer system 110 can be an edge computing device that is configured to identify and quantify changes in quality attributes of agricultural products imaged in imaging environment 1000 in real time. This configuration can be beneficial to avoid blocking network bandwidth and / or use computing resources more efficiently. In such an embodiment, computer system 110 can be attached to or as part of camera 1004 in imaging environment 1000. Imaging environment 1000 can also include a power supply that can be used to power components of imaging environment 1000 (including computer system 110, camera 1004, and other components, such as one or more fans and / or one or more light sources).
[0176] In some embodiments, user device 112 may be part of computer system 110 and / or imaging environment 1000. User device 112 may include a display screen and one or more input devices, such as a mouse, keyboard, microphone, and / or touch screen. User device 112 may also be powered by the same or another power source of imaging environment 1000. During operation, computer system 110 may schedule when camera 1004 captures images. Computer system 110 may send a notification to camera 1004 that triggers camera 1004 to capture one or more images of produce 1010A-N. For example, every 5 hours for 30 days, computer system 110 may transmit a notification to camera 1004 that prompts camera 1004 to capture one or more images of produce 1010A-N. The images captured by camera 1004 may then be transmitted to computer system 110 for processing and output at user device 112. For example, computer system 110 may receive images of produce 1010A-N, analyze the images to determine quality attributes (e.g., duration score metrics) of produce 1010A-N, and determine a duration score for each produce 1010A-N and / or a batch of produce 1010A-N. The determined duration score(s) and / or quality attributes may be transmitted to and displayed at a display screen of user device 112. The images may also be transmitted to and displayed / output at user device 112. Relevant stakeholders may then review the output information and determine whether any modifications may and / or should be made to the shelf life extension coating solution applied to one or more of produce 1010A-N.
[0177] Imaging environment 1000 may include fan 1002, camera 1004, supports 1006A-N, and at least one light source 1008A-N. Imaging environment 1000 may be a box having walls on all four sides and having a top and a bottom. Produce 1010A-N may be positioned at the bottom of imaging environment 1000, such as on a tray or a flat plate. Produce 1010A-N may remain in such a position throughout the period of time that produce 1010A-N is imaged by camera 1004. Thus, camera 1004 may capture images of produce 1010A-N at constant time intervals during the period of time from a constant angle and lighting. This may be beneficial in improving the accuracy of comparing changes in quality attributes of produce 1010A-N over time.
[0178] The fan 1002 can be configured to circulate air within the imaging environment 1000. The fan 1002 can be attached to a bracket 1006N that can be located at a top ceiling of the imaging environment 1000. The fan 1002 can also be located at other locations in the imaging environment 1000. In some implementations, the imaging environment 1000 can have multiple fans.
[0179] The camera 1004 can be attached to the bracket 1006N. The camera 1004 can be centered and positioned at the top ceiling of the imaging environment 1000. Thus, the camera 1004 can have a field of view that includes all of the agricultural products 1010A-N from a constant angle. In some embodiments, a motor can be used to move the agricultural products onto a motorized tray near, below, or otherwise near the hyperspectral camera so that the hyperspectral camera can capture images of the agricultural products 1010A-N row by row (e.g., row by row of pixels to form a full matrix, which is a hyperspectral image of the agricultural products 1010A-N). As described herein, the camera 1004 can be configured to capture images of the agricultural products 1010A-N at constant time intervals throughout the period of time that the agricultural products 1010A-N are imaged. For example, the camera 1004 can capture multiple images of the agricultural products 1010A-N 5 times a day for 30 consecutive days.
[0180] As described herein, camera 1004 can generate image data representing attributes of agricultural products 1010A-N. In some embodiments, camera 1004 can include one or more hyperspectral sensors configured to capture hyperspectral data representing characteristics of agricultural products 1010A-N. In such embodiments, each pixel of the hyperspectral image can correspond to a visible spectrum, which can be a portion of the near infrared (NIR) range of the hyperspectral data. Thus, one hyperspectral camera can be used to capture data and extract RGB images (and / or videos) from the data without having to capture additional data with another RGB camera. In some embodiments, camera 1004 can be a low-resolution digital camera (e.g., 5M or less), a high-resolution digital camera (e.g., 5MP or more), or any other type of sensor that can capture image data.
[0181] In some implementations, imaging environment 1000 may include multiple sensors or cameras positioned at multiple angles relative to produce 1010A-N. For example, a first camera and at least one additional second camera may each capture image data of produce 1010A-N from different viewing angles. In such a configuration, one or more additional cameras may be used to generate image data based on wavelengths of light different from or additional to the wavelengths of light captured by the first camera.
[0182] Each particular camera in the one or more cameras can be configured to detect different or additional wavelengths of light in a variety of different ways. For example, in some embodiments, different sensors can be used in different cameras in order to detect different or additional wavelengths of light. Alternatively, or in addition, each of the one or more cameras can be positioned at different heights, different angles, etc. relative to each other in an effort to capture different wavelengths of light. In some embodiments, one or more cameras can be at least partially positioned to capture portions of the produce 1010A-N that may be obscured from the field of view of the first camera.
[0183] Light sources 1008A-N may be used to illuminate produce 1010A-N so that camera 1004 may clearly capture image data of the produce. Light sources 1008A-N may be attached to brackets 1006A and 1006B positioned at the top / ceiling of imaging environment 1000. Light sources 1008A-N may be arranged in a manner that provides consistent and uniform illumination on produce 1010A-N. This may be beneficial because imaging environment 1000 may be an enclosed setting that does not allow additional ambient light to filter in and cast shadows or uneven lighting conditions on produce 1010A-N to be imaged.
[0184] Light sources 1008A-N may include one or more light sources, each producing the same or different electromagnetic radiation. In some embodiments, light sources 1008A-N may be positioned at one or more locations near camera 1004 to illuminate agricultural product 1010A-N before and / or during the capture of image data. In some embodiments, one or more of light sources 1008A-N may be selected based on the frequency of the electromagnetic radiation output. For example, in some embodiments, one or more of light sources 1008A-N may be (one or more) halogen light sources. Alternatively, or in addition, one or more light sources 1008A-N may be diodes or a series of broadband light emitting diodes (LEDs) that may be used to provide light across a visible wavelength spectrum, a near infrared wavelength spectrum, an electromagnetic spectrum, or any other spectrum (e.g., a UV spectrum). In general, any light source may be used to provide any type of light to camera 1004.
[0185] In some embodiments, one or more of light sources 1008A-N, or a control unit for one or more light sources 1008A-N, may be communicatively coupled to camera 1004, or a control unit for camera 1004. For example, camera 1004, or a control unit for camera 1004, sends a signal to one or more light sources 1008A-N, or a control unit for one or more light sources 1008A-N, which causes light sources 1008A-N to illuminate produce 1010A-N with a specific power and / or with one or more specific wavelengths of light at a specific time. In some embodiments, the specific time may be a predetermined amount of time before or during the capture of image data.
[0186] The image data may be comprised of a plurality of images, where each image corresponds to one or more agricultural products 1010A-N in imaging environment 1000. The image data may also include a portion of the background surrounding agricultural products 1010A-N, such as the bottom / ground / floor of imaging environment 1000. As described throughout, computer system 110 may process the image data and extract a portion of the image data depicting one or more of agricultural products 1010A-N. The extracted portion of the image data may depict all of the imaged agricultural products 1010A-N. In some implementations, the extracted portion of the image data may depict one of agricultural products 1010A-N. Thus, computer system 110 may generate an extracted portion (e.g., a bounding box) for each of the imaged agricultural products 1010A-N.
[0187] Imaging environment 1000 may contain any number of produce 1010A-N for imaging. The same produce 1010A-N placed into imaging environment 1000 on the first day of imaging may remain within imaging environment 1000 until the entire imaging period is complete (e.g., 30 days for a certain produce such as avocados). Imaging environment 1000 may be sized to accommodate different types of produce and / or different quantities of produce. As an illustrative example, imaging environment 1000 may be sized to accommodate 6 avocados, 3 of which are treated (e.g., coated with a shelf life extending coating solution) and 3 of which are untreated (e.g., not coated with any product or solution). Imaging environment 1000 may also be sized to accommodate 25 avocados, arranged in 5 rows of 5 avocados. The same imaging environment 1000 may also be sized and used to image 4 apples, 2 of which are treated and 2 of which are untreated. The same imaging environment 1000 may also be used to image 8 lemons, 4 of which are treated and 4 of which are untreated. As described above, imaging environment 1000 can accommodate any number of produce 1010A-N that is desired to be imaged. Produce 1010A-N can be arranged in a grid configuration within imaging environment 1000. In some implementations, produce 1010A-N can simply be placed within imaging environment 1000 without a particular configuration.
[0188] The computer system 110 may utilize one or more machine learning algorithms, techniques, and / or models that are trained to detect agricultural products in image data and extract the detected agricultural products. Such algorithms, techniques, and / or models may also be trained to identify the type of agricultural products detected in the image data. As an illustrative example, the agricultural products 1010A-N may be avocados. The computer system 110 may utilize one or more models that are trained on multiple images of avocados to determine from the image data whether one or more avocados are depicted and which areas of the image data include avocados. The one or more models may also be trained to generate output data in the form of annotated images of one or more of the agricultural products 1010A-N. When generating the annotated images, the computer system 110 may annotate or otherwise index each avocado identified in the image data. As described throughout this disclosure, a quality attribute (e.g., a duration score metric) may be determined for each annotated / indexed avocado in the image data. As described throughout this disclosure, imaging environment 1000 may be used to assess the quality and durability of different types of produce, including but not limited to citrus fruits, mangoes, apples, berries, stone fruits, tomatoes, meats, and / or vegetables.
[0189] Fig.11 Depicted are example time-lapse image data comparing treated and untreated produce. Fig.11The image data depicts an untreated avocado 1110 and a treated avocado 1112. As described herein, the treated avocado 1112 can be coated with a shelf life extension coating solution. Image data 1100 depicts an untreated avocado 1110 and a treated avocado 1112 imaged at day 1. Image data 1102 depicts an untreated avocado 1110 and a treated avocado 1112 imaged at day 6. Image data 1104 depicts an untreated avocado 1110 and a treated avocado 1112 imaged at day 14. Image data 1106 depicts an untreated avocado 1110 and a treated avocado 1112 imaged at day 26.
[0190] As shown in image data 1100, 1102, 1104, and 1106, untreated avocado 1110 was the first to reduce in size and darken (e.g., become less firm and / or more ripe). In other words, at 26 days of imaging, untreated avocado 1110 had a shorter duration (e.g., shorter shelf life, edibility, marketability) than treated avocado 1112. In image data 1102, the first untreated avocado 1110 was the first to darken on day 6. Both untreated avocados 1112 did not darken until day 26, as shown in image data 1106. The quality attributes depicted in image data 1100, 1102, 1104, and 1106 may be identified and quantified by a computer system (e.g., computer system 110) to determine the duration of untreated avocado 1110 and treated avocado 1112.
[0191] Fig.12 1 is an example shelf life analysis 1200 of avocados using the disclosed techniques. Untreated avocados 1110 and treated avocados 1112 can be imaged using the techniques described herein. Shelf life analysis 1200 can be performed by a computer system, such as computer system 110 described throughout this disclosure.
[0192] As part of the shelf life analysis 1200, the computer system can identify the location of the untreated avocados 1110 and the treated avocados 1112 (1202). Figure 3A-3B As described in process 300 in the above, the computer system can determine a bounding box around each avocado 1110 and 1112. The computer system can also determine a grid structure and assign a grid index to each bounding box of the avocados 1110 and 1112. For example, the first unprocessed avocado 1110 can be assigned a grid index of 0. The second unprocessed avocado 1112 can be assigned a grid index of 1. The first processed avocado 1112 can be assigned a grid index of 2. The second processed avocado 1112 can be assigned a grid index of 3.
[0193] The computer system can also extract pixels of each of avocados 1110 and 1112 at each time point when avocados 1110 and 1112 are imaged (1204). For additional discussion, refer to Figure 3A The discussion in 310 of 300 is addressed in .
[0194] The computer system can then calculate the quality characteristics of the avocados 1110 and 1112 (1206). The computer system can identify the color changes of the avocados 1110 and 1112 based on the analysis of the pixels extracted from 1204. The color changes over time can be compared with the statistically measured color values determined at the first time point of imaging (e.g., when the avocados 1110 and 1112 are first imaged). The statistically measured color value can be the average color value of all avocados 1110 and 1112 on the first day of imaging. The computer system can compare the pixels of the avocados 1110 and 1112 with the statistically measured color value on a pixel-by-pixel basis. For example, using a pixel-by-pixel basis, the distance of each pixel from the statistically measured color value determined at the first imaging can be calculated. The distance can be used to generate a matrix of distances (e.g., one distance per pixel). The computer system can then calculate the mean, median, or other statistical measure of the distance distribution, which can be a duration metric, and then a threshold range can be applied to it, as described above. One or more other techniques as described above can be used.
[0195] The change in color over time may be plotted as a line graph 1210. The computer system may determine a line graph 1210 for a group of untreated avocados 1110 and a group of treated avocados 1112. Thus, one of the line graphs 1210 may depict the average color change over time for the untreated avocados 1110, while another line graph 1210 may depict the average color change over time for the treated avocados 1112. The computer system may also generate a line graph depicting the average color change over time for the untreated avocados 1110 and the average color change over time for the treated avocados 1112.
[0196] The computer system can also identify a change in volume over time of the avocados 1110 and 1112 in 1206 based on an analysis of the pixels extracted from 1204. The change in volume over time can be compared to an average original volume of the avocados 1110 and 1112 determined at a first time point of imaging (e.g., when the avocados 1110 and 1112 were first imaged). The average original volume can be the average volume value of all avocados 1110 and 1112 on the first day of imaging. The change in volume over time can be plotted as a line graph 1212. The computer system can determine a line graph 1212 for a group of untreated avocados 1110 and a group of treated avocados 1112. Thus, one of the line graphs 1212 can depict the average change in volume over time of the untreated avocados 1110, while another line graph 1210 can depict the average change in volume over time of the treated avocados 1112. The computer system may also generate a line graph depicting both the average volume change of untreated avocados 1110 over time and the average volume change of treated avocados 1112 over time.
[0197] The computer system may then use the threshold to determine the shelf life of avocados 1110 and 1112 (1208). As described herein, the shelf life may be a duration fraction. The computer system may also determine the end of the shelf life, edibility, maturity, and / or marketability of avocados 1110 and 1112. The end-of-life threshold 1216 may also be included in the shelf life graph 1214. In some embodiments, the shelf life graph 1214 may be a combination of the change in color over time and the change in volume over time starting from 1206. The end-of-life threshold 1216 may be used for both untreated avocados 1110 and treated avocados 1112. Thus, the end-of-life threshold 1216 may be included in the line graph 1210 depicting the color change of either avocado 1110 or 1112. The end-of-life threshold 1216 may also be included in the line graph 1212 depicting the volume change of either avocado 1110 or 1112.
[0198] As shown in 1208, shelf life graph 1214 depicts the change in volume over time for untreated avocados 1110 or treated avocados 1112. Shelf life 1218 is identified as the point in time at which the line of graph 1214 intersects end-of-life threshold 1216. As further described below, shelf life 1218 for treated avocados 1112 may be later in time than the shelf life of untreated avocados 1110.
[0199] As described throughout this disclosure, the computer system can use only the color quality attribute or only the volume quality attribute to determine the shelf life 1218. In some embodiments, the computer system can determine the shelf life 1218 based on a combination of the color quality attribute and the volume quality attribute. Also, in some embodiments, the computer system can determine the shelf life 1218 based on a combination of one or more other quality attributes, such as wrinkles, hardness, decay, infection, and / or other attributes identified and quantified using the techniques described herein.
[0200] Fig.13 is used Figure 5 1300. The statistical measurement color determination 1300 may be performed by a computer system, such as computer system 110. The computer system may receive image data 1100 of avocados 1110 and 1112 at a first time point where the avocados 1110 and 1112 are imaged using the techniques described herein. Here, the computer system receives image data 1100 of avocados 1110 and 1112 on day 1. For each of the avocados 1110 and 1112, the computer system may extract their corresponding pixels (1302). Thus, the computer system may generate a mask 1304 of the avocados 1110 and 1112.
[0201] The computer system may determine the mean or average of all color pixels of all avocados 1110 and 1112 in the mask 1304 (1306). The mask 1304 may be used to extract RGB data for the avocados 1110 and 1112 by extracting all RGB values of pixels from the RGB image data for which the mask 1304 has a value of "true" or 1 (e.g., yellow). Thus, the computer system may determine and output statistical measured color values 1308. The statistical measured color values 1308 may demonstrate the average or mean color values of all avocados 1110 and 1112 when first imaged on day 1. The computer system may then compare the detected colors of the avocados 1110 and 1112 in the image data at each subsequent imaging time point. Comparing the detected colors of the avocados 1110 and 1112 to the statistical measured color values 1308 may include calculating a distance (e.g., a Euclidean distance) between all pixels representing each of the avocados 1110 and 1112 and the statistical measured color values 1308 at each time point. The calculated distances may be plotted over time to illustrate how the color of avocados 1110 and 1112 changes over time.
[0202] Fig.14 Use Figure 3- Figure 514. Example color analysis 1400 of avocados 1110 and 1112 over time is shown in the image data 1100 of day 1 avocados 1110 and 1112. Color analysis 1400 can be used to quantify color changes visible in image data 1100 of day 1 avocados 1110 and 1112 and image data 1104 of day 14 avocados 1110 and 1112. Color analysis 1400 can also be performed to identify color changes visible in image data of avocados 1110 and 1112 over an entire imaging period, such as 30 days.
[0203] like Fig.14 , each of the avocados 1110 and 1112 can be indexed. Avocados 0 and 1 are both untreated avocados 1110. Avocados 2 and 3 are both treated avocados 1112. The color identified at each time point that avocados 1110 and 1112 are imaged can be compared to the statistical measured color values 1308. The computer system can then generate a color change over time graph 1402 that depicts the color change over time for each of the avocados 1110 and 1112: avocados 0, 1, 2, and 3.
[0204] As depicted in graph 1402, by about day 5, the color distance of Avocado 0 (untreated avocado 1110) had reached a significant difference. The color distance of Avocado 0 at the first time point imaged (day 0) was 5. By day 5, the color distance of Avocado 0 had reached 25, while the color distances of Avocados 1, 2, and 3 remained around 5 or below. By about day 6, the color distance of Avocado 1 (untreated avocado 1110) had reached a significant difference. The color distance of Avocado 1 at the first time point imaged was about 1. By day 6, the color distance of Avocado 1 had reached 25, while the color distances of Avocados 2 and 3 remained around 5 or below. By about day 20, the color distance of Avocado 3 had reached about 25. By about day 23, the color distance of Avocado 2 reached about 25. Thus, Avocados 2 and 3 (both treated avocados 1112) reached a significant color distance after about 15 days compared to untreated avocado 1110. This can be attributed to applying the shelf-life extending coating solution to the avocado 1112. Thus, the shelf-life extending coating solution can increase the shelf life, edibility, and / or marketability (e.g., duration score) of the avocado 1112, as evidenced in the graph 1402.
[0205] Fig.15 is used Figure 6 1500. As described herein, a computer system (such as computer system 110) can count the number of pixels representing avocados in image data (1502). Fig.15As shown in , the computer system counts 244,000 pixels. The computer system can assign the pixel count to the area of the avocado and then solve for the radius (1504). Using the radius, the computer system can solve for the volume of the avocado (1506). Here, the computer system can use the sphere volume formula because avocados are relatively spherical / round objects. The sphere volume formula can also be used for other agricultural products, such as apples, lemons, limes, and other relatively round agricultural products.
[0206] The computer system can also plot the change in volume over time as a line graph 1508. The computer system can plot and output the change in volume over time for each avocado imaged. In some embodiments, the computer system can determine the average volume change over time for the treated avocados and the average volume change over time for the untreated avocados. The computer system can then output these average volume changes over time in the same line graph and / or in separate line graphs.
[0207] Example line graph 1508 depicts the change in volume over time for an avocado labeled Avocado 1. Avocado 1 may be an untreated avocado, such as Figure 11-Figure 14 . On day 0 (which may be the first day of imaging), the volume of Avocado 1 is 100%. In other words, the baseline volume of Avocado 1 may be the volume measured on the first day of imaging. The volumes measured on subsequent days may be compared to the baseline volume to determine how much the volume has changed since the first day of imaging. The greater the change in volume, the more the avocado has shrunk. The greater the change in volume, the shorter the duration of the avocado.
[0208] Here, as shown in line graph 1508, Avocado 1 has dropped to approximately 93% of its original volume (e.g., baseline volume on Day 1) on Day 5 (in some embodiments, the produce may drop to one or more other percentages of its original volume over one or more other time periods after Day 1). Avocado 1 has dropped to approximately 88% of its original volume on Day 10. By Day 23, Avocado 1 has dropped to approximately 75% of its original volume. As described herein, applying a shelf-life extension coating solution to Avocado 1 can be beneficial in slowing the extent and / or rate at which the volume of the avocado changes over time. Thus, the duration of the treated avocados can be increased or otherwise improved, which makes the avocados more suitable for consumers to purchase and consume.
[0209] Fig.16 1600 is an example volume-based shelf life analysis of avocados using the disclosed techniques. Fig.16As shown in , the techniques described herein can be used to quantify the volume change from day 1 in image data 1100 of avocados to day 26 (or later) depicted in image data 1106. Quantifying the volume change of untreated avocado 1110 as compared to the volume change of treated avocado 1112 is useful in demonstrating that treating avocados 2 and 3 in a shelf-life extension coating solution causes treated avocado 1112 to last 3.2+ / -0.6 times longer (e.g., shelf life, ripeness, edibility, and / or marketability) than untreated avocado 1110.
[0210] The shelf life graph 1602 depicts the shelf life of the untreated avocado 1110 and the treated avocado 1112 when each reaches 10% volume shrinkage. For example, Avocado 0 (untreated avocado 1110) experiences 10% volume shrinkage when Avocado 0 reaches 8-9 days. The 8-9 day range can be identified as the shelf life of Avocado 0. Avocado 1 (untreated avocado 1110) experiences 10% volume shrinkage when Avocado 1 reaches approximately 10 days. On the other hand, Avocado 2 (treated avocado 1112) experiences 10% volume shrinkage after nearly 30 days, while Avocado 3 (treated avocado 1112) experiences 10% volume shrinkage after approximately 25 days. Avocados 2 and 3 experience a longer shelf life (approximately 30 days and 25 days, respectively) because they use a shelf life extension coating solution. Avocados 2 and 3 experience a shelf life that is approximately 3.2+ / -0.6 longer than the shelf life of Avocados 0 and 1. The techniques described herein are useful for quantifying and identifying such improvements in the shelf life attributable to the shelf life extension coating solution. Thus, such techniques may be useful for determining additional improvements / modifications that may be made to the shelf life extension coating solution.
[0211] Volume change over time graph 1604 similarly shows that the shelf life (e.g., duration, duration score) of avocados 2 and 3 is improved / longer than that of avocados 0 and 1 because avocados 2 and 3 were treated with a shelf life extension coating solution, while avocados 0 and 1 were not treated. Threshold level 1606 is identified as the volume shrinkage percentage that indicates the end of shelf life (e.g., end of duration, maturity, edibility, marketability). Threshold level 1606 in this example is 90% of the original volume of the avocado. As described throughout this disclosure, the threshold level can be different based on the agricultural product, the type of agricultural product, and / or one or more other characteristics associated with the agricultural product (e.g., origin). The intersection of the volume change over time of the avocado and the threshold level 1606 indicates the amount of time of the shelf life of that particular avocado.
[0212] Thus, in the example of graph 1604, Avocado 0 intersects threshold level 1606 at approximately 8-9 days (1608). Avocado 1 intersects threshold level 1606 at approximately 9-10 days (1608). Avocado 2 intersects threshold level 1606 at approximately 27 days (1610). Avocado 3 intersects threshold level 1606 at approximately 25 days (1610).
[0213] The graphs 1602 and 1604 can be useful for visualizing the impact on the quality attributes of the produce when the produce is treated with the shelf-life extension coating solution. Such output can be useful for verifying the positive impact of applying the shelf-life extension coating solution on the quality of the produce. Such output can also be useful for determining potential modifications that can be made to the shelf-life extension coating solution to further improve its benefits on the quality of the produce.
[0214] Fig.17 1700 is an example shelf life analysis of oranges using the disclosed techniques. The shelf life analysis 1700 can be based on a change in color, a change in volume, or a combination of both. Image data 1702 of untreated oranges 1704 and treated oranges 1706 can be received by a computer system, such as computer system 110. The computer system can identify and extract pixels representing each of the oranges 1704 and 1706. The computer system can also apply a grid structure to the image data 1702 and determine an index for each of the oranges 1704 and 1706. Thus, the first orange can be indexed and labeled as orange 0. The second orange can be indexed and labeled as orange 1. Oranges 0 and 1 are untreated oranges 1704. The third orange can be indexed and labeled as orange 2. The fourth orange can be indexed and labeled as orange 3. Oranges 2 and 3 are treated oranges 1706. The computer system can implement one or more other indexing and labeling schemes. The index of each of the limes 1704 and 1706 may be used to identify color and / or volume changes of each of the limes 1704 and 1706 over time.
[0215] Using the techniques described herein, the computer system can determine that oranges 2 and 3 (treated oranges 1706) last 6 + / - 2 times longer (e.g., shelf life, maturity, edibility, marketability) than oranges 0 and 1 (untreated oranges 1704).
[0216] Fig.17 Three different types of outputs are visualized in One or more other types of outputs may also be achieved and determined using the techniques described herein to visually depict the impact of coating the treated limes 1706 in a shelf life extension coating solution.
[0217] Graph 1708 depicts the shelf life of each of the oranges 1704 and 1706 based on volume change. A 10% volume shrinkage is used as a threshold level for the oranges 1704 and 1706. Thus, orange 0 (untreated orange 1704) experiences 10% of its original volume in approximately 3 days. Thus, the shelf life (e.g., duration) of orange 0 is 3 days. Orange 1 (untreated orange 1704) experiences 10% volume shrinkage in approximately 6 days. Thus, the shelf life of orange 1 is 6 days. Orange 2 (treated orange 1706) experiences 10% volume shrinkage in approximately 25 days, and orange 3 (another treated orange 1706) experiences 10% volume shrinkage in approximately 23 days. Thus, the shelf life of oranges 2 and 3 (both treated oranges 1706) is, on average, more than 6 times longer than the shelf life of untreated oranges 1704, oranges 0, and 1. In some embodiments, the standard deviation may be 2.
[0218] Graph 1710 depicts the color change of each of the oranges 1704 and 1706. Orange 0 experiences the greatest and most abrupt color change compared to the other oranges 1, 2, and 3. Oranges 2 and 3 experience the least color change, which can be attributed to being treated in the shelf-life extension coating solution. In fact, as shown in graph 1710, oranges 2 and 3 experience a relatively constant color, indicating that oranges 2 and 3 (both treated oranges 1706) experience a longer duration (e.g., edibility, marketability, shelf life, maturity) than oranges 0 and 1 (both untreated oranges 1704).
[0219] Graph 1712 depicts the shelf life of each of the oranges 1704 and 1706 based on the volume change. As described with reference to graph 1710, a 10% volume shrinkage may indicate a threshold level 1714. The intersection of each of the oranges 1704 and 1706 with the threshold level 1714 indicates the shelf life of each of the oranges 1704 and 1706. Thus, orange 0 intersects the threshold level 1714 at approximately day 3. Therefore, the shelf life of orange 0 is 3 days. Orange 1 intersects the threshold level 1714 at approximately day 6. Therefore, orange 1 has a shelf life of 6 days. Oranges 2 and 3 intersect the threshold level 1714 at approximately day 25. Therefore, oranges 2 and 3 (both treated oranges 1706) have a shelf life of approximately 25 days.
[0220] As mentioned throughout, graphs 1708, 1710, and 1712 are useful for visually depicting the differences in quality attributes experienced by untreated limes 1704 and treated limes 1706. A user may view graphs 1708, 1710, and / or 1712 to quantify the improvement in duration resulting from coating the treated limes 1706 in a shelf-life extending coating solution. A user may also use graphs 1708, 1710, and / or 1712 to determine whether and what type of modifications to make to the shelf-life extending coating solution.
[0221] Fig.18 An example technique for extracting apples 1800 or other agricultural products from image data is depicted. A computer system (such as computer system 110) may receive image data 1802 of apples on a first day of imaging. Unprocessed apples 1804 and processed apples 1806 may be captured in image data 1802. Fig.18 In the example of , 16 apples are imaged, 8 untreated apples 1804 and 8 treated apples 1806. During the entire time period that apples 1804 and 1806 are imaged, the same 16 apples are imaged every day.
[0222] The computer system can then use one or more different techniques to identify and extract each of apples 1804 and 1806. For example, the computer system can use blue channel histogram 1810 to identify and extract each of apples 1804 and 1806. The computer system can also use clustering 1814 to identify and extract each of apples 1804 and 1806.
[0223] In the blue channel histogram 1810, the computer system can generate blue channel data 1808 from the image data 1802. The blue channel is represented by values between 0 and 255, and in the blue channel data 1808, these values are represented by colors between purple (0) and yellow (255). The RGB data of apples 1804 and 1806 can be extracted using a mask by grabbing all RGB values of pixels from the image data 1802 for which the mask is true / 1. For example, pixels in the blue channel data 1808 with color values between 0 and 75 (which represent different shades of purple) can be extracted to represent apples 1804 and 1806. A large number of pixels in the blue channel data 1808 (e.g., up to 100,000 pixels at one color value) have values between 0 and 75, and therefore are likely to represent apples 1804 and 1806. Another large number of pixels (e.g., up to 145,000 pixels at one color value) have color values between 100 and 175. This number of pixels can represent the background. Pixels with color values between 75 and 100 may represent either apples 1804 and 1806 or the background. Therefore, during RGB pixel extraction, it may sometimes be impossible to extract portions of apples 1804 and 1806 from blue channel data 1808. As a result, portions of apples 1804 and 1806 may be missing, as shown in apple binary mask 1812. In some embodiments, portions of the background may be present in the extracted apple data. Depending on the threshold used, some pixels of apples 1804 and 1806 may be missing (e.g., when 75 is used as a threshold) and / or some pixels of unwanted background may appear in the extracted data (e.g., when 100 is used as a threshold). If portions of apples 1804 and 1806 are missing from apple binary mask 1812, or if portions of the background are present, the computer system may not be able to accurately quantify color changes in apples 1804 and 1806.
[0224] Thus, the computer system can also identify and extract apples 1804 and 1806 using clustering technique 1814. Clustering 1814 can more accurately extract apples 1804 and 1806, such that fewer or no missing portions of apples 1804 and 1806 are missing. Thus, the computer system can more accurately quantify the color changes in apples 1804 and 1806. Clustering apples 1804 and 1806 can generate apple binary mask 1816. Compared to the gaps and portions of apples 1804 and 1806 that are missing in apple binary mask 1812, the complete apples 1804 and 1806 can be extracted using clustering technique 1814, as shown in apple binary mask 1816.
[0225] The computer system can identify color values indicative of apples 1804 and 1806 and background from the image data 1802. The computer system can then cluster the identified color values. In other words, the computer system can plot all color channels in a 3D space and then identify clusters of different colors. The computer system can identify which clusters indicate apples and which clusters indicate background by finding clusters of colors in a particular 3D space. Using the discrimination technique, the computer system can select which clusters to keep (e.g., clusters indicating apples) and remove unselected clusters (e.g., clusters indicating background).
[0226] In cluster 1814 Fig.18 For the example of apples 1804 and 1806, 4 different color clusters are identified. Cluster 0 represents the purple channel. Cluster 1 represents the dark blue channel. Cluster 2 represents the light blue channel. Cluster 3 represents the green channel. Incidentally, clusters 0, 1, 2, and 3 appear in 3D space, and the computer system can determine that clusters 1 and 2 represent apples 1804 and 1806, while clusters 0 and 3 represent the background. For example, the clustering model can generate a list of centers of the clusters in RGB space. The computer system can then use this information to determine which 2 clusters are in the background, thereby discarding all pixels in these 2 clusters. Thus, the computer system can select and extract clusters 1 and 2. Therefore, apple binary mask 1816 depicts clearer, more defined shapes of apples 1804 and 1806 compared to apple binary mask 1812, which includes more gaps or missing portions from apples 1804 and 1806.
[0227] The blue channel histogram 1810 may be beneficial for one or more types of produce, such as avocados, limes, and lemons. The blue channel histogram 1810 may not be preferred for other types of produce that may have more colors, such as apples and mangoes. Clustering 1814 may be used for any type of produce being imaged.
[0228] The techniques described herein can be used with hyperspectral images of apples 1804 and 1806 to detect quality attributes such as the firmness of apples 1804 and 1806. Quality attributes such as firmness can be more effective indicators of the duration of apples 1804 and 1806 than the color and / or volume of other types of agricultural products (such as avocados, lemons, and limes). The computer system can use one or more machine learning models that are trained to predict the firmness of apples 1804 and 1806 based on hyperspectral images. The model can be trained with training image data labeled with firmness measurements captured by a penetrometer. The model can be trained based on a combination of penetrometer firmness measurements and hyperspectral training image data to predict the firmness of apples 1804 and 1806. The computer system can then use the firmness of apples 1804 and 1806 to determine the duration of apples 1804 and 1806.
[0229] Fig.19 1900 is an example shelf life analysis of apples using the disclosed techniques. A computer system, such as computer system 110, may receive image data 1802 of apples 1804 and 1806. The computer system may also receive image data 1802 of apples 1804 and 1806 at one or more different time intervals throughout the time period during which the apples 1804 and 1806 are imaged. The computer system may process image data, such as image data 1802, to determine quality attributes of the apples 1804 and 1806 over time. The computer system may determine the quality attributes of each of the apples 1804 and 1806. Apples with indexes or identifiers 0-7 are untreated apples 1804, and apples with indexes or identifiers 8-15 are treated apples 1806. Based on how the quality attributes change over time, the computer system may determine the duration of each of the apples 1804 and 1806. For example, the computer system may determine the duration of the apples 1804 and 1806 based on a change in color, a change in volume, or a combination of both.
[0230] Graph 1902 depicts the shelf life of apples 1804 and 1806 based on color change. A threshold color change can be used to determine at what point in time each of apples 1804 and 1806 reaches the end of its shelf life. The threshold color change can be up to 13 color distances. In other words, the threshold color change can be a color distance of 13 from the original color of apples 1804 and 1806 on the first day of imaging (e.g., statistically measured color values, as described throughout this disclosure). As shown in graph 1902, untreated apples 1804 (apples 0-7) reached the threshold color change within 20 to 60 days after first imaging. Treated apples 1806 (apples 8-15) reached the threshold color change within more than 100 days after first imaging. Therefore, a lower limit can be set for the duration of the treated apples. Thus, by treating apples 1806 in the shelf-life extension coating solution, apples 1806 last at least 2.4 times longer (eg, ripeness, edibility, shelf life, marketability) than untreated apples 1804.
[0231] Graph 1904 depicts the shelf life of apples 1804 and 1806 based on color change over time. As mentioned above, the threshold color change is a color distance of 13 from the original color (e.g., statistically measured color value) of apples 1804 and 1806 on the first day of imaging. As shown in graph 1904, untreated apples 1804 reached the threshold color change within 20 to 60 days after the first imaging. On the other hand, treated apples 1806 never exceeded the threshold color change within 100 days. Because apples 1806 were treated in the shelf life extension coating solution, treated apples 1806 experienced a longer duration than untreated apples 1804.
[0232] Graph 1906 depicts the volume changes of apples 1804 and 1806 over time. The volume changes of apples are generally not as large as other agricultural products (such as avocados and mangoes). Therefore, the change in volume over time may not be an effective quality attribute for measuring the duration of apples. In any case, on average, graph 1906 shows that the volume of treated apples 1806 shrinks much slower than that of untreated apples 1804. The volume of treated apples 1806 shrinks at a constant rate, shrinking from 1.0 volume to 0.9 volume in 100 days. On the other hand, the volume of untreated apples 1804 shrinks at a random, sporadic rate. The volume of untreated apples 1804 shrinks from 1.0 volume to 0.8 or less volume on average in 100 days. Therefore, graph 1906 shows that the volume of untreated apples 1804 shrinks more significantly over time than that of treated apples 1906. Thus, the treated apples 1806 have a longer duration (eg, shelf life, edibility, marketability, maturity) than the untreated apples 1804 .
[0233] Fig. 20 2000 is a flow chart of process 2000 for determining which quality metrics, machine learning models, and / or quality thresholds to select for a type of produce imaged over time. Process 2000 may be performed as part of block 312 in process 300 when a computer system applies one or more machine learning models and / or algorithms to an extracted produce (e.g., see Figure 3A-3B ). Process 2000 may also be performed before or after one or more other blocks in process 300. For example, process 2000 may be performed as part of performing object detection to identify a bounding box for each produce in the image data (block 304 in process 300). Process 2000 may be performed once for all produce in the image data. For example, process 2000 may be performed the first time the produce is imaged (e.g., day 1).
[0234] Process 2000 may be performed by computer system 110. Process 2000 may also be performed by one or more other computers, computer systems, devices, cloud-based services, and / or networks of computers and / or devices. For example, process 2000 may be performed by an edge computing device. For illustrative purposes, process 2000 is described from the perspective of a computer system.
[0235] Referring to process 2000, a computer system may identify a type of agricultural product in image data (2002). The computer system may apply one or more machine learning trained models to the image data, which models may be trained to identify the type of agricultural product present in the image data. In some embodiments, the computer system may receive metadata with the image data, the metadata including an identifier for identifying the agricultural product. In yet other embodiments, a user may provide information identifying the agricultural product as input to the computer system.
[0236] Then, in block 2004, the computer system may select one or more duration scoring metrics from the plurality of metrics for the identified produce type. In other words, the computer system may retrieve from the data repository one or more metrics that may be used to determine the duration of a particular type of produce. For example, if the produce was identified as an avocado in block 2002, the computer system may use the avocado identifier to select which quality metrics to use to determine the duration of the produce. Thus, if the duration of an avocado is typically determined using a change in color and a change in volume of the avocado, the computer system may select color and volume as metrics to be used in the duration score. Figure 3A-3B As another example, if the produce is identified as an apple in block 2002, the computer system may use the apple identifier to select a particular quality metric from the data repository for determining the duration of the apple. In some implementations, the selected quality metric may be color only, firmness only, and / or a combination of one or more other quality attributes described throughout this disclosure.
[0237] In 2006, the computer system may select one or more threshold values for the selected one or more metrics of the identified agricultural product type. The computer system may use an identifier indicating the agricultural product type to determine which threshold values to use when determining the duration of the agricultural product (e.g., shelf life, edibility, marketability, maturity). For example, if the agricultural product is identified as an avocado and the computer system selects color and volume as quality metrics, the computer system may select appropriate threshold levels for the avocado based on color and volume. In other words, the computer system may determine a threshold level for the shelf life of the avocado based on color and a threshold level for the shelf life of the avocado based on volume. These threshold levels may be predetermined by the computer system and / or relevant stakeholders. These threshold levels may be stored in a data repository or other storage device and accessed later by the computer system. As described above, threshold levels may be selected for all agricultural products in the image data when the agricultural product is first imaged. The same selected threshold levels may then be used for subsequent time intervals throughout the imaging time period.
[0238] The computer system may also select one or more machine learning models and / or algorithms for the selected one or more metrics for the identified type of produce (2008). The computer system may use an identifier indicating the type of produce to determine which models and / or algorithms to use to determine the duration of the produce. For example, if the produce is identified as a mango and the computer system selects a quality metric of wrinkles, the computer system may select from the data repository one or more models and / or algorithms for identifying and quantifying wrinkles in the mango. The computer system may also select from the data repository one or more models and / or algorithms for determining the duration of the mango based on identifying and quantifying wrinkles over time.
[0239] The computer system may perform blocks 2004, 2006, and 2008 in any order. The computer system may perform blocks 2004, 2006, and 2008 serially. In some implementations, the computer system may perform blocks 2004, 2006, and 2008 simultaneously (eg, in parallel).
[0240] The computer system then applies one or more selected machine learning models and / or algorithms to the extracted produce in the image data in 2010. The computer system may apply the models and / or algorithms to the image data to determine a duration score metric for the produce and a duration of the produce. Thus, the computer system may return to block 314 in process 300 to determine a duration score metric for the extracted produce.
[0241] Fig.21 21 is a flow chart of a process 2100 for comparing the shelf life of treated produce to untreated produce to determine one or more modifications to a shelf life extension coating solution. Process 2100 may be performed once a computer system determines a duration score for produce (treated and untreated) imaged over a period of time. Process 2100 may be performed autonomously and / or semi-autonomously by a computer system. In some embodiments, one or more blocks in process 2100 may be performed by a relevant stakeholder (e.g., a user) in a supply chain.
[0242] Process 2100 may be performed by computer system 110. Process 2100 may also be performed by one or more other computers, computer systems, devices, cloud-based services, and / or networks of computers and / or devices. For example, process 2100 may be performed by an edge computing device. For illustrative purposes, process 2100 is described from the perspective of a computer system.
[0243] Referring to process 2100, at 2102, the computer system can retrieve duration scores for untreated produce and treated produce of the same produce type. The duration scores can be stored and accessed in one or more data repositories, databases, and / or cloud-based storage services. The computer system can use Figure 3A-3B Process 300 in retrieves each duration score determined for each produce in the image data. In some embodiments, the computer system may retrieve an average duration score for all of the treated produce in the image data and an average duration score for all of the untreated produce in the image data. In yet other embodiments, the computer system may retrieve duration scores for different batches of the same type of produce, for treated produce and untreated produce. For example, duration scores for a first batch of treated and untreated avocados imaged during a first time period may be retrieved. Duration scores for a second batch of treated and untreated avocados imaged during a second time period may also be retrieved.
[0244] The computer system may then compare the duration score of the untreated produce to the duration score of the treated produce of the same produce type (2104). The computer system may compare the duration scores by plotting the changes in quality attributes (e.g., duration score metrics) of the treated and untreated produce into one or more graphical depictions (e.g., line graphs, histograms, bar graphs, etc.). The computer system may also compare the duration scores of the treated and untreated produce based on finding differences between the scores and / or determining the extent to which each duration score deviates from a threshold level / range.
[0245] The computer system can identify one or more differences in the duration of the untreated agricultural product and the treated agricultural product (2106). As mentioned above, the computer system can determine the degree to which each duration score deviates from the threshold level / range. The computer system can determine how large the duration score of the treated agricultural product is compared to the duration score of the untreated agricultural product. This difference in duration scores can indicate how much the duration of the treated agricultural product is extended by applying the shelf-life extension coating solution. The difference in duration scores can also be used to determine whether the shelf-life extension coating solution is sufficiently effective and / or whether the shelf-life extension coating solution can be modified to further enhance the solution's improvement in the duration of the agricultural product.
[0246] Thus, the computer system can determine one or more modifications to the shelf-life-extending coating solution based on the identified one or more differences (2108). For example, using one or more machine learning training algorithms, the computer system can generate recommendations for modifying the shelf-life-extending coating solution that can improve the duration of the agricultural product treated with such solution. In some embodiments, relevant stakeholders can determine one or more modifications to the shelf-life-extending coating solution with or without the assistance of the computer system's models, algorithms, and / or techniques.
[0247] One or more different modifications can be determined. For example, the modification can include increasing or decreasing the formulation concentration of the shelf-life extension coating solution. The concentration of the formulation can determine the thickness of the solution. For climatological fruits such as avocados, there can be an optimal concentration because climatological fruits mature by respiration (e.g., consuming oxygen and releasing CO2). The solution extends the shelf life by reducing the rate of this respiration process, but if this process is reduced too much, the fruit may not mature and thus deteriorate. A concentration that is too low may also not be desired because it will result in a shorter shelf life extension time than it should be. As part of the agricultural product development process, each agricultural product can also have different formulations and concentrations based on its characteristics.
[0248] Other example modifications may include adding a wetting agent to the concentration of the formulation. Different produce can have different surfaces, and depending on the type of surface, the formulation may spread evenly, wetting and covering the entire surface (optimal), or the formulation may concentrate as droplets on the surface, thus forming an uneven barrier, which can reduce shelf life extension performance. Therefore, adding a wetting agent can help improve wetting and create a more uniform coating for the produce.
[0249] Another example modification may include modifying the shelf life extension coating solution application process. For example, the speed of the brush bed used for application may be increased (e.g., to increase yield) or decreased (e.g., to ensure better coating coverage). As another example, the temperature of the dryer may be increased to ensure that the coating is completely dried on the produce or decreased to ensure that no damage is caused to the produce (which may depend on the characteristics of the produce, such as the size of the produce, the thickness of the produce peel, etc.).
[0250] Optionally, in 2110, the computer system may modify the shelf-life extension coating solution. For example, the computer system may instruct one or more equipment or other computing systems to adjust the concentration level of one or more compounds or elements comprising the shelf-life extension coating solution. In some embodiments, the computer system may transmit instructions, suggestions, and / or guidance to a user device, which may be viewed by relevant stakeholders in the supply chain. The relevant stakeholders may then determine whether to implement any one of the instructions, suggestions, and / or guidance to modify the shelf-life extension coating solution. The relevant stakeholders may manually implement the determined modifications. In some embodiments, the relevant stakeholders may control one or more other computing systems and / or devices to autonomously or semi-autonomously implement the determined modifications.
[0251] Optionally, in 2112, the computer system may apply the modified shelf-life extension coating solution to a batch of agricultural products of the same agricultural product type. Once the solution is modified, the computer system may, for example, transmit instructions to another computing system and / or equipment so that the equipment automatically coats subsequent batches of agricultural products in the modified solution. In some embodiments, the computer system may transmit instructions to apply the modified solution to agricultural products to user devices of one or more relevant stakeholders. The relevant stakeholders may then manually apply the modified solution to subsequent batches of agricultural products and / or control equipment to apply the modified solution. In some embodiments, the relevant stakeholders may also approve the modification of the solution so that one or more computing systems and / or equipment semi-autonomously apply the modified solution to agricultural products.
[0252] Fig. 22 2200 is a block diagram of system components that can be used to implement a system for evaluating the quality of one or more food products. Computing device 2200 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Mobile computing devices are intended to represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, and other similar computing devices. The components shown here, their connections and relationships, and their functions are exemplary only and are not meant to limit the embodiments of the invention described and / or claimed in this document.
[0253] The computing device 2200 includes a processor 2202, a memory 2204, a storage device 2206, a high-speed interface 2208 connected to the memory 2204 and a plurality of high-speed expansion ports 2210, and a low-speed interface 2212 connected to a low-speed expansion port 2214 and the storage device 2206. Each of the processor 2202, the memory 2204, the storage device 2206, the high-speed interface 2208, the high-speed expansion port 2210, and the low-speed interface 2212 is interconnected using various buses and can be installed on a common motherboard or in other appropriate ways. The processor 2202 can process instructions for execution within the computing device 2200 (including instructions stored in the memory 2204 or on the storage device 2206) to display graphical information for a GUI on an external input / output device (such as a display 2216 coupled to the high-speed interface 2208). In other embodiments, multiple processors and / or multiple buses, as well as multiple memories and multiple types of memories, can be used appropriately. Furthermore, multiple computing devices may be connected, with each device providing a portion of the necessary operations (eg, as a server bank, a group of blade servers, or a multi-processor system).
[0254] The memory 2204 stores information within the computing device 2200. In some implementations, the memory 2204 is one or more volatile memory units. In some implementations, the memory 2204 is one or more non-volatile memory units. The memory 2204 may also be another form of computer-readable medium, such as a magnetic disk or optical disk.
[0255] Storage device 2206 can provide mass storage for computing device 2200. In some embodiments, storage device 2206 can be or include computer readable media, such as floppy disk devices, hard disk devices, optical disk devices or tape devices, flash memory or other similar solid-state memory devices, or device arrays including devices in storage area networks or other configurations. Computer program products can be tangibly implemented in information carriers. Computer program products can also include instructions for executing one or more methods (such as those described above) when executed. Computer program products can also be tangibly implemented in computer or machine readable media, such as memory 2204, storage device 2206, or memory on processor 2202.
[0256] The high-speed interface 2208 manages bandwidth-intensive operations of the computing device 2200, while the low-speed interface 2212 manages less bandwidth-intensive operations. This allocation of functions is exemplary only. In some embodiments, the high-speed interface 2208 is coupled to the memory 2204, the display 2216 (e.g., through a graphics processor or accelerator), and to a high-speed expansion port 2210 that can accept various expansion cards (not shown). In an embodiment, the low-speed interface 2212 is coupled to the storage device 2206 and the low-speed expansion port 2214. The low-speed expansion port 2214, which can include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet), can be coupled to one or more input / output devices, such as a keyboard, a pointing device, a scanner, or a networking device such as a switch or router, for example, through a network adapter.
[0257] As shown, computing device 2200 can be implemented in a variety of different forms. For example, it can be implemented as a standard server 2220, or implemented multiple times in a group of such servers. In addition, it can be implemented in a personal computer such as a laptop computer 2222. It can also be implemented as part of a rack server system 2224. Alternatively, components from computing device 2200 can be combined with other components in a mobile device (not shown) such as a mobile computing device 2250. Each of such devices can contain one or more of computing device 2200 and mobile computing device 2250, and the entire system can be composed of multiple computing devices that communicate with each other.
[0258] The mobile computing device 2250 includes a processor 2252, a memory 2264, an input / output device such as a display 2254, a communication interface 2266, and a transceiver 2268, among other components. The mobile computing device 2250 may also be provided with a storage device such as a micro drive or other device to provide additional storage. Each of the processor 2252, the memory 2264, the display 2254, the communication interface 2266, and the transceiver 2268 are interconnected using various buses, and several of the components may be mounted on a common motherboard or in other suitable ways.
[0259] The processor 2252 can execute instructions within the mobile computing device 2250, including instructions stored in the memory 2264. The processor 2252 can be implemented as a chipset chip that includes separate multiple analog and digital processors. The processor 2252 can provide, for example, coordination of other components of the mobile computing device 2250, such as control of a user interface, applications running on the mobile computing device 2250, and wireless communications of the mobile computing device 2250.
[0260] The processor 2252 can communicate with the user through the control interface 2258 and the display interface 2256 coupled to the display 2254. The display 2254 can be, for example, a TFT (thin film transistor liquid crystal display) display or an OLED (Organic Light Emitting Diode) display, or other suitable display technology. The display interface 2256 may include appropriate circuit systems for driving the display 2254 to present graphical information and other information to the user. The control interface 2258 can receive commands from the user and convert them to submit to the processor 2252. In addition, the external interface 2262 can provide communication with the processor 2252 so as to enable the mobile computing device 2250 to communicate with other devices in a near area. The external interface 2262 can, for example, provide wired communication in some embodiments, or provide wireless communication in other embodiments, and multiple interfaces can also be used.
[0261] The memory 2264 stores information within the mobile computing device 2250. The memory 2264 may be implemented as one or more computer-readable media, one or more volatile storage units, or one or more non-volatile storage units. An expansion memory 22224 may also be provided and connected to the mobile computing device 2250 via an expansion interface 22222, which may include, for example, a SIMM (Single In Line Memory Module) card interface. The expansion memory 22224 may provide additional storage space for the mobile computing device 2250, or may also store applications or other information for the mobile computing device 2250. Specifically, the expansion memory 2274 may include instructions to perform or supplement the above-mentioned processes, and may also include security information. Thus, for example, the expansion memory 22224 may be provided as a security module of the mobile computing device 2250, and may be programmed with instructions that allow the secure use of the mobile computing device 2250. In addition, security applications and additional information may be provided via a SIMM card, such as placing identification information on the SIMM card in an unbreakable manner.
[0262] The memory may include, for example, flash memory and / or NVRAM memory (non-volatile random access memory), as described below. In some embodiments, a computer program product is tangibly implemented in an information carrier. The computer program product contains instructions that, when executed, perform one or more methods (such as those described above). The computer program product can be a computer or machine readable medium, such as memory 2264, expansion memory 22224, or memory on processor 2252. In some embodiments, the computer program product can be received in a propagated signal, for example, by transceiver 2268 or external interface 2262.
[0263] The mobile computing device 2250 can communicate wirelessly through the communication interface 2266, which may include a digital signal processing circuit system if necessary. The communication interface 2266 can provide communication under various modes or protocols, such as GSM voice calls (Global System for Mobile communication), SMS (Short Message Service), EMS (Enhanced Messaging Service) or MMS messaging (Multimedia Messaging Service), CDMA (Code Division Multiple Access), TDMA (Time Division Multiple Access), PDC (Personal Digital Cellular), WCDMA (Wideband Code Division Multiple Access), CDMA2000 or GPRS (General Packet Radio Service), etc. Such communication can occur, for example, through a transceiver 2268 using radio frequency. In addition, short-range communication may occur, such as using Bluetooth, WiFi or other such transceivers (not shown). In addition, the GPS (Global Positioning System) receiver module 22220 can provide additional navigation and location-related wireless data to the mobile computing device 2250, which can be used appropriately by applications running on the mobile computing device 2250.
[0264] The mobile computing device 2250 may also communicate audibly using an audio codec 2260 that may receive verbal information from a user and convert it into usable digital information. The audio codec 2260 may likewise generate audible sounds for the user (such as through a speaker), for example in a handset of the mobile computing device 2250. Such sounds may include sounds from voice phone calls, may include recorded sounds (e.g., voice messages, music files, etc.), and may also include sounds generated by applications operating on the mobile computing device 2250.
[0265] Mobile computing device 2250 can be implemented in many different forms, as shown in the figure. For example, it can be implemented as a cellular phone 2280. It can also be implemented as part of a smart phone 2282, a personal digital assistant or other similar mobile device.
[0266] Various implementations of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs executable and / or interpretable on a programmable system, the programmable system including at least one programmable processor (which may be special-purpose or general-purpose) coupled to receive data and instructions from a storage system, at least one input device, and at least one output device, and to send data and instructions to the storage system, at least one input device, and at least one output device.
[0267] These computer programs (also referred to as programs, software, software applications or codes) include machine instructions for a programmable processor and may be implemented in high-level procedural and / or object-oriented programming languages and / or in assembly / machine languages. As used herein, the terms machine-readable medium and computer-readable medium refer to any computer program product, apparatus and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including machine-readable media that receive machine instructions as machine-readable signals. The term machine-readable signal refers to any signal for providing machine instructions and / or data to a programmable processor.
[0268] To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or an LCD (liquid crystal display)) for displaying information to the user and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback, (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, voice input, or tactile input.
[0269] The systems and techniques described herein can be implemented in a computing system that includes a back-end component (e.g., as a data server), or includes a middleware component (e.g., an application server), or includes a front-end component (e.g., a client computer with a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0270] A computing system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises from computer programs running on the respective computers and having a client-server relationship to each other.
[0271] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of the disclosed technology or what may be claimed, but rather as descriptions of features that may be specific to a particular disclosed technology. Certain features described in the context of a single embodiment in this specification may also be implemented in part or in whole in combination in a single embodiment. On the contrary, the various features described in the context of a single embodiment may also be implemented in multiple embodiments individually or in any suitable sub-combination. Moreover, although features may be described herein as acting in certain combinations and / or initially claimed as such, in some cases, one or more features in the claimed combination may be deleted from the combination, and the claimed combination may be directed to a sub-combination or a variation of a sub-combination. Similarly, although operations may be described in a particular order, this should not be understood as requiring such operations to be performed in a particular order or in a sequential order, or to perform all operations to obtain the desired result. Specific embodiments of this subject matter have been described. Other embodiments are within the scope of the following claims.
[0272] While the disclosed inventive concepts include the inventive concepts defined in the appended claims, it should be understood that the inventive concepts can also be defined according to the following embodiments.
[0273] In addition to the embodiments of the appended claims and the embodiments described above, the following numbered embodiments are also inventive.
[0274] Embodiment 1 includes a method for determining the duration of an agricultural product using image data, the method comprising: receiving, by a computing system and from an imaging device, image data of an agricultural product captured at consistent time intervals during a time period, wherein the image data includes one or more treated agricultural products coated with a shelf-life extending coating solution during the time period and one or more untreated agricultural products not coated with a shelf-life extending coating solution, wherein the treated agricultural products and the untreated agricultural products are the same type of agricultural product; performing, by the computing system, an object detection technique on the image data to identify a bounding box around each agricultural product in the image data; identifying, by the computing system, a quality attribute of each agricultural product in each bounding box at each time interval during the time period; determining, by the computing system and for each agricultural product in the image data, one or more duration score metrics based on comparing the quality attributes of the agricultural products identified within the time period; and transmitting, by the computing system, the one or more duration score metrics for each agricultural product to a user device for display in a graphical user interface (GUI) .
[0275] Embodiment 2 is the method of embodiment 1, further comprising storing, by the computing system, in a data repository and for each agricultural product, (i) the bounding box, (ii) the quality attribute, and (iii) the duration score metric.
[0276] Embodiment 3 is the method of embodiment 1 or 2, further comprising: determining, by the computing system, a grid structure for the image data; and assigning, by the computing system, a grid index in the grid structure to each bounding box, wherein the grid index is used to identify agricultural products in the bounding box.
[0277] Embodiment 4 is the method of any of embodiments 1-3, further comprising determining, by a computing system, a duration score for the agricultural product in the image data based on determining an extension of shelf life duration from the one or more duration score metrics, wherein the extension of shelf life duration is experienced by the treated agricultural product compared to untreated agricultural product during the time period.
[0278] Embodiment 5 is the method of embodiment 4, further comprising determining, by the computing system and based at least in part on the one or more duration score metrics and the duration score of the produce, one or more modifications to the shelf-life extension coating solution.
[0279] Embodiment 6 is the method of embodiment 5, further comprising transmitting, by the computing system to a controller of a supply chain participant, instructions to modify the shelf-life extension coating solution based on the determined one or more modifications.
[0280] Embodiment 7 is the method of embodiment 5, wherein the one or more modifications include instructions that, when executed by a supply chain participant, cause at least one of the following: (i) increasing the concentration of one or more components of the shelf-life extending coating solution, (ii) decreasing the concentration of one or more components of the shelf-life extending coating solution, (iii) applying the shelf-life extending coating solution to a batch of untreated agricultural produce of the same agricultural produce type, (iv) increasing the amount of the shelf-life extending coating solution to be applied to a subsequent batch of untreated agricultural produce of the same agricultural produce type, and (v) decreasing the amount of the shelf-life extending coating solution to be applied to a subsequent batch of untreated agricultural produce of the same agricultural produce type.
[0281] Embodiment 8 is the method of any of embodiments 1-7, wherein the quality attribute comprises at least one of color, volume, hardness, wrinkles, rot, and mold.
[0282] Embodiment 9 is the method of any one of embodiments 1-8, further comprising: mapping, by a computing system, RGB values in the image data into a three-dimensional (3D) space; identifying, by the computing system, clusters of RGB values in the 3D space; selecting, by the computing system, one or more clusters having a threshold central color among the clusters in the 3D space; and extracting, by the computing system, the selected one or more clusters from the image data, wherein the selected one or more clusters represent processed agricultural products and unprocessed agricultural products in the image data.
[0283] Embodiment 10 is a method of any one of embodiments 1-9, wherein: identifying, by a computing system, the quality attributes of each agricultural product in each bounding box includes identifying color values of all pixels in the bounding box, and determining, by the computing system and for each agricultural product in the image data, one or more duration scoring metrics includes: determining the distance between each identified color value in the image data and a statistically measured color value of the agricultural product; determining whether the distance between each identified color value and the statistically measured color value at each time interval exceeds a threshold level; identifying the duration scoring metric for each agricultural product as the time interval when the distance between each identified color value and the statistically measured color value during the time period exceeds the threshold level; and generating an output that visually depicts the distance between each identified color value and the statistically measured color value of the agricultural product at each time interval during the time period.
[0284] Embodiment 11 is the method of embodiment 10, wherein the statistical measured color value is determined by a computing system based on: receiving image data of the agricultural product at a first time interval during the time period from an imaging device; identifying color values of all pixels representing the agricultural product in the image data at the first time interval; and calculating the statistical measured color value of the agricultural product in the image data based on averaging the identified color values.
[0285] Embodiment 12 is the method of embodiment 11 or 12, wherein the statistically measured color value represents an average color of the treated produce and the untreated produce when the imaging device images the produce at a first time interval during the time period.
[0286] Embodiment 13 is the method of any one of embodiments 1-12, wherein, for each agricultural product in the image data, the one or more duration score metrics correspond to at least one of the maturity, the end of maturity, the length of maturity, the shelf life, the end of the shelf life, the length of the shelf life, the edibility, the end of edibility, the length of edibility, the saleability, the end of saleability, and the length of saleability of the agricultural product.
[0287] Embodiment 14 is a method of any one of embodiments 1-13, wherein identifying the quality attributes of each agricultural product in each bounding box by a computing system includes: determining the area of the agricultural product in the bounding box based on counting the number of pixels representing the agricultural product in the bounding box; determining the radius of the agricultural product based on the area and circular area formula; and determining the volume of the agricultural product at each time interval based on the radius and spherical volume formula, wherein determining one or more duration scoring metrics by the computing system and for each agricultural product in the image data also includes: determining the change in the volume of the agricultural product at each time interval relative to the volume of the agricultural product at a first time interval; determining whether the change in volume exceeds a threshold level; identifying the duration scoring metric for each agricultural product as the time interval when the change in volume during the time period exceeds the threshold level; and generating an output that visually depicts the change in volume of each agricultural product at each time interval during the time period.
[0288] Embodiment 15 is the method of embodiment 14, wherein the threshold level is a 10% volumetric contraction between the volume of the produce at one of the time intervals and the volume of the produce at the first time interval.
[0289] Embodiment 16 is the method of any one of embodiments 1-15, wherein identifying, by the computing system, the quality attributes of each agricultural product in each bounding box comprises: determining a grid structure of the agricultural product in the bounding box; retrieving a machine learning trained wrinkle model from a data repository; and applying the wrinkle model to each grid cell in the grid structure to identify one or more tiles of wrinkles, wherein determining, by the computing system and for each agricultural product in the image data, one or more duration score metrics comprises: counting a portion of grid cells of tiles with wrinkles for the bounding box; determining whether the portion of grid cells of the tiles with wrinkles exceeds a threshold level; identifying the duration score metric of the agricultural product as a percentage coverage of wrinkles based on determining that the portion of grid cells of the tiles with wrinkles exceeds the threshold level; and generating an output that visually depicts the percentage coverage of wrinkles of the agricultural product.
[0290] Embodiment 17 is the method of embodiment 16, wherein a set of training image data of other agricultural products of the same type is used to train a machine learning trained wrinkle model, and the set of training image data is labeled based on previously identifying a first portion of the other agricultural products as having wrinkles and identifying a second portion of the other agricultural products as not having wrinkles.
[0291] Embodiment 18 is the method of any one of embodiments 1-17, wherein identifying, by a computing system, the quality attributes of each agricultural product in each bounding box comprises: determining a grid structure of the agricultural product in the bounding box; retrieving a quality feature model trained by machine learning from a data repository; and applying the quality feature model to each grid cell in the grid structure to identify one or more quality features, wherein determining, by the computing system and for each agricultural product in the image data, one or more duration score metrics comprises: counting a portion of grid cells having quality features for the bounding box; determining whether the portion of grid cells having quality features exceeds a threshold level; identifying a duration score metric for the agricultural product as a percentage coverage of the quality features based on determining that the portion of grid cells having quality features exceeds the threshold level; and generating an output that visually depicts the percentage coverage of the quality features of the agricultural product.
[0292] Embodiment 19 is the method of embodiment 18, wherein a set of training image data of other agricultural products of the same type is used to train a quality feature model trained by machine learning, and the set of training image data is labeled based on previously identifying a first portion of the other agricultural products as having one or more of the quality features and identifying a second portion of the other agricultural products as not having the quality features.
[0293] Embodiment 20 is the method of embodiment 18 or 19, wherein the quality characteristic comprises at least one of hardness, internal bruises, external bruises, internal infection, external infection, internal decay, external decay, dry matter content, pH, and sugar content.
[0294] Embodiment 21 is the method of any of embodiments 1-20, wherein the agricultural product in the image data is avocados, (i) the quality attribute is at least one of color, volume, firmness, and maturity, and (ii) the one or more duration scoring metrics are at least one of a change in color over the time period, a change in volume over the time period, a change in firmness over the time period, and a change in maturity over the time period.
[0295] Embodiment 22 is the method of any of embodiments 1-20, wherein the agricultural product in the image data is limes, the quality attribute is at least one of color and volume, and the one or more duration scoring metrics are at least one of a change in color and a change in volume over the time period.
[0296] Embodiment 23 is the method of any one of embodiments 1-20, wherein the agricultural product in the image data is apples, (i) the quality attribute is at least one of color and firmness, and (ii) the one or more duration scoring metrics are at least one of a change in color over the time period and a change in firmness over the time period.
[0297] Embodiment 24 is the method of any one of embodiments 1-23, further comprising: identifying, by a computing system, an agricultural product type of the agricultural product in the image data at a first time interval during the time period; selecting, by the computing system, one or more types of duration scoring metrics for the identified agricultural product type from a plurality of duration scoring metrics; selecting, by the computing system, one or more threshold levels for the selected types of duration scoring metrics for the identified agricultural product type; identifying, by the computing system, quality attributes corresponding to each selected type of duration scoring metric; and determining, by the computing system, the selected one or more duration scoring metrics based on comparing the identified quality attributes with the selected one or more threshold levels.
[0298] Embodiment 25 is the method of any one of embodiments 1-24, further comprising: retrieving, by a computing system, duration score metrics of the processed agricultural products and the unprocessed agricultural products within the time period from a data repository; identifying, by the computing system, one or more differences between the duration score metrics of the processed agricultural products and the duration score metrics of the unprocessed agricultural products; and generating, by the computing system, an output indicating the one or more identified differences.
[0299] Embodiment 26 is the method of embodiment 25, wherein the generated output includes one or more modifications to the shelf-life extension coating solution, the one or more modifications determined by the computing system based on the one or more identified differences.
[0300] Embodiment 27 is the method of any of embodiments 1 to 26, wherein the produce is at least one of avocados, limes, lemons, apples, and mangoes.
[0301] Embodiment 28 is the method of any one of embodiments 1-27, wherein the image data comprises at least one of color data, an RGB color model, hyperspectral image data, time-lapse video data, and time-lapse hyperspectral image data.
[0302] Embodiment 29 is a system for determining the duration of an agricultural product using image data, the system comprising: a conveyor system configured to route agricultural products along a pathway through a facility; one or more imaging devices positioned proximate the conveyor system and configured to capture image data of the agricultural products at consistent time intervals during a time period, wherein the agricultural products are of the same agricultural product type; and at least one computing system in communication with the one or more imaging devices, the at least one computing system configured to: receive image data of the agricultural products captured at consistent time intervals during the time period from the one or more imaging devices, wherein the image data includes one or more treated agricultural products coated with a shelf-life extending coating solution during the time period and agricultural products not coated with a shelf-life extending coating solution. The invention relates to a method for applying a coating solution to one or more untreated agricultural products for an extended period of time, wherein the treated agricultural products and the untreated agricultural products are the same agricultural product type; performing an object detection technique on the image data to identify a bounding box around each agricultural product in the image data; identifying a quality attribute of each agricultural product in each bounding box at each time interval during the time period, wherein the quality attribute includes at least one of color, volume, hardness, wrinkles, rot, and mold; determining one or more duration score metrics for each agricultural product in the image data based on comparing the quality attributes of the agricultural products identified during the time period; and transmitting the one or more duration score metrics for each agricultural product to a user device for display in a graphical user interface (GUI).
Claims
1. A method for determining the duration of an agricultural product using image data, the method comprising: receiving, by a computing system and from an imaging device, image data of an agricultural product captured at consistent time intervals during a time period, wherein the image data includes one or more treated agricultural products coated with a shelf-life-extending coating solution and one or more untreated agricultural products not coated with a shelf-life-extending coating solution during the time period, wherein the treated agricultural products and the untreated agricultural products are the same type of agricultural product; performing, by a computing system, an object detection technique on the image data to identify a bounding box around each agricultural product in the image data; identifying, by a computing system, a quality attribute of each agricultural product in each bounding box at each time interval during the time period; determining, by the computing system and for each agricultural product in the image data, one or more duration scoring metrics based on comparing the quality attributes of the agricultural product identified during the time period; as well as The one or more duration scoring metrics for each agricultural product are transmitted by the computing system to a user device for display in a graphical user interface (GUI).
2. The method of claim 1 , further comprising storing, by the computing system, in a data repository and for each agricultural product, (i) the bounding box, (ii) the quality attribute, and (iii) the duration score metric.
3. The method of claim 1, further comprising: determining, by a computing system, a grid structure for the image data; as well as A grid index in the grid structure is assigned by the computing system to each bounding box, wherein the grid index is used to identify the produce in the bounding box.
4. The method of claim 1 further comprising determining, by a computing system, a duration score for the agricultural product in the image data based on determining an increase in shelf life duration from the one or more duration score metrics, wherein the increase in shelf life duration is experienced by the treated agricultural product as compared to untreated agricultural product during the time period.
5. The method of claim 4, further comprising determining, by a computing system and based at least in part on the one or more duration score metrics and the duration score of the produce, one or more modifications to the shelf-life extension coating solution.
6. The method of claim 5, further comprising transmitting, by the computing system, instructions to a controller of a supply chain participant to modify the shelf-life extension coating solution based on the determined one or more modifications.
7. The method of claim 5, wherein the one or more modifications include instructions that, when executed by a supply chain participant, cause at least one of: (i) increasing the concentration of one or more components of the shelf-life extending coating solution, (ii) decreasing the concentration of one or more components of the shelf-life extending coating solution, (iii) applying the shelf-life extending coating solution to a batch of untreated produce of the same produce type, (iv) increasing the amount of the shelf-life extending coating solution to be applied to a subsequent batch of untreated produce of the same produce type, and (v) decreasing the amount of the shelf-life extending coating solution to be applied to a subsequent batch of untreated produce of the same produce type.
8. The method of claim 1, wherein the quality attribute comprises at least one of color, volume, hardness, wrinkles, rot, and mold.
9. The method of claim 1, further comprising: The computing system maps the RGB values in the image data into a three-dimensional (3D) space; identifying, by a computing system, clusters of RGB values in a 3D space; selecting, by the computing system, one or more clusters having a threshold center color among the clusters in the 3D space; as well as The selected one or more clusters are extracted from the image data by the computing system, wherein the selected one or more clusters represent processed produce and unprocessed produce in the image data.
10. The method of claim 1, wherein: Identifying, by the computing system, the quality attribute of each agricultural product within each bounding box includes identifying color values of all pixels within the bounding box, and Determining, by the computing system, one or more duration scoring metrics for each agricultural product in the image data includes: determining a distance between each identified color value in the image data and a statistically measured color value of the agricultural product; determining whether a distance between each identified color value and the statistically measured color value at each time interval exceeds a threshold level; identifying a duration score metric for each agricultural product as a time interval during which a distance between each identified color value and the statistically measured color value exceeds a threshold level; and An output is generated that visually depicts the distance between each identified color value and the statistically measured color value of the agricultural product at each time interval during the time period.
11. The method of claim 10, wherein the statistically measured color value is determined by a computing system based on: receiving, from an imaging device, image data of the produce at a first time interval during the time period; identifying color values of all pixels representing agricultural produce in the image data at a first time interval; as well as A statistically measured color value of the agricultural product in the image data is calculated based on averaging the identified color values.
12. The method of claim 10, wherein the statistically measured color value represents an average color of the treated produce and the untreated produce when the imaging device images the produce at a first time interval during the time period.
13. The method of claim 1, wherein: For each agricultural product in the image data, the one or more duration score metrics correspond to at least one of maturity, end of maturity, length of maturity, shelf life, end of shelf life, length of shelf life, edibility, end of edibility, length of edibility, saleability, end of saleability, and length of saleability of the agricultural product.
14. The method of claim 1, wherein identifying, by the computing system, the quality attribute of each agricultural product in each bounding box comprises: determining an area of the produce within the bounding box based on counting the number of pixels representing the produce within the bounding box; Determine the radius of the produce based on area and circular area formulas; as well as The volume of the produce at each time interval is determined based on the radius and spherical volume formula, Wherein determining, by the computing system, one or more duration scoring metrics for each agricultural product in the image data further comprises: determining a change in the volume of the produce at each time interval relative to the volume of the produce at the first time interval; determining whether the change in volume exceeds a threshold level; identifying a duration score metric for each produce as a time interval during which a change in volume exceeds a threshold level during the time period; and An output is generated that visually depicts the change in volume of each produce at each time interval during the time period.
15. The method of claim 14, wherein the threshold level is a 10% volumetric contraction between the volume of the produce at one of the time intervals and the volume of the produce at the first time interval.
16. The method of claim 1, wherein identifying, by the computing system, the quality attribute of each agricultural product in each bounding box comprises: Determine the grid structure of the agricultural products within the bounding box; Retrieve a machine learning trained wrinkle model from a data repository; as well as Applying the wrinkle model to each grid cell in the grid structure to identify one or more patches of wrinkles, Wherein determining, by the computing system, one or more duration scoring metrics for each agricultural product in the image data comprises: A portion of the grid cells of the tile with wrinkles is counted for the bounding box; determining whether the portion of grid cells of the tile having wrinkles exceeds a threshold level; identifying the duration scoring metric for the produce as a percentage coverage of wrinkles based on determining that the portion of the grid cells of the tile having wrinkles exceeds a threshold level; and Generates output that visually depicts the percentage coverage of wrinkles on produce.
17. The method of claim 16, wherein the machine learning trained wrinkle model is trained using a set of training image data of other agricultural products of the same type, wherein the set of training image data is labeled based on previously identifying a first portion of the other agricultural products as having wrinkles and a second portion of the other agricultural products as not having wrinkles.
18. The method of claim 1, wherein identifying, by the computing system, the quality attribute of each agricultural product in each bounding box comprises: Determine the grid structure of the agricultural products within the bounding box; Retrieving a machine learning trained quality feature model from a data repository; and Applying a quality characteristic model to each grid cell in the grid structure to identify one or more quality characteristics, Wherein determining, by the computing system, one or more duration scoring metrics for each agricultural product in the image data comprises: A portion of the grid cells having quality features is counted for a bounding box; determining whether the portion of the grid cells having the quality characteristic exceeds a threshold level; identifying the duration score metric for the agricultural product as a percentage coverage of the quality characteristic based on determining that the portion of the grid cells having the quality characteristic exceeds a threshold level; and Generate output that visually depicts the percentage coverage of quality characteristics of agricultural products.
19. The method of claim 18, wherein a set of training image data of other agricultural products of the same type is used to train the quality feature model trained by machine learning, wherein the set of training image data is labeled based on previously identifying a first portion of the other agricultural products as having one or more of the quality features and identifying a second portion of the other agricultural products as not having the quality features.
20. The method of claim 18, wherein the quality characteristic comprises at least one of hardness, internal bruises, external bruises, internal infection, external infection, internal decay, external decay, dry matter content, pH, and sugar content.
21. The method of claim 1, wherein the agricultural product in the image data is avocados, (i) the quality attribute is at least one of color, volume, firmness, and ripeness, and (ii) the one or more duration scoring metrics are at least one of change in color over the time period, change in volume over the time period, change in firmness over the time period, and change in ripeness over the time period.
22. The method of claim 1, wherein the agricultural product in the image data is oranges, the quality attribute is at least one of color and volume, and the one or more duration scoring metrics are at least one of a change in color and a change in volume over the time period.
23. The method of claim 1, wherein the agricultural product in the image data is apples, (i) the quality attribute is at least one of color and firmness, and (ii) the one or more duration scoring metrics are at least one of a change in color over the time period and a change in firmness over the time period.
24. The method of claim 1, further comprising: identifying, by a computing system, a produce type of the produce in the image data at a first time interval during the time period; selecting, by a computing system, one or more types of duration scoring metrics for the identified agricultural produce type from a plurality of duration scoring metrics; selecting, by the computing system, one or more threshold levels for a selected type of duration score metric for the identified agricultural produce type; identifying, by a computing system, a quality attribute corresponding to each selected type of duration scoring metric; as well as The selected one or more duration scoring metrics are determined by the computing system based on comparing the identified quality attributes to the selected one or more threshold levels.
25. The method of claim 1, further comprising: retrieving, by a computing system and from a data repository, a duration score metric for the processed agricultural produce and the unprocessed agricultural produce during the time period; identifying, by the computing system, one or more differences between the duration score metric of the treated produce and the duration score metric of the untreated produce; as well as An output is generated by the computing system indicative of the one or more identified differences.
26. The method of claim 25, wherein the generated output comprises one or more modifications to the shelf-life extension coating solution, the one or more modifications determined by a computing system based on the one or more identified differences.
27. The method of claim 1, wherein the produce is at least one of avocados, limes, lemons, apples, and mangoes.
28. The method of claim 1, wherein the image data comprises at least one of color data, an RGB color model, hyperspectral image data, time-lapse video data, and time-lapse hyperspectral image data.
29. A system for determining the duration of an agricultural product using image data, the system comprising: a conveyor system configured to route produce along pathways through the facility; one or more imaging devices positioned proximate the conveyor system and configured to capture image data of the produce at consistent time intervals during the time period, wherein the produce is the same produce type; as well as at least one computing system in communication with the one or more imaging devices, the at least one computing system being configured to: receiving, from the one or more imaging devices, image data of the produce captured at consistent time intervals during the time period, wherein the image data includes one or more treated produce coated with a shelf-life-extending coating solution and one or more untreated produce not coated with a shelf-life-extending coating solution during the time period, wherein the treated produce and the untreated produce are the same produce type; performing an object detection technique on the image data to identify a bounding box around each agricultural product in the image data; identifying a quality attribute of each produce in each bounding box at each time interval during the time period, wherein the quality attribute comprises at least one of color, volume, hardness, wrinkles, rot, and mold; determining one or more duration scoring metrics for each agricultural product in the image data based on comparing the quality attributes of the agricultural products identified during the time period; as well as The one or more duration scoring metrics for each agricultural product are transmitted to a user device for display in a graphical user interface (GUI).
