Fruit sorting device and information processing method
The fruit sorting device enhances accuracy in sorting fruits by using an information processing section to identify fruit stalks through image analysis, addressing the inaccuracies in existing technologies and improving efficiency and commercial value.
Patent Information
- Application Number
- JP2023065058
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-12
- Publication Date
- 2024-10-25
AI Technical Summary
Existing fruit sorting technologies, such as those described in Patent Document 1, face challenges in accurately determining whether compared parts are the same, leading to potential inaccuracies in sorting fruits like cherries and apples, which require precise appearance-based sorting due to their fruit stalks.
A fruit sorting device equipped with an information processing section that includes an image acquisition section and a fruit information acquisition section, utilizing an area acquisition unit to identify the fruit stalk area and a determination unit to determine the presence or absence of a fruit stalk based on the acquired image, employing color space conversion and specific pixel ranges to enhance accuracy.
The device achieves higher accuracy in sorting fruits by precisely identifying and distinguishing between fruits with and without fruit stalks, reducing the workload on farmers and minimizing overripeness, thereby increasing efficiency and commercial value.
Smart Images

Figure 2024151594000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a fruit sorting device and an information processing method. [Background technology]
[0002] Patent Document 1 discloses a sorting device configured to be able to inspect the appearance (such as scratches) of fruits and vegetables by capturing images of the fruits and vegetables with a camera while the fruits and vegetables are being transported on a conveyor. Patent Document 1 also discloses an appearance inspection in which image data acquired by capturing images of the fruits and vegetables with a camera is compared with image data relating to inspection items that have been stored in advance. [Prior art documents] [Non-patent literature]
[0003] [Patent Document 1] JP 2015-3284 A Summary of the Invention [Problem to be solved by the invention]
[0004] Among fruits and vegetables, there are fruits with stalks, such as cherries and apples. As can be understood from the fact that these fruits with stalks are used as gifts, for example, it is considered that the required standards for appearance are higher than those for vegetables, etc., and more accurate sorting is required. In Patent Document 1, inspection is performed by comparing image data, but there is a problem that it is unclear whether the parts being compared are similar, and there is a high possibility that appropriate sorting will not be possible.
[0005] The present invention has been made in consideration of the above circumstances, and has an object to provide a fruit sorting device and an information processing method that can sort fruit with greater accuracy. [Means for solving the problem]
[0006] According to the present invention, there is provided [1] a fruit sorting device equipped with an information processing unit, wherein the information processing unit has an image acquisition unit and a fruit information acquisition unit, the image acquisition unit is configured to acquire a fruit image, the fruit information acquisition unit has an area acquisition unit and a judgment unit, the area acquisition unit is configured to acquire a fruit stem area based on the fruit image, and the judgment unit judges the presence or absence of a fruit stem based on the stem area.
[0007] According to the present invention, the area acquisition unit acquires the fruit stalk area based on the fruit image, making it possible to identify the part to be inspected as the fruit stalk, and the judgment unit judges the presence or absence of the fruit stalk based on the fruit stalk area identified as the part to be inspected, making it possible to select fruits (whether or not the fruit stalk is present) with greater accuracy.
[0008] Various embodiments of the present invention will be described below. The embodiments described below can be combined with each other. [2] A fruit sorting device as described in [1], wherein the area acquisition unit acquires a converted fruit image by converting the fruit image from RGB color space to HLS color space, and defines as the fruit stem area pixels of the converted fruit image in the HLS color space that are included in a first hue range, a first lightness range, and a first saturation range. [3] A fruit sorting device as described in [1] or [2], wherein the judgment unit determines whether or not the fruit has a stalk based on the area of the stalk region. [4] A fruit sorting device as described in any one of [1] to [3], wherein the area acquisition unit is configured to acquire a fruit area of the fruit based on the fruit image, and the fruit information acquisition unit further has an equatorial diameter acquisition unit, which acquires a connection position based on the stem area and the fruit area and acquires a center of gravity position based on the fruit area, and acquires an equatorial diameter of the fruit based on the connection position and the center of gravity position, wherein the connection position corresponds to a position of a pixel where the stem area and the fruit area are connected, and the center of gravity position corresponds to a position of a pixel that is the center of gravity of the fruit area. A fruit sorting device as described in [5][4], wherein the fruit image includes an upper fruit image taken from above the fruit and a side fruit image taken from the side of the fruit, and the equatorial diameter acquisition unit acquires the distance between the connection position and the center of gravity position based on the stem region and the fruit region of the fruit image of the upper fruit image, and if the distance is greater than or equal to a predetermined distance, the equatorial diameter acquisition unit acquires the equatorial diameter of the fruit based on the fruit image of the upper fruit image, and if the distance is smaller than the predetermined distance, the equatorial diameter acquisition unit acquires the equatorial diameter of the fruit based on the fruit image acquired in the side fruit image. [6] A fruit sorting device as described in [5], wherein the direction of the equatorial diameter is perpendicular to a straight line connecting the connection position and the center of gravity position. [7] A fruit sorting device as described in any one of [1] to [6], wherein the area acquisition unit is configured to acquire a fruit area of the fruit based on the fruit image, and the fruit information acquisition unit further has a coloring ratio acquisition unit, which acquires colored pixels contained in the fruit area and acquires a coloring ratio based on a ratio of the number of the colored pixels to an area of the fruit area, and the colored pixels are pixels that are included in a second hue range, a second saturation range, and a second lightness range in the HLS color space. [8] A fruit sorting device as described in any one of [1] to [7], further comprising a photographing mechanism and a lighting mechanism, wherein the photographing mechanism has a camera and a light diffusing member, the lighting mechanism has a light source, the camera is arranged within the light diffusing member facing the fruit, the light diffusing member is arranged to surround the fruit, the light source is arranged within the light diffusing member, and the optical axis of the light source is directed toward the light diffusing member. [9] A fruit sorting device as described in any one of [1] to [8], further comprising a sorting mechanism, the sorting mechanism having a plurality of storage boxes and an air blowing unit, the air blowing unit moving the fruits to each of the storage boxes by blowing air.
[10] [9] A fruit sorting device as described in the above, wherein the sorting mechanism further has a storage amount detection sensor and an alarm unit, the storage amount detection sensor is configured to detect the amount of fruit in the storage box, and the alarm unit is configured to provide an alarm according to the amount of fruit.
[11] A fruit sorting device equipped with an information processing unit, the information processing unit having an image acquisition unit and a fruit information acquisition unit, the image acquisition unit being configured to acquire a fruit image, the fruit information acquisition unit having an area acquisition unit and an equatorial diameter acquisition unit, the area acquisition unit being configured to acquire a stem area of a fruit and a fruit area of the fruit based on the fruit image, the equatorial diameter acquisition unit acquiring a connection position based on the stem area and the fruit area and acquiring a center of gravity position based on the fruit area, and acquiring an equatorial diameter of the fruit based on the connection position and the center of gravity position, the connection position corresponding to a position of a pixel where the stem area and the fruit area are connected, and the center of gravity position corresponding to a position of a pixel that is the center of gravity of the fruit area.
[12] An information processing method for sorting fruit, executed by a computer, comprising a fruit image acquisition step, an area acquisition step, and a judgment step, in which a fruit image is acquired in the fruit image acquisition step, a fruit stalk area is acquired based on the fruit image in the area acquisition step, and the judgment step judges whether or not the fruit has a stalk based on the stalk area. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a perspective view showing the overall configuration of a fruit sorting device 100 according to the first embodiment. [Diagram 2] Fig. 2 is a perspective view showing a state in which the photographing mechanism 2 and the illumination mechanism 3 are cut along a virtual plane passing through three openings Op formed in the photographing mechanism 2 shown in Fig. 1. In Fig. 2, an arrow La typically indicates the direction of the optical axis of the light source 3C. [Diagram 3]Fig. 3A is a front view showing the sorting device 100 shown in Fig. 1 with the sorting mechanism 4 removed. Fig. 3B is an end view of the belt conveyor 1A and the photographing mechanism 2 passing through the imaginary plane according to Fig. 2 described above. In Fig. 3A, the arrow La shows the direction of the optical axis of the light source 3C. In Fig. 3B, the illumination mechanism 3 (support portion 3A and base portion 3B) shown in Fig. 3A is omitted. [Figure 4] FIG. 4 is a perspective view for explaining a detailed configuration of the sorting mechanism 4 shown in FIG. [Diagram 5] FIG. 5 is a functional block diagram of the fruit sorting device 100 according to the first embodiment. [Figure 6] Fig. 6A is a schematic diagram showing how a fallen fruit (cherries) is imaged on the belt conveyor 1A. Fig. 6B is a schematic diagram showing how an upright fruit (cherries) is imaged on the belt conveyor 1A. In Figs. 6A and 6B, an arrow Ar1 typically shows the imaging direction of the upper camera 2A1 shown in Fig. 2, an arrow Ar2 typically shows the imaging direction of the right side camera 2A2 shown in Fig. 2, and an arrow Ar3 typically shows the imaging direction of the left side camera 2A3 shown in Fig. 2. [Figure 7] FIG. 7 is a schematic diagram for explaining each part of a fruit (cherry). [Figure 8] FIG. 8 is an explanatory diagram that shows each pixel of a fruit image d1 in which a fruit (cherries) is captured. [Figure 9] FIG. 9 shows a schematic diagram of the fruit stalk region Rg1 in the fruit image d1 shown in FIG. 8 being binarized and displayed in black. [Figure 10] FIG. 10 shows a schematic diagram of the fruit region Rg2 in the fruit image d1 shown in FIG. 8 being binarized and displayed in black. [Figure 11]Figure 11 is an explanatory diagram showing, in a case where the camera 2A captures an image of a fallen fruit, how the equatorial diameter and coloration rate are acquired from four areas acquired by the area acquisition unit 5B1 (stalk area Rg1 and fruit area Rg2 based on the upper camera 2A1, fruit area Rg2 based on the right side camera 2A2, and fruit area Rg2 based on the left side camera 2A3). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Various characteristic features shown in the following embodiment can be combined with each other. Also, each characteristic feature can be an invention independently.
[0011] 1. First embodiment 1-1 Overall configuration As shown in Fig. 1, the fruit sorting device 100 includes a transport unit 1, an imaging mechanism 2, an illumination mechanism 3, a sorting mechanism 4, and an information processing unit 5 (see Fig. 5). The fruit sorting device 100 is configured to be able to sort fruits, and in the embodiment, the fruit is described as being cherries. Note that the fruits sorted by the fruit sorting device 100 are not limited to cherries, and the embodiment is also suitable for other fruits that have stalks, and can be applied to fruits such as apples, for example.
[0012] In addition, although the information processing unit 5 is not shown in FIG. 1, for example, the information processing unit 5 may be attached to the photographing mechanism 2, or the information processing unit 5 may be arranged in a space separate from the conveying unit 1, the photographing mechanism 2, and the sorting mechanism 4, and configured to remotely exchange data with these.
[0013] As shown in Figs. 1 and 2, the conveying unit 1 has a belt conveyor 1A configured to be able to convey fruit, and an image capturing mechanism 2 and an illumination mechanism 3 are arranged on the belt conveyor 1A in this order from the upstream side. As shown in Fig. 2, the image capturing mechanism 2 has a camera 2A, and the fruit image (fruit image data) captured by the camera 2A is processed by an information processing unit 5. The illumination mechanism 3 is configured to irradiate light within the image capturing mechanism 2 so that the fruit placed within the image capturing mechanism 2 can be captured. As shown in Figs. 1 and 4, the sorting mechanism 4 has a plurality of storage boxes 4A and a plurality of air blowing units 4B, and the corresponding air blowing units 4B are driven based on a command from the information processing unit 5, and the fruit is moved to the storage box 4A by the air released from the air blowing units 4B.
[0014] As shown in FIG. 5, the information processing unit 5 has an image acquisition unit 5A and a fruit information acquisition unit 5B. The fruit information acquisition unit 5B has an area acquisition unit 5B1, an equatorial diameter acquisition unit 5B2, a coloring rate acquisition unit 5B3, and a judgment unit 5B4. The conveying unit 1 has a control unit 1C that controls the driving motor 1B and the like, and the sorting mechanism 4 has a control unit 4E that controls the air blowing unit 4B and the like. These components may be realized by software or by hardware. When realized by software, various functions can be realized by a CPU executing a computer program. The program may be stored in a built-in storage unit or may be stored in a computer-readable non-transitory recording medium. In addition, the program stored in an external storage unit may be read out and realized by so-called cloud computing. When realized by hardware, it can be realized by various circuits such as ASIC, FPGA, or DRP. In the first embodiment, various information and concepts that encompass this are handled, which are represented by high and low signal values as a binary bit collection consisting of 0 or 1, and communication and calculations can be performed by the above-mentioned software or hardware aspects.
[0015] 1-2 Detailed Description of Components of the Fruit Sorting Device 100 1-2-1 Conveyor section 1 The conveying unit 1 includes a belt conveyor 1A shown in FIGS. 1 and 2, a driving motor 1B shown in FIG. 5, and a control unit 1C shown in FIG.
[0016] The belt conveyor 1A is provided so as to extend through the photographing mechanism 2 and the sorting mechanism 4. The belt conveyor 1A has a placement surface 1A1 on which fruits are placed, and is capable of transporting fruits. The belt conveyor 1A is photographed together with the fruits by a camera 2A of the photographing mechanism 2 described later, and it is preferable that the color of the belt conveyor 1A is different from the color of the fruits so that the information processing unit 5 does not mistakenly recognize the belt conveyor 1A itself as fruits. In the first embodiment, the color of the belt conveyor 1A is white. In addition, as shown in FIG. 2, an area 1a for placing fruits on the belt conveyor 1A is provided in a portion of the belt conveyor 1A upstream of the photographing mechanism 2. For example, a feeder or a robot arm (not shown) can be attached to the area 1a, and fruits can be placed on the belt conveyor 1A. In the first embodiment, the fruits are arranged in a line on the belt conveyor 1A.
[0017] The drive motor 1B is attached to the belt conveyor 1A and configured to drive the belt conveyor 1A. The control unit 1C is configured to control the operation of the drive motor 1B. The control unit 1C is configured to be able to communicate with an information processing unit 5 (a drive control unit 5C described below), and the control unit 1C can operate the drive motor 1B based on a control command transmitted from the information processing unit 5.
[0018] 1-2-2 Shooting mechanism 2 As shown in FIGS. 2 to 3B, the imaging mechanism 2 has a camera 2A, an outer member 2B, and an inner member 2C (an example of a light diffusing member).
[0019] As shown in FIG. 2, the camera 2A has an upper camera 2A1 and side cameras (right side camera 2A2 and left side camera 2A3). The camera 2A is disposed inside the outer member 2B. Specifically, the upper camera 2A1, the right side camera 2A2, and the left side camera 2A3 are disposed in a space Sp formed between the outer member 2B and the inner member 2C. The upper camera 2A1, the right side camera 2A2, and the left side camera 2A3 are disposed at the same position in the x direction (the traveling direction of the fruit). Note that the arrangement of the upper camera 2A1, the right side camera 2A2, and the left side camera 2A3 is not limited to this, and the positions may be shifted in the x direction.
[0020] In the following description, the left and right directions are defined with the direction in which the fruit is transported being the front. In the figure, the x direction is parallel to the fruit conveying direction, the y direction is parallel to the width direction of the belt conveyor 1A described later, and the z direction is parallel to the direction of gravity. The x direction, y direction, and z direction are perpendicular to each other.
[0021] The upper camera 2A1 is disposed, for example, such that the center (optical axis) of the lens is located at the center in the width direction (y direction) of the belt conveyor 1A. The upper camera 2A1 is disposed directly above the upper wall portion of the inner member 2C. The right side camera 2A2 and the left side camera 2A3 are disposed, for example, such that the center (optical axis) of the lens is located above the placement surface of the belt conveyor 1A.
[0022] As shown in FIG. 2 and FIG. 3B, the outer member 2B and the inner member 2C are configured in a tunnel-like configuration through which the belt conveyor 1A passes. Specifically, the outer member 2B is, for example, a cylindrical member, and houses the camera 2A and the inner member 2C. The inner member 2C is, for example, a cylindrical member, and is provided so as to surround the fruit transported by the belt conveyor 1A. The camera 2A is attached to the outer surface of the inner member 2C. That is, the camera 2A is provided in the inner member 2C so as to face the fruit. The inner member 2C is formed with a plurality of openings Op (three in the first embodiment) through which the camera 2A faces. The openings Op can be formed, for example, above the placement surface 1A1 of the belt conveyor 1A.
[0023] In addition, since the inner surface of the inner member 2C is photographed together with the fruit by the camera 2A, it is preferable that the color of the inner surface of the inner member 2C is different from the color of the fruit so that the information processing unit 5 does not mistakenly recognize the inner surface of the inner member 2C itself as the fruit. In the first embodiment, the color of the inner surface of the inner member 2C is white.
[0024] The outer member 2B is not an essential component of the photographing mechanism 2, but by providing the photographing mechanism 2 with the outer member 2B, the influence of external light can be reduced, and the fruit can be photographed more appropriately by the camera 2A. Similarly, the inner member 2C is not an essential component of the photographing mechanism 2, but by providing the photographing mechanism 2 with the inner member 2C, it is possible to prevent unnecessary objects other than the fruit from being captured, and it is easy to prevent erroneous recognition of the fruit image d1 by the information processing unit 5. Furthermore, by providing the photographing mechanism 2 with the inner member 2C, indirect lighting can be realized, as described later.
[0025] 1-2-3 Lighting mechanism 3 As shown in FIGS. 2 and 3A, the illumination mechanism 3 has a support portion 3A, a substrate portion 3B, and a light source 3C.
[0026] The support 3A shown in Fig. 3A is connected to the inner member 2C in the embodiment, and has a function of supporting the substrate portion 3B. Specifically, the support 3A is connected to the upper wall and the side wall of the inner member 2C. The illumination mechanism 3 has a plurality of support parts 3A (four in the embodiment), two of which are disposed on the entrance side of the inner member 2C, and two of which are disposed on the exit side of the inner member 2C. The support parts 3A may be connected to a configuration other than the inner member 2C (for example, the outer member 2B, etc.).
[0027] The board portion 3B shown in FIG. 2 and FIG. 3A is provided so as to extend in the x direction (the direction in which the fruit is conveyed). The board portion 3B has a board on which the light source 3C is mounted and a base plate. In the first embodiment, the board of the board portion 3B is configured in a thin tape shape, and this board is attached to a base plate made of metal, for example. The board portion 3B is provided so as to be accommodated in the inner member 2C, but a part of it may protrude from the inner member 2C. The illumination mechanism 3 has a plurality of board portions 3B (two in the embodiment), and these board portions 3B are provided symmetrically with respect to a vertical plane passing through the center position in the width direction (y direction) of the belt conveyor 1A. Ends of the board portions 3B located on the entrance side and the exit side of the inner member 2C are connected to and supported by the support portions 3A located on the entrance side and the exit side of the inner member 2C, respectively.
[0028] The light source 3C is configured to emit light, and is an LED in the embodiment. That is, since the substrate of the substrate unit 3B is tape-shaped, in the first embodiment, the illumination mechanism 3 employs a tape-type LED as illumination. In the first embodiment, a plurality of light sources 3C are arranged on the substrate unit 3B so as to be aligned in the fruit conveyance direction (x direction). The light source 3C is provided in the inner member 2C, and the optical axis of the light source 3C is directed toward the inner member 2C. With this configuration, the light emitted from the light source 3C is reflected and diffused by the inner surface of the inner member 2C. That is, with this configuration, it becomes possible to photograph the fruit with indirect illumination. Unlike direct illumination in which the optical axis of the light source 3C is directed toward the fruit, indirect illumination allows for more uniform illumination. Fruits such as cherries have a glossy surface, so if cherries are photographed with direct illumination, there is a possibility that the information processing unit 5 will not be able to perform appropriate image processing. That is, there is a possibility that the information processing unit 5 will erroneously recognize which part of the image area is a cherry. In contrast, indirect lighting makes it possible to properly recognize image areas, and makes it easier to prevent erroneous recognition of fruit areas.
[0029] 1-2-4 Sorting mechanism 4 As shown in FIGS. 1 and 4, the sorting mechanism 4 has a storage box 4A, a rotating mechanism 4a, an air blowing unit 4B, a storage amount detection sensor 4C, a notification unit 4D (see FIG. 5), and a control unit 4E (see FIG. 5).
[0030] As shown in FIG. 4, the storage box 4A is provided next to the belt conveyor 1A. The storage box 4A stores fruits that have been image-processed by the information processing unit 5 while passing through the photographing mechanism 2. The sorting mechanism 4 has a plurality of storage boxes 4A (nine in the first embodiment). That is, in the embodiment, the fruit sorting device 100 is capable of sorting fruits into a total of nine patterns, including three fruit sizes and three fruit coloring characteristics (grades), and is provided with nine storage boxes 4A corresponding to the three patterns. Although not shown in the figure, the storage box 4A may be placed at the end position of the belt conveyor 1A to store fruits that do not meet the standards.
[0031] A rectangular opening 4A1 is formed on the bottom surface of the storage box 4A. The opening 4A1 is closed by a rotating mechanism 4a, so that the storage box 4A can store fruit. The rotating mechanism 4a can rotate as shown by the arrow R in Fig. 4, and the opening 4A1 is opened by the rotation of the rotating mechanism 4a, so that the fruit in the storage box 4A can be taken out from the storage box 4A.
[0032] The air blowing section 4B is configured to be paired with the corresponding storage box 4A. That is, in the first embodiment, nine pairs of air blowing section 4B and storage box 4A are arranged according to the size and coloring characteristics (grade) of the fruit. The air blowing section 4B is provided to face the corresponding storage box 4A in the y direction. The air blowing section 4B is capable of blowing air in the direction shown by the air flow FL in FIG. 4. There is no need to directly touch the fruit to move it, and the air blowing section 4B moves the fruit with air, so that it is possible to prevent the fruit from being damaged.
[0033] The storage amount detection sensor 4C is configured to detect the amount of fruit in the storage box 4A and can be configured, for example, as a distance measurement sensor. As the distance measurement sensor, an optical sensor having a light emitting portion and a light receiving portion can be adopted.
[0034] The notification unit 4D is configured to notify a user or the like of the detection result (the amount of fruit stored in the storage box 4A) by a predetermined notification method based on the detection result of the storage amount detection sensor 4C (the amount of fruit stored in the storage box 4A). The notification unit 4D can be composed of, for example, a light-emitting unit such as an LED, a display, a speaker, etc. That is, the notification method of the notification unit 4D is not particularly limited, but for example, the notification may be transmitted by turning on a light-emitting unit such as an LED, or may be displayed on a display, or may be transmitted by voice. In addition, the content of the notification transmitted by the notification unit 4D is also not particularly limited, but for example, it may be that the amount of stored fruit has exceeded a predetermined amount of storage in the storage box 4A.
[0035] The control unit 4E is configured to control the air blowing operation of the air blowing unit 4B based on data (determination data d2 described later) transmitted from the information processing unit 5. The control unit 4E is also configured to control the operation of the notification unit 4D based on the detection result of the storage amount detection sensor 4C. Note that, like the control unit 1C, the control unit 4E is also configured to be able to communicate with the information processing unit 5 (drive control unit 5C described later).
[0036] 1-2-5 Information Processing Section 5 1-2-5-1 Image acquisition unit 5A 5 is configured to be able to acquire a fruit image d1 as image data captured by the camera 2A of the photographing mechanism 2. The fruit image d1 acquired by the image acquiring unit 5A is transmitted to the fruit information acquiring unit 5B.
[0037] 1-2-5-2 Fruit information acquisition unit 5B The fruit information acquisition unit 5B has a function of acquiring the area of the fruit based on the fruit image d1, a function of acquiring the equatorial diameter of the fruit, and a function of acquiring the coloring rate of the fruit. The fruit information acquisition unit 5B also has a function of determining the presence or absence of a fruit stalk based on the acquired area of the fruit. The detailed configuration of the fruit information acquiring unit 5B will be described below.
[0038] <Area acquisition section 5B1> The region acquisition unit 5B1 acquires a stalk region Rg1 (see FIG. 9) and a fruit region Rg2 (see FIG. 10) based on the fruit image d1 acquired from the image acquisition unit 5A. As shown in FIG. 7, cherries have a stalk and a fruit. Although it varies depending on the cherry variety, the stalk of a cherry is generally green or greenish in color, and the fruit is generally red or reddish in color. Therefore, the information processing unit 5 distinguishes and identifies the stalk part and the fruit part based on the color information of the image data (fruit image d1). For example, the stalk region Rg1 corresponds to the stalk part in FIG. 7, and the fruit region Rg2 corresponds to the fruit part in FIG. 7.
[0039] About the area to be acquired In the first embodiment, the area acquisition unit 5B1 acquires a stalk region Rg1 based on a fruit image d1 acquired by the upper camera 2A1 or a fruit image d1 acquired by a side camera. For example, if an appropriate stalk region Rg1 can be acquired from the fruit image d1 acquired by the upper camera 2A1, the area acquisition unit 5B1 uses this stalk region Rg1. Whether an appropriate stalk region Rg1 can be acquired depends on the state of the fruit (whether it is lying down or standing upright). Specifically, when cherries are conveyed on the belt conveyor 1A, they may be in a fallen state as shown in FIG. 6A, or in an upright state as shown in FIG. 6B. When the cherries are in a fallen state, if an attempt is made to obtain the stalk region Rg1 using the fruit image d1 acquired by the side cameras (the right camera 2A2 and the left camera 2A3), the stalk may be a very narrow region depending on the posture of the fruit and the shape of the stalk, and the stalk region Rg1 may not be properly specified. Conversely, when the cherries are in an upright state, if an attempt is made to obtain the stalk region Rg1 using the fruit image d1 acquired by the upper camera 2A1, the stalk may be a very narrow region similarly, and the stalk region Rg1 may not be properly specified. For this reason, in order to properly obtain the stalk region Rg1, it is necessary to determine which camera's fruit image d1 to use.
[0040] Generally, cherries do not stand upright on the belt conveyor 1A, but often fall over. When cherries fall over, if the upper camera 2A1 captures an image of the cherry, the equatorial diameter acquisition unit 5B2 (described later) can appropriately acquire the size (equatorial diameter), and as a result, it becomes unnecessary to perform the process of acquiring the stalk region Rg1 using the fruit image d1 captured by the side camera. Therefore, the region acquisition unit 5B1 first attempts to acquire the stalk region Rg1 based on the fruit image d1 (an example of an upper fruit image) acquired by the upper camera 2A1. Then, the equatorial diameter acquisition unit 5B2, which will be described later, calculates the distance between the connection position (see pixel px1 corresponding to the connection position in FIG. 8) between the acquired stalk region Rg1 and the fruit region Rg2 and the center of gravity position (see pixel px2 corresponding to the center of gravity position in FIG. 8) in the fruit region Rg2. When the distance between the connection position and the center of gravity position is equal to or greater than a predetermined distance, it is expected that the fruit is in a fallen state. Therefore, the region acquisition unit 5B1 acquires the fruit stalk region Rg1 based on the fruit image d1 captured by the upper camera 2A1. Conversely, if the distance between the connection position and the center of gravity position is smaller than a predetermined distance, the fruit is expected to be upright. Therefore, the area acquisition unit 5B1 acquires the fruit stalk area Rg1 based on the fruit image d1 (an example of a side fruit image) acquired by the side camera. In this case, the fruit image d1 of the right side camera 2A2 or the fruit image d1 of the left side camera 2A3 may be used.
[0041] Unlike the stalk region Rg1, the fruit region Rg2 is acquired for the fruit image d1 acquired by each camera. That is, as shown in Fig. 11, the region acquisition unit 5B1 acquires the fruit region Rg2 for each of the fruit image d1 acquired by the upper camera 2A1 and the fruit image d1 acquired by the side cameras (the right side camera 2A2 and the left side camera 2A3). This is because the equatorial diameter acquisition unit 5B2, which will be described later, needs pixel information of a wide range of the fruit to calculate the coloring rate.
[0042] How to identify pixels in each area The region acquisition unit 5B1 acquires a converted fruit image by converting the fruit image d1 from the RGB color space to the HLS color space. That is, the region acquisition unit 5B1 identifies the stalk region Rg1 and the fruit region Rg2 using the HLS color space, not the RGB color space. The HLS color space is a color space that expresses color using three elements: hue H, lightness L, and saturation S. In the first embodiment, the HLS color space employs a bicone model.
[0043] The target image to be processed in the first embodiment is cherries. The redder the cherry is, the higher the quality is. The hue H allows for appropriate evaluation of the redness. The glossier the cherry is, the higher the quality is. The lightness L allows for easy evaluation of the quality such as gloss. The less wrinkles there are, the higher the quality is. The saturation S allows for easy evaluation of the quality such as wrinkles on the surface. The RGB color space and the HLS color space can be converted to each other, so the area acquisition unit 5B1 can also adopt the RGB color space. However, as described above, when evaluating the quality of cherries, it is easier to directly evaluate aspects such as redness, wrinkles, and gloss when using the HLS color space, so that the user of the sorting device 100 (e.g., cherry farmers) can easily be convinced of the evaluation method, and the sorting device 100 is designed to be user-friendly.
[0044] Among the pixels of the converted fruit image in the HLS color space, the region acquisition unit 5B1 determines pixels that are included in the hue range H1, the lightness range L1, and the saturation range S1 as pixels included in the fruit stalk region Rg1 (see the fruit stalk pixels pt1 and pt2 in FIG. 8). In other words, the fruit stalk region Rg1 is composed of a set of fruit stalk pixels, and each fruit stalk pixel is included in the above-mentioned hue range H1, the lightness range L1, and the saturation range S1. The hue range H1 is an example of the first hue range, the lightness range L1 is an example of the first lightness range, and the saturation range S1 is an example of the first saturation range. In the case where the fruit is a cherry, the hue range H1 can be set, for example, to a range of 30 to 70, the lightness range L1 can be set, for example, to a range of 100 to 160, and the saturation range S1 can be set, for example, to a range of 60 to 120.
[0045] Furthermore, the area acquisition unit 5B1 determines that, among the pixels of the converted fruit image in the HLS color space, pixels that are included in the hue range H2, the lightness range L2, and the saturation range S2 are pixels included in the fruit area Rg2 (see fruit pixels ps1 and ps2 in FIG. 8). In other words, the fruit area Rg2 is composed of a collection of fruit pixels, and each fruit pixel is included in the above-mentioned hue range H2, the lightness range L2, and the saturation range S2. In the case where the fruit is a cherry, the hue range H2 can be set, for example, in the ranges of 0 to 30 and 160 to 179, the lightness range L2 can be set, for example, in the range of 10 to 255, and the saturation range S2 can be set, for example, in the range of 80 to 255. Note that the hue range H1 and the hue range H2 may partially overlap, the lightness range L1 and the lightness range L2 may partially overlap, and the saturation range S1 and the saturation range S2 may partially overlap.
[0046] In the first embodiment, the information processing section 5 can change the above-mentioned hue ranges H1, H2, lightness ranges L1, L2, and saturation ranges S1, S2 according to the type and place of origin of cherries.
[0047] When the region acquisition unit 5B1 identifies the pixels of the fruit stalk, it performs a binarization process on the pixels to generate a fruit stalk image as shown in Fig. 9. This allows the region acquisition unit 5B1 to identify (acquire) a fruit stalk region Rg1. In the fruit stalk image, the fruit stalk pixels are shown as black and the rest as white. A set of fruit stalk pixels corresponds to the fruit stalk region Rg1. Furthermore, when the area acquisition unit 5B1 identifies the pixels of the fruit, it performs a binarization process on the pixels to generate a fruit image as shown in Fig. 10. This allows the area acquisition unit 5B1 to identify (acquire) a fruit area Rg2. In the fruit image, fruit pixels are typically shown as black and the rest as white. A set of fruit pixels corresponds to the fruit area Rg2. In addition, in a fruit image, pixels that become noise other than the pixels of the fruit stem and the pixels of the fruit may be mixed in. Therefore, the region acquisition unit 5B1 may have a function of removing noise.
[0048] <Equatorial diameter acquisition part 5B2> The equatorial diameter acquisition unit 5B2 acquires a connection position (corresponding to the connection position corresponding pixel px1 shown in Figs. 8 and 10) based on the stalk region Rg1 and the fruit region Rg2, and also acquires a center of gravity position (center of gravity position corresponding pixel px2 shown in Figs. 8 and 10) based on the fruit region Rg2. Then, the equatorial diameter acquisition unit 5B2 acquires an equatorial diameter corresponding to the size of the fruit based on the connection position (connection position corresponding pixel px1) and the center of gravity position (center of gravity position corresponding pixel px2).
[0049] The connection position corresponding pixel px1 shown in FIGS. 8 and 10 is a pixel where the stalk region Rg1 and the fruit region Rg2 are connected, and its position coordinates correspond to the position of the connection position P1 shown in FIG. The center-of-gravity position corresponding pixel px2 shown in FIGS. 8 and 10 is the pixel that is the center of gravity of the fruit region Rg2, and its position coordinates correspond to the position of the center-of-gravity position P2 shown in FIG.
[0050] The equatorial diameter is perpendicular to the line L1 connecting the connection position P1 (connection position corresponding pixel px1) and the center of gravity position P2 (center of gravity position corresponding pixel px2), and passes through the center of gravity position P2. The equatorial diameter corresponds to the distance between contour pixel pn1 and contour pixel pn2 on the line L2 perpendicular to the line L1. Contour pixel pn1 is a pixel located at one end of straight line L2 among the pixels included in fruit region Rg2, and contour pixel pn2 is a pixel located at the other end of straight line L2 among the pixels included in fruit region Rg2.
[0051] Here, as an example, the configuration of the equatorial diameter acquisition unit 5B2 will be described assuming that a fruit (cherries) is in a fallen state. The above-mentioned area acquisition unit 5B1 acquires the stalk area Rg1 and the fruit area Rg2 based on the fruit image d1 acquired by the upper camera 2A1. The equatorial diameter acquisition unit 5B2 acquires the connection position (pixel px1 corresponding to the connection position) shown in FIG. 8 and FIG. 10 based on the stalk area Rg1 and the fruit area Rg2. Next, the equatorial diameter acquisition unit 5B2 acquires the center of gravity position (pixel px2 corresponding to the center of gravity position) of the fruit region Rg2. Here, the center of gravity in the equatorial diameter acquisition unit 5B2 is the center of gravity in image analysis, and does not include the concept of weight (gravity). In other words, the center of gravity in the equatorial diameter acquisition unit 5B2 corresponds to the center of gravity of a uniform two-dimensional shape with a constant thickness and specific gravity. As long as the coordinates constituting the fruit region Rg2 are known, the method of calculating the center of gravity position of the fruit region Rg2 is not limited, and various known methods can be used.
[0052] When the equatorial diameter acquisition unit 5B2 acquires the connection position (pixel px1 corresponding to the connection position) and the center of gravity position (pixel px2 corresponding to the center of gravity position), it acquires a straight line L1 passing through these positions, as shown in Figures 8 and 10. In addition, the equatorial diameter acquisition unit 5B2 acquires a straight line L2 that is perpendicular to the line L1 and passes through the gravity position (pixel px2 corresponding to the center of gravity position). Furthermore, the equatorial diameter acquisition unit 5B2 acquires contour pixels pn1 and pn2 based on the line L2 and the fruit region Rg2, and acquires the equatorial diameter, which is the distance between contour pixel pn1 and contour pixel pn2.
[0053] In this way, when the fruit is in a fallen state, the equatorial diameter acquisition unit 5B2 needs to use the fruit image d1 captured by the upper camera 2A1 to acquire the equatorial diameter. This situation corresponds to the distance between the connection position and the center of gravity position being equal to or greater than a predetermined distance. In this situation, the equatorial diameter acquisition unit 5B2 acquires the equatorial diameter of the fruit based on the fruit image d1 captured by the upper camera 2A1 (an example of an upper fruit image). On the other hand, when the fruit is upright, the equatorial diameter acquisition unit 5B2 needs to use the fruit image d1 captured by the side camera to acquire the equatorial diameter. This situation corresponds to the distance between the connection position and the center of gravity position being shorter than a predetermined distance. In this situation, the equatorial diameter acquisition unit 5B2 acquires the equatorial diameter of the fruit based on the fruit image d1 captured by the side camera (an example of a side fruit image).
[0054] <Coloring rate acquisition section 5B3> The coloring ratio acquisition unit 5B3 acquires color pixels included in the fruit region Rg2, and acquires a coloring ratio based on the ratio of the number of color pixels to the area of the fruit region Rg2. Here, the color pixels are pixels of the converted fruit image in the HLS color space that are included in the hue range H3, the lightness range L3, and the saturation range S3. These ranges of the color pixels are narrower than the ranges (hue range H2, lightness range L2, and saturation range S2) used to acquire the fruit region Rg2. The hue range H3 is an example of a second hue range, the lightness range L3 is an example of a second lightness range, and the saturation range S3 is an example of a second saturation range.
[0055] In the first embodiment, the information processing section 5 can change the above-mentioned hue range H3, lightness range L3, and saturation range S3 according to the type and place of origin of the cherries.
[0056] In the first embodiment, the coloring rate acquisition unit 5B3 does not need to determine whether all pixels included in the three fruit regions Rg2 (the fruit region Rg2 based on the upper camera 2A1 and the fruit region Rg2 based on the side camera) are colored pixels. This is because the surface of the fruit is curved, and therefore the fruit region Rg2 based on the upper camera 2A1 and the fruit region Rg2 based on the side camera overlap at least partially. For this reason, in the first embodiment, the coloring rate acquisition unit 5B3 performs a process of excluding the overlapping portions. For example, the fruit area Rg2 based on the upper camera 2A1 has an overlapping pixel area (t1), an overlapping pixel area (t2), and a non-overlapping pixel area (t3), the fruit area Rg2 based on the right side camera 2A2 has an overlapping pixel area (t1) and a non-overlapping pixel area (s1), and the fruit area Rg2 based on the left side camera 2A3 has an overlapping pixel area (t2) and a non-overlapping pixel area (u1). In this case, the entire fruit area Rg2 is expressed as t1+t2+t3+s1+u1, and it is preferable not to double-count the overlapping areas t1 and t2.
[0057] The overlapping pixel area can be obtained by various methods. For example, the overlapping pixel area may be specified by determining where the hue range, the brightness range, and the saturation range match. In addition, for example, the overlapping pixel area may be roughly set by excluding areas of a predetermined width on the left and right sides of the fruit area Rg2 based on the upper camera 2A1 as the overlapping pixel area.
[0058] The coloring rate acquisition unit 5B3 acquires the coloring rate based on the area of the three fruit regions Rg2 (in the above example, the area of t1+t2+t3+s1+u1) and the number of colored pixels included in the three fruit regions Rg2. In the first embodiment, the coloring rate is a value obtained by dividing the number of colored pixels by the area of the three fruit regions Rg2.
[0059] In the first embodiment, the fruit region Rg2 based on the bottom side of the fruit (the side of the surface on which the fruit is placed) is not obtained. This is because the fruit region Rg2 based on the bottom side of the fruit (the side of the surface on which the fruit is placed) is relatively narrow and does not affect the calculation accuracy of the coloring rate to that extent. Of course, the fruit region Rg2 based on the bottom side of the fruit (the side of the surface on which the fruit is placed) may be obtained to improve the calculation accuracy of the coloring rate.
[0060] Depending on the shape and posture of the cherry, the stalk region Rg1 may be included in the fruit region Rg2. This is because part of the fruit is hidden by the stalk and is not captured by the camera 2A. For example, when the fruit is upright, part of the fruit in the fruit image d1 captured by the upper camera 2A1 will be hidden by the stalk. Even if the fruit is lying down, part of the fruit in the fruit image d1 captured by the side camera may be hidden by the stalk. However, since the fruit stalk is thin and the hidden area is small compared to the entire fruit area Rg2, in the first embodiment, the hidden area is treated as not being a fruit area.
[0061] <Judgment section 5B4> The determination unit 5B4 determines whether or not the fruit has a stalk based on the stalk region Rg1. Here, the determination unit 5B4 determines whether or not the fruit has a stalk based on the area of the stalk region Rg1. For example, if the area of the stalk region Rg1 is equal to or greater than a predetermined threshold, the determination unit 5B4 determines that the fruit has a stalk, and if the area is less than the predetermined threshold, the determination unit 5B4 determines that the fruit does not have a stalk.
[0062] In addition, the determination unit 5B4 determines which of three size groups (large, medium, small) the object falls into, depending on the value of the equatorial diameter acquired by the equatorial diameter acquisition unit 5B2. Furthermore, the determination unit 5B4 determines which of three coloring rate groups (high, medium, low) the object falls into, depending on the value of the coloring rate acquired by the coloring rate acquisition unit 5B3.
[0063] The determination unit 5B4 is configured to transmit determination data d2 including the determination results of the presence or absence of a fruit stalk, the determination results of the size of the fruit, and the determination results of the coloring rate of the fruit to the drive control unit 5C.
[0064] 1-2-5-3 Drive control unit 5C The drive control unit 5C is configured to be able to communicate with the control unit 1C of the conveyor 1 and the control unit 4E of the sorting mechanism 4, and is able to centrally control the conveyor 1 and the sorting mechanism 4. The drive control unit 5C is configured to transmit the judgment data d2 generated by the judgment unit 5B4 to the control unit 4E. As a result, the control unit 4E controls the air blowing unit 4B based on the judgment data d2, and the fruit is sorted into the corresponding storage box 4A. Note that if the fruit does not have a stalk, the air blowing unit 4B is not driven, and the fruit is conveyed to the end point of the belt conveyor 1A and collected.
[0065] 1-2 Explanation of effects The commercial value of fruits is sometimes determined by their appearance. In particular, cherries without stalks may have no commercial value or may have a significantly reduced commercial value, so it is desirable to accurately determine the presence or absence of a stalk. In the sorting device 100 according to the first embodiment, the area acquisition unit 5B1 acquires the stalk area Rg1 of the fruit based on the fruit image d1, so that it is possible to identify the part to be inspected as the stalk. Then, the judgment unit 5B4 judges the presence or absence of the fruit stalk based on the stalk area Rg1 identified as the part to be inspected, so that fruits (the presence or absence of the fruit stalk) can be sorted with greater accuracy.
[0066] For example, in Yamagata Prefecture, the number of cherry farmers has halved in the 20 years from 2000 to 2020. On the other hand, the cultivated area for cherries has not changed, which means that the management area per household has doubled, and it can be said that farmers are now significantly busier. One of the tasks of farmers is sorting cherries. Cherries are small and easily damaged, so it is common for experienced farmers to sort them manually. As described in the first embodiment, there are at least two items for sorting, related to size (equatorial diameter) and grade. For example, size measurement is performed manually using a jig with an opening through which the cherry fruit passes, and the final grade is determined visually by experienced farmers. In this way, cherry farmers' work is becoming busier, including the sorting work mentioned above, but if the shipping of cherries is delayed as a result, the cherries will become overripe, and there is a risk that their commercial value will decrease. Cherries in particular are a fruit that needs to be shipped promptly, as they do not ripen further (they are most delicious immediately after harvesting). For this reason, reducing the workload of cherry farmers and speeding up shipping will lead to increased income for farmers. The sorting device 100 according to the first embodiment automates sorting of fruits by mechanically determining whether or not they have stalks, and can sort fruits quickly and accurately. This reduces the workload of farmers and inhibits the progression of over-ripening of fruits, which is expected to increase farmers' income.
[0067] 2. Other embodiments In the first embodiment, the color of the belt conveyor 1A is described as white, but is not limited to this. For example, the belt conveyor 1A may be translucent or transparent. This allows a camera to be added directly below the belt conveyor 1A. Specifically, the camera 2A further has a bottom camera, which is disposed below the belt conveyor 1A. This allows the bottom surface of the fruit placed on the belt conveyor 1A to be imaged, and the effect of calculating the surface area of the fruit with higher accuracy can be expected.
[0068] In the first embodiment, the information processing unit 5 was configured to sort fruits by equatorial diameter (size) and by coloring rate (special grade), but this is not limited to this and may be configured to sort by at least one of the equatorial diameter and the coloring rate. For example, if the sorting device 100 sorts fruits by their equatorial diameter and not by their coloring rate, the information processing unit 5 does not include the coloring rate acquisition unit 5B3. In this case, the area acquisition unit 5B1 does not necessarily need to acquire the stalk area Rg1 and the fruit area Rg2 based on the fruit images d1 of all the cameras. This is because, if the fruit is in a fallen state, the area acquisition unit 5B1 can acquire the stalk area Rg1 and the fruit area Rg2 based on the fruit image d1 acquired by the upper camera 2A1, which is used first.
[0069] The method of acquiring data such as the peduncle region Rg1 and the equatorial diameter is not limited to the content of the first embodiment, and may be a learning model (machine learning model). The learning model is a model that trains a model using a large amount of teacher data (a set of known input data and correct answer data) to make it possible to predict future output. In the learning model, the input data is, for example, a fruit image d1 captured by the camera 2A. The output may be, for example, the range of the stalk region Rg1 or the range of the fruit region Rg2. Other outputs may be the result of determining whether or not there is a stalk, the connection position, the center of gravity position, the value of the equatorial diameter, the identification of colored pixels, and the value of the coloring rate. The type of output may be determined as appropriate depending on, for example, the contents of the learning model, the output accuracy, and the like.
[0070] For example, among fruits that are judged to be small in size, have a low coloring rate (grade), or are defective (e.g., have no stalk), some may have been misjudged due to the shape or posture of the fruit. For example, some fruits may have been misjudged because part of the fruit is hidden by the stalk. Therefore, fruits that are judged to be partially hidden by the stalk or that may have been misjudged because they are small in size may be returned to the entrance of the belt conveyor 1A (loading surface 1A1) and re-judged. [Explanation of symbols]
[0071] 1: Transport section 1A: Belt conveyor 1A1: Placement surface 1a: Area 1B: Drive motor 1C: Control section 1E: Control section 2: Filming mechanism 2A: Camera 2A1: Upper camera 2A2: Right side camera 2A3: Left side camera 2B:Outer member 2C: Inner member 3: Lighting system 3A: Support part 3B: Board part 3C: Light source 4: Selection mechanism 4A: Storage box 4a: Rotating mechanism 4A1: Opening 4B: Air outlet 4C: Storage volume detection sensor 4D: Notification Department 4E: Control section 5: Information processing section 5A: Image acquisition section 5B: Fruit information acquisition section 5B1: Area acquisition part 5B2: Equatorial diameter acquisition part 5B3: Coloring rate acquisition section 5B4: Judgment section 5C: Drive control section 100: Fruit sorting device Op: Opening Sp: space Rg1: Fruit stalk area Rg2: Fruit region
Claims
1. A fruit sorting device equipped with an information processing unit, The information processing unit includes an image acquiring unit and a fruit information acquiring unit, The image capture unit is configured to capture a fruit image; The fruit information acquisition unit includes a region acquisition unit and a determination unit. The area acquisition unit is configured to acquire a fruit stem area based on the fruit image, The judgment unit determines whether or not the fruit has a stalk based on the stalk area.
2. The sorting device according to claim 1, The area acquisition unit acquires a converted fruit image by converting the fruit image from RGB color space to HLS color space, and defines as the fruit stem area pixels of the converted fruit image in the HLS color space that are within a first hue range, a first brightness range, and a first saturation range.
3. The sorting device according to claim 1, The judgment unit determines whether or not the fruit has a stalk based on the area of the stalk region.
4. The sorting device according to claim 1, The area acquisition unit is configured to acquire a fruit area of the fruit based on the fruit image, The fruit information acquisition unit further includes an equatorial diameter acquisition unit, The equatorial diameter acquisition unit acquires a connection position based on the stalk region and the fruit region, acquires a center of gravity position based on the fruit region, and acquires an equatorial diameter of the fruit based on the connection position and the center of gravity position; the connection position corresponds to a pixel position where the stalk region and the fruit region are connected; A fruit sorting device, wherein the center of gravity position corresponds to the position of a pixel that is the center of gravity of the fruit area.
5. The sorting device according to claim 4, The fruit image includes an upper fruit image obtained by photographing the fruit from above and a side fruit image obtained by photographing the fruit from the side, The equatorial diameter acquisition unit acquires a distance between the connection position and the center of gravity position based on the stem region and the fruit region of the fruit image of the upper fruit image, When the distance is equal to or greater than a predetermined distance, the equatorial diameter acquisition unit acquires the equatorial diameter of the fruit based on the fruit image of the upper fruit image, If the distance is smaller than a predetermined distance, the equatorial diameter acquisition unit acquires the equatorial diameter of the fruit based on the fruit image acquired from the side fruit image, of the fruit sorting device.
6. The sorting device according to claim 5, A fruit sorting device, wherein the direction of the equatorial diameter is perpendicular to a straight line connecting the connection position and the center of gravity position.
7. The sorting device according to claim 1, The area acquisition unit is configured to acquire a fruit area of the fruit based on the fruit image, The fruit information acquisition unit further includes a coloring rate acquisition unit, the coloring ratio acquisition unit acquires colored pixels included in the fruit region, and acquires a coloring ratio based on a ratio of the number of the colored pixels to an area of the fruit region; The colored pixels are pixels that fall within a second hue range, a second saturation range, and a second lightness range in the HLS color space.
8. The sorting device according to claim 1, Further comprising a photographing mechanism and a lighting mechanism, the photographing mechanism includes a camera and a light diffusing member; The illumination mechanism includes a light source. the camera is provided within the light diffusing member so as to face the fruit, The light diffusing member is provided so as to surround the fruit, A fruit sorting device, wherein the light source is provided within the light diffusing member, and the optical axis of the light source is directed toward the light diffusing member.
9. The sorting device according to claim 1, Further comprising a sorting mechanism, The sorting mechanism includes a plurality of storage boxes and an air blowing unit. The air blowing unit blows air to move the fruits to each of the storage boxes.
10. The sorting device according to claim 9, The sorting mechanism further includes a storage amount detection sensor and an alarm unit, The storage amount detection sensor is configured to detect the amount of the fruit in the storage box, The fruit sorting device, wherein the notification unit is configured to provide a notification according to an amount of the fruit.
11. A fruit sorting device equipped with an information processing unit, The information processing unit includes an image acquiring unit and a fruit information acquiring unit, The image capture unit is configured to capture a fruit image; The fruit information acquisition unit includes an area acquisition unit and an equatorial diameter acquisition unit, The area acquisition unit is configured to acquire a fruit stalk area and a fruit area of the fruit based on the fruit image, The equatorial diameter acquisition unit acquires a connection position based on the stalk region and the fruit region, acquires a center of gravity position based on the fruit region, and acquires an equatorial diameter of the fruit based on the connection position and the center of gravity position; the connection position corresponds to a pixel position where the stalk region and the fruit region are connected; A fruit sorting device, wherein the center of gravity position corresponds to the position of a pixel that is the center of gravity of the fruit area.
12. 1. A computer-implemented information processing method for sorting fruit, comprising: The method includes a fruit image acquisition step, a region acquisition step, and a determination step, In the fruit image acquisition step, a fruit image is acquired, In the area acquisition step, a fruit stalk area of the fruit is acquired based on the fruit image; An information processing method, in which the determination step determines whether or not the fruit has a stalk based on the stalk area.
Citation Information
Patent Citations
Fruit grader based on image processing
CN103111427A
Fruit attitude detection method based on stereoscopic vision
CN103322980A
Cherry grading detection method and system based on deep convolutional neural network
CN113077450A
Method and apparatus for detecting sizes of fruits
CN1664499A
Method of recognizing shape of fruit
JP1987091277A
