WO2020110971A1 - カップ検出装置及び飲料供給装置 - Google Patents

カップ検出装置及び飲料供給装置 Download PDF

Info

Publication number
WO2020110971A1
WO2020110971A1 PCT/JP2019/045882 JP2019045882W WO2020110971A1 WO 2020110971 A1 WO2020110971 A1 WO 2020110971A1 JP 2019045882 W JP2019045882 W JP 2019045882W WO 2020110971 A1 WO2020110971 A1 WO 2020110971A1
Authority
WO
WIPO (PCT)
Prior art keywords
cup
unit
light
light projecting
beverage
Prior art date
Application number
PCT/JP2019/045882
Other languages
English (en)
French (fr)
Inventor
長島 隆一
祐介 中村
太一 毛利
雅登 池邊
Original Assignee
富士電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2018220911A external-priority patent/JP6673447B1/ja
Application filed by 富士電機株式会社 filed Critical 富士電機株式会社
Publication of WO2020110971A1 publication Critical patent/WO2020110971A1/ja

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J31/00Apparatus for making beverages
    • A47J31/44Parts or details or accessories of beverage-making apparatus
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/90Investigating the presence of flaws or contamination in a container or its contents

Definitions

  • the present invention relates to a cup detection device and a beverage supply device.
  • beverage supply devices such as coffee machines have been installed in stores such as convenience stores.
  • the beverage supply device when a beverage is selected by the user, generates a beverage by, for example, extracting coffee beans and extracting dripping, and supplies the beverage to a cup arranged on the supply stage. Is.
  • a cup detection device for detecting whether or not a cup is arranged on the supply stage is provided, and it is proposed that the beverage is supplied only when the cup is detected.
  • the material of the cup to be used is changed according to the type of beverage to be supplied.
  • a beverage supply device that uses a paper cup when supplying a hot beverage and uses a transparent resin cup when supplying a cold beverage.
  • the cup detection device if it has a function of not only detecting whether or not the cup is arranged on the supply stage, but also detecting the material of the cup, the hot beverage is erroneously placed on the transparent resin cup. It will be possible to prevent the situation where the electricity is supplied.
  • beverage supply devices of recent years change the type of cup to be used according to the type of beverage to be supplied.
  • a transparent resin cup containing ice inside (hereinafter, also referred to as ice coffee cup) should be used and contains cold beverage such as cafe latte.
  • ice coffee cup a transparent resin cup containing ice inside
  • a predetermined letter written on its peripheral surface (hereinafter also referred to as an ice cafe latte cup).
  • Beverage supply device it is preferable that the beverage is not supplied unless the type of the cup placed on the supply stage and the type of the beverage for which supply is instructed are an appropriate combination. That is, if it has a function of determining the type of the cup placed on the supply stage, it is possible to prevent the situation in which the cafe latte is accidentally supplied to the regular coffee cup.
  • an object of the present invention is to provide a cup detection device capable of accurately detecting whether or not a cup is transparent.
  • Another object of the present invention is to provide a beverage supply device capable of satisfactorily determining the type of cup in view of the above circumstances.
  • a cup detecting device for detecting a cup arranged on a supply stage, wherein a light projecting section for irradiating the surface of the cup with light and a surface of the cup are provided.
  • the image pickup unit for picking up the reflection region of the light from the light projecting unit, and when the whiteout region in the image data acquired by the image pickup unit is less than or equal to a preset lower threshold value, it is determined that the cup is transparent.
  • a determination unit for performing the determination.
  • the present invention is characterized in that, in the above-described cup detection device, the determination section measures the whiteout area by counting the number of whiteout pixels in the image data acquired by the imaging section.
  • the present invention is also characterized in that, in the above-described cup detection device, the determination unit measures a whiteout area based on the average luminance of the image data acquired by the imaging unit.
  • the determination unit performs a contrast increasing process on the image data acquired by the image capturing unit before measuring the whiteout area, and then determines the brightness. It is characterized in that a process of lowering is performed.
  • a cup detecting device is a cup detecting device for detecting a cup arranged on a supply stage, wherein a light projecting part for irradiating the cup with light and a light from the light projecting part on the surface of the cup. And a determination unit that determines that the cup is transparent when the transmitted light from the light projecting unit is detected in the image data acquired by the image capturing unit. To do.
  • a cup detecting device is a cup detecting device for detecting a cup arranged on a supply stage, and includes a first light projecting unit for irradiating the surface of the cup with light, and a first light projecting unit. Captures a second light projecting portion that irradiates the cup with light having a color temperature different from that of the first light projecting portion from a different direction, and a reflection area of the light from the first light projecting portion on the surface of the cup.
  • the image capturing unit that captures the light transmission region of the light from the second light projecting unit and the whiteout region in the image data acquired by the image capturing unit are below a preset lower limit threshold, and the second And a determining unit that determines that the cup is transparent when the transmitted light from the light projecting unit is detected.
  • the beverage supply device is a beverage supply device that supplies the beverage generated by the beverage generation unit to the cup arranged on the supply stage, and an information acquisition unit that acquires information on the surface of the cup.
  • a correction for performing whitening processing by converting the information about the color of the cup acquired by the information acquisition unit into a gray scale according to a predetermined condition and performing brightness adjustment and contrast adjustment for each pixel of the converted gray scale. It is characterized by comprising a processing unit and a determination unit for determining the type of the cup based on the magnitude of the variation of the black portion in the data whitened by the correction processing unit or the magnitude of the brightness. ..
  • the information acquisition unit is an image capturing unit that captures an imaged region on the surface of the cup
  • the determination unit is a black character of the imaged region based on a value of standard deviation. It is characterized in that the type of the cup is judged by discriminating the presence or absence of.
  • the first light projecting unit that irradiates the surface of the cup with light and the second light projecting unit that irradiates the cup with light from a direction different from that of the first light projecting unit A light section, the imaged area is a reflection area of light from the first light projecting section, is a light transmission area of light from the second light projecting section, and the second light projecting section is The brightness is larger than that of the first light projecting unit.
  • the correction processing unit converts each pixel of the information about the color of the cup into a grayscale with a color component having a maximum value among a red component, a green component, and a blue component. It is characterized by
  • the present invention is also characterized in that, in the beverage supply device, the cup is made of transparent resin and has ice inside.
  • the cup when the cup is transparent, the light from the light projecting unit is transmitted, and therefore the white areas in the image data acquired by the imaging unit are smaller than those in the non-transparent cup. Therefore, it is possible to accurately determine whether or not the cup is transparent according to the size of the whiteout area.
  • the transmitted light is not detected in the transmission region of the light from the light projecting portion on the surface of the cup. Therefore, it is possible to accurately determine whether or not the cup is transparent by detecting the presence or absence of transmitted light.
  • the information acquisition unit acquires the information on the surface of the cup
  • the correction processing unit converts the information about the color of the cup acquired by the information acquisition unit into a gray scale according to a predetermined condition, and the converted gray scale.
  • the whitening process is performed by performing the brightness adjustment and the contrast adjustment for each of the pixels, and the determination unit determines the variation in the black portion in the data whitened by the correction processing unit or the brightness level. Since the type of cup is determined based on this, the type of cup can be determined by whitening the color information that passes through the cup, and the type of cup can be determined well.
  • FIG. 1 is a front view conceptually showing a beverage supply device to which a cup detection device according to an embodiment of the present invention is applied.
  • FIG. 2 is a sectional view of the beverage supply device shown in FIG.
  • FIG. 3 is a block diagram showing a control system of the beverage supply device shown in FIG. 4A and 4B show a cup determination procedure executed by the control unit shown in FIG. 3, where FIG. 4A is a conceptual diagram of a paper cup which is image data acquired by the image pickup unit, and FIG. ) Is a conceptual diagram after the process of increasing the contrast of the image data, (c) is a conceptual diagram after the process of further reducing the brightness of the image data of (b) and a partially enlarged view thereof. Is.
  • FIG. 5A and 5B show a cup determination procedure executed by the control unit shown in FIG. 3, in which FIG. 5A is a conceptual diagram of a transparent resin cup which is image data acquired by the image pickup unit, and FIG. (a) is a conceptual diagram after the process of increasing the contrast of the image data, (c) is a conceptual diagram after the process of further reducing the brightness of the image data of (b), and a partial enlargement thereof. It is a figure.
  • FIG. 6 is a perspective view showing an external configuration of a beverage supply device that is Embodiment 2 of the present invention.
  • FIG. 7: is a block diagram which shows typically the control system of the beverage supply apparatus which is Embodiment 2 of this invention.
  • 8A is an external view showing a cold regular coffee cup, and FIG.
  • FIG. 8B is an external view showing a cold cafe latte cup.
  • FIG. 9 is a front view conceptually showing the supply stage shown in FIG. 1.
  • FIG. 10 is a sectional view of the supply stage shown in FIG.
  • FIG. 11 is an explanatory diagram showing a positional relationship between the first light projecting unit, the second light projecting unit, and the imaging unit.
  • FIG. 12A is an explanatory diagram showing image data captured by the image capturing section
  • FIG. 12B is an explanatory diagram showing data subjected to whitening processing by the correction processing section.
  • FIG. 13 is a flowchart showing the processing contents of the beverage supply control processing executed by the control unit shown in FIG.
  • ⁇ Embodiment 1> 1 and 2 conceptually show a cup detection device according to a first embodiment of the present invention.
  • the cup detection device illustrated here detects whether the transparent resin cup Cu dedicated to cold beverages or the paper cup Ch dedicated to hot beverages is placed on the supply stage A2 of the beverage supply device A1. Is.
  • the transparent resin cup Cu is colorless and transparent, and contains ice in its interior before the beverage is supplied.
  • the transparent resin cup Cu is frozen and stored in a freezer so that the ice inside does not melt.
  • the paper cup Ch is white and opaque, and is formed to have substantially the same shape and size as the transparent resin cup Cu. This paper cup Ch is stored at room temperature with the inside empty.
  • the supply stage A2 is for supplying a drink to the inside of the cup C when the transparent resin cup Cu and the paper cup Ch (hereinafter, simply referred to as a cup C when collectively referred to) are placed. Is.
  • the supply stage A2 is configured by providing a recess on the front surface of the beverage supply device A1. That is, the supply stage A2 includes a mounting plate A21 having a horizontal mounting surface A21a on which the cup C is mounted, a rear wall A22 covering the rear surface of the mounting plate A21, and both side surfaces of the mounting plate A21.
  • the left and right side walls A23L and A23R that cover and the ceiling wall A24 that covers the mounting surface A21a of the mounting plate A21 are configured.
  • the rear wall A22 of the supply stage A2 is provided so as to be parallel to the front surface of the beverage supply device A1.
  • Both side walls A23L and A23R of the supply stage A2 are provided so that the mutual distance gradually increases from both side edge portions of the rear wall A22 toward the front.
  • the supply stage A2 is provided with a first light projecting section A30 and an imaging section A31 on one side wall A23L located on the left side in FIG. 1, while the other side wall A23R located on the right side in FIG. Is provided with a second light projecting portion A32.
  • the first light projecting unit A30 and the second light projecting unit A32 respectively irradiate the surface of the cup C mounted on the mounting surface A21a of the supply stage A2.
  • the beverage supply device A1 of the first embodiment is premised on that the installation place is provided with indoor lighting that emits light having a color temperature of 5000 K, and the first light projecting unit A30 emits light having a color temperature of 5000 K.
  • the imaging unit A31 images a portion of the surface of the cup C that is a reflection region of the light emitted from the first light projecting unit A30 and matches a transmission region of the light emitted from the second light projecting unit. Then, it is configured by a CCD (Charge Coupled Device) image sensor.
  • CCD Charge Coupled Device
  • the beverage supply device A1 is provided with a beverage selection button A3 and a display unit A4 on the front surface.
  • the beverage selection button A3 is for selecting whether the beverage to be supplied is a hot beverage or a cold beverage.
  • the selection signal from the beverage selection button A3 is given to the control unit A40 described later.
  • the display unit A4 performs display according to a control signal from the control unit A40, and is configured by, for example, a liquid crystal display.
  • FIG. 3 shows a control system of the cup detection device applied to the above-mentioned beverage supply device A1.
  • the control unit A40 shown in FIG. 3 controls the display unit A4 and the beverage supply unit A5 based on the selection signal from the beverage selection button A3 and the image data acquired by the imaging unit A31.
  • the beverage supply unit A5 operates according to a drive signal from the control unit A40, and selectively selects hot beverages and cold beverages with respect to the cup C placed on the supply stage A2.
  • the control unit A40 of the first embodiment is configured to have an image processing unit A41 and a determination unit A42.
  • the image processing unit A41 When the image processing unit A41 is provided with the image data acquired by the image capturing unit A31, the image processing unit A41 performs image processing on the image data, thereby causing a whiteout area (areas having RGB values of 255, 255, and 255). To clarify the difference between the areas that are not overexposed.
  • the image processing unit A41 of the first embodiment as shown in FIGS. 4 and 5, the image data acquired by the imaging unit A31 is subjected to the process of increasing the contrast and then the process of decreasing the brightness. ing.
  • the process of increasing the contrast is performed on the image data, the bright part of the screen becomes brighter and the dark part becomes darker.
  • the process of lowering the brightness is performed on this image data, the low-brightness area is crushed in black without changing the whiteout area, and the difference from the whiteout area is reduced. It will be clearer.
  • the determination unit A42 determines whether the cup C mounted on the mounting surface A21a of the supply stage A2 is a colorless transparent transparent resin cup Cu based on the image data processed by the image processing unit A41, or a white paper-made cup. It is determined whether or not it is the cup Ch. More specifically, when the image data processed by the image processing unit A41 is given, the determination unit A42 cuts out a predetermined rectangular area, and measures a whiteout area in the cut-out rectangular image data S. .. The rectangular region cut out by the determination unit A42 is set so as to include a portion of the surface of the cup C to which the central light of the first light projecting unit A30 is irradiated.
  • the determination unit A42 compares the ratio of the whiteout areas in the rectangular image data S with a preset threshold, and the rectangular image data S has a hue and saturation corresponding to a color temperature of 6500K. Whether or not there is a portion is detected, and the type of cup C is determined based on this detection result and the above comparison result.
  • the first threshold serves as a criterion for determining whether or not the cup C is a paper cup Ch, and the white area in the rectangular image data S is set to 80%.
  • the second threshold value (lower limit threshold value) serves as a criterion for determining whether or not the cup C is the transparent resin cup Cu, and the white area in the rectangular image data S is set to 40%. ..
  • the measurement of the whiteout areas in the rectangular image data S may be calculated by counting the number of pixels having RGB values of 255, 255, 255 among the pixels forming the rectangular image data S. However, the ratio of the whiteout areas may be derived from the average luminance of the rectangular image data S.
  • the method of counting the number of pixels having RGB values of 255, 255, 255 there is no influence of the external environment such as the environment in which the beverage supply device A1 is installed. Therefore, for example, even in a situation where the laser light from the laser pointer is radiated to the cup C due to mischief, it is possible to more accurately measure the whiteout area.
  • control unit A40 for example, a processing device such as a CPU (Central Processing Unit) may execute the program, that is, it may be realized by software, or by hardware such as an IC (Integrated Circuit). Alternatively, it can be realized by using software and hardware together.
  • a processing device such as a CPU (Central Processing Unit) may execute the program, that is, it may be realized by software, or by hardware such as an IC (Integrated Circuit). Alternatively, it can be realized by using software and hardware together.
  • CPU Central Processing Unit
  • the processing content of the control unit A40 will be described, and the characteristic part of the present invention will be described in detail.
  • the drive signal from the control unit A40 irradiates the supply stage A2 with light from the first light projecting unit A30 and the second light projecting unit A32.
  • the image pickup section A31 picks up an image of the supply stage A2.
  • the control unit A40 performs a process of determining the type of the cup C (including the case without the cup C here) through the determination unit A42 based on the image data acquired by the imaging unit A31.
  • the determination unit A42 sets the paper on the supply stage A2. It is determined that the manufactured cup Ch is placed. That is, in the case of the paper cup Ch, as shown in FIG. 4, since the ratio of the light emitted from the first light projecting portion A30 is reflected on the surface of the cup C, it is shown in FIG. As described above, most of the rectangular image data S is overexposed.
  • the determination unit A42 determines that the cup C is placed on the supply stage A2 and that the placed cup C is not the transparent resin cup Cu. Thereby, the control unit A40 starts the supply of the beverage as it is, for example, when the beverage selected by the beverage selection button A3 is a hot beverage, while the cold beverage is selected by the beverage selection button A3. It is possible to display an error indicating that the beverage supplied through the display unit A4 and the cup C do not match.
  • the determination unit A42 places the cup C on the supply stage A2. It is determined that the mounted and mounted cup C is the transparent resin cup Cu. That is, in the case of the transparent resin cup Cu, as shown in FIG. 5, the ratio of the light emitted from the first light projecting section A30 passing through the cup C and being reflected on the surface is smaller than that of the paper cup Ch. Low. Therefore, as shown in FIG. 5C, the white areas in the rectangular image data S are also smaller than the paper cup Ch.
  • the transparent resin cup Cu transmits the light having the color temperature of 6500K emitted from the second light projecting unit A32, the image data of the cup C acquired by the image capturing unit A31 and the image data of the ice in the interior are converted to 6500K. A portion having a hue and a saturation corresponding to appears. Therefore, in the case of the above detection result, the determination unit A42 determines that the cup C placed on the supply stage A2 is the transparent resin cup Cu. Thereby, the control unit A40 starts the supply of the beverage as it is, for example, if the beverage selected by the beverage selection button A3 is a cold beverage, while the hot beverage is selected by the beverage selection button A3. It is possible to display an error indicating that the beverage supplied through the display unit A4 and the cup C do not match.
  • the control unit A40 can display an error indicating that there is no cup C through the display unit A4, for example. Further, in the rectangular image data S, the whiteout area is less than the first threshold value and exceeds the second threshold value, that is, the whiteout area is more than 40% and less than 80%. In addition, an error display indicating that the position where the cup C is placed needs to be corrected may be displayed.
  • the white-out region when the surface of the cup C is irradiated with light is different between the paper cup Ch and the transparent resin cup Cu, and further, Since the translucency when the cup C is irradiated with light is different between the paper-made cup Ch and the transparent resin-made cup Cu, the difference between the two is determined. It is possible to accurately determine whether or not the cup C placed on A21a is transparent. As a result, there is an advantage that, for example, there is no possibility that the hot beverage is supplied to the transparent resin cup Cu.
  • the determination based on the size of the whiteout area included in the image data acquired by the imaging unit A31 and the determination based on the presence or absence of transmitted light from the second light projecting unit A32 Since it is determined whether or not the cup C is transparent by and, it is possible to make a more accurate determination.
  • the present invention is not limited to this, and the type of the cup C may be determined only from the size of the whiteout area included in the image data acquired by the imaging unit A31, or the second light projecting unit. It may be determined whether or not the cup C is transparent only based on the presence or absence of transmitted light from A32.
  • the color temperatures of the first light projecting section A30 and the second light projecting section A32 may be matched. Further, in the case where the color temperatures of the first light projecting section A30 and the second light projecting section A32 are set to be different from each other, in the above-described first embodiment, the color temperature of the second light projecting section A32 is set to the first color temperature. Although the color temperature is set higher than that of the light projecting unit A30, the color temperature may be set differently in the opposite manner. Further, when the type of the cup C is determined based on the size of the whiteout area, image processing for changing the contrast and the brightness is performed in advance, which is advantageous in terms of determination accuracy, but the image processing is not always necessary. You don't have to.
  • the first threshold is set in addition to the second threshold that is the lower limit threshold, and when the whiteout area is equal to or larger than the first threshold, it is a paper cup.
  • the first threshold it is not always necessary to provide the first threshold, and it may be determined that the cup is not a transparent cup when the second threshold is exceeded.
  • the cup C to be detected is placed on the placement surface A21a of the supply stage A2, but the present invention is not limited to this, and the state of being held by the hand is provided. It is also possible to make the cup C of the detection target.
  • the side walls A23L and A23R on which the first light projecting section A30, the second light projecting section A32, and the imaging section A31 are provided are parallel to each other on both sides of the cup C mounted on the supply stage A2. It may be provided.
  • a white paper cup Ch is illustrated as an opaque cup that is the object of judgment with the transparent resin cup Cu, it does not necessarily have to be white, and if it is opaque, it need not necessarily be paper. Absent.
  • the display unit A4 and the beverage supply unit A5 are controlled based on the cup determination result by the control unit A40, the present invention is not limited to this.
  • FIG. 6 and 7 each show a beverage supply device according to a second embodiment of the present invention
  • FIG. 6 is a perspective view showing an external configuration
  • FIG. 7 is a block diagram schematically showing a control system. It is a figure.
  • the beverage supply device illustrated here is, for example, a coffee machine installed in a store such as a convenience store, and for example, performs coffee bean grinding and extraction processing of dripping, and supplies a beverage such as coffee to a cup C, for example. Is.
  • a beverage supply device includes a device body B1.
  • cup C there are two types of cup C, one for cold regular coffee (hereinafter also referred to as ice coffee cup) and one for cold cafe latte (hereinafter also referred to as ice cafe latte cup).
  • ice coffee cup for cold regular coffee
  • cold cafe latte cup hereinafter also referred to as ice cafe latte cup
  • the cup for ice coffee and the cup for ice cafe latte illustrated here are examples, and the present invention is not limited thereto.
  • the ice coffee cup is made of a colorless and transparent transparent resin, and has ice inside before being supplied with the beverage.
  • This ice coffee cup is stored frozen in a freezer so that the ice inside does not melt.
  • the ice-cafe latte cup is made of a colorless and transparent transparent resin, and has ice inside it before the beverage is supplied.
  • an identification area T in which black characters such as “Caffe Latte” are written is provided.
  • the ice cafe latte cup is frozen and stored in the freezer so that the ice inside does not melt.
  • the device body B1 includes a body cabinet B10 and a front door B20.
  • the main body cabinet B10 has a substantially rectangular parallelepiped shape with an open front surface.
  • a beverage production section B11 for producing a beverage for example, coffee is provided inside the main body cabinet B10.
  • the front door B20 is a door body that is large enough to close the front opening of the main body cabinet B10.
  • the front door B20 is provided at one front side edge of the main body cabinet B10 so as to be swingable around a central axis of a shaft portion (not shown) extending along the vertical direction, and is provided on the front surface of the main body cabinet B10. It is possible to open and close the opening.
  • the front door B20 has a front face serving as a customer service surface, and is provided with a display unit B21, a supply stage B22, and an opening/closing door B23.
  • the display unit B21 is composed of, for example, a liquid crystal touch panel, has various kinds of information, and has an input unit B21a capable of input operation such as touch operation.
  • the supply stage B22 is configured by providing a recess on the lower side of the display unit B21. As shown in FIGS. 9 and 10, the supply stage B22 has a nozzle B221, a mounting plate B222, a rear wall B223, and side walls B224L and B224R.
  • the nozzle B221 discharges the beverage produced by the beverage producing unit B11 downward.
  • the mounting plate B222 is provided in the lower region of the nozzle B221.
  • the mounting plate B222 is for mounting the cup C, and is provided with an arcuate stopper B222a.
  • the mounting plate B222 is formed with a plurality of passage holes B222b for passing the beverage discharged from the nozzle B221 and not supplied to the cup C, and a tray (not shown) for storing the beverage is formed below the passage holes B222b. No) is provided.
  • the rear wall B223 covers the rear surface of the mounting plate B222.
  • the side walls B224L and B224R cover both side surfaces of the mounting plate B222.
  • the side walls B224L and B224R are provided so that the mutual distance between the side walls of the rear wall B223 gradually increases toward the front.
  • the opening/closing door B23 is made of, for example, a transparent material such as a transparent resin, and has a size sufficient to cover the entrance B225 of the supply stage B22.
  • the opening/closing door B23 has a left end portion pivotally supported by the front door B20 and is swingable along the front-rear direction. That is, the opening/closing door B23 can swing along the front-rear direction so as to move closer to and away from the supply stage B22, and closes the entrance B225 of the supply stage B22 when swinging rearward so as to approach the supply stage B22.
  • the inlet B225 can be opened when swinging forward in a manner separated from the supply stage B22.
  • the beverage supply device includes a cup detection unit B31, a first light projecting unit B32, a second light projecting unit B33, an imaging unit B34, a door opening/closing detection unit B35, a door opening/closing lock mechanism B36, and a control unit B40. Is equipped with.
  • the cup detection unit B31 is composed of, for example, an optical sensor or the like, and detects whether or not the cup C is arranged on the supply stage B22, that is, whether or not the cup C is mounted on the mounting plate B222.
  • the cup detection unit B31 provides the control unit B40 with the detection result of the presence or absence of the cup C.
  • the first light projecting unit B32 is provided on the left side wall B224L of the supply stage B22.
  • the first light projecting unit B32 irradiates the surface of the cup C mounted on the mounting plate B222 with light, and uses an LED (Light Emitting Diode).
  • the second light projecting unit B33 is provided on the right side wall B224R of the supply stage B22, as shown in FIGS. 8 and 9.
  • the second light projecting unit B33 irradiates the surface of the cup C mounted on the mounting plate B222 with light, and uses an LED.
  • the first light projecting portion B32 and the second light projecting portion B33 are provided on the upper portions of the side walls B224L and B224R, respectively, so that the upper peripheral surface of the cup C can be irradiated with light obliquely from above. ..
  • the first light projecting unit B32 irradiates light above the identification region T, and the second light projecting unit B33 is adjusted so that the brightness is higher than that of the first light projecting unit B32.
  • the imaging unit B34 is provided on the left side wall B224L of the supply stage B22, as shown in FIGS. 9 and 10. As shown in FIG. 11, the imaging unit B34 is a reflection region of the light emitted from the first light projecting unit B32 on the surface of the cup C and a transmission region of the light emitted from the second light projecting unit B33.
  • the image pickup area SR that matches the image pickup area SR, that is, the image pickup area SR including a part of the identification area T facing the image pickup area SR is picked up, and is configured by a CCD (Charge Coupled Device) image sensor.
  • CCD Charge Coupled Device
  • the door open/close detection unit B35 is provided in the vicinity of the entrance B225 of the supply stage B22 and is composed of, for example, an optical sensor.
  • the door open/close detection unit B35 detects opening/closing of the entrance B225 by the opening/closing door B23, and more specifically, detects whether the entrance B225 is closed, that is, whether the opening/closing door B23 is closed. is there.
  • the door open/close detection unit B35 gives the control unit B40 a detection result as to whether the open/close door B23 is closed.
  • the door opening/closing lock mechanism B36 is provided near the entrance B225 of the supply stage B22.
  • the door opening/closing lock mechanism B36 holds a state in which the opening/closing door B23 that closes the entrance B225 is closed to prevent the opening/closing door B23 from swinging forward, and the opening/closing door B23. It is possible to selectively switch between a released state that allows swinging forward of the.
  • the switching of the door opening/closing lock mechanism B36 is performed according to a command given from the control unit B40.
  • the control unit B40 includes the beverage generation unit B11, the display unit B21, the cup detection unit B31, the first light projecting unit B32, the second light projecting unit B33, the imaging unit B34, the door opening/closing detection unit B35, and the door opening/closing lock mechanism B36 described above. Is electrically connected to each other, and collectively controls the operations of these units in accordance with the programs and data stored in the storage unit B41 that is also electrically connected.
  • the control unit B40 has a correction processing unit B40a and a determination unit B40b.
  • the control unit B40 may be implemented, for example, by causing a processing device such as a CPU (Central Processing Unit) to execute a program, that is, by software, or by hardware such as an IC (Integrated Circuit). Alternatively, it may be realized by using software and hardware together.
  • a processing device such as a CPU (Central Processing Unit) to execute a program, that is, by software, or by hardware such as an IC (Integrated Circuit). Alternatively, it may be realized by using software and hardware together.
  • the correction processing unit B40a converts the information about the color included in the image data into a gray scale according to a predetermined condition (for example, brightness), and converts each pixel of the converted gray scale.
  • whitening processing is performed by performing contrast adjustment and brightness adjustment. More specifically, the correction processing unit B40a performs a process of increasing the contrast and then a process of decreasing the brightness on each pixel of the converted gray scale.
  • a process of increasing the contrast is performed on grayscale data, a bright portion becomes brighter and a dark portion becomes darker. Then, when the process of lowering the brightness is performed on the grayscale data, as shown in (a) to (b) of FIG.
  • the black part is not changed and the black part and the white part are not changed. The difference with the part becomes clearer.
  • the cup C shown in FIG. 12 is an ice cafe latte cup, and in the case of an ice coffee cup, black characters are not shown in the identification area T.
  • the determination unit B40b determines whether the cup C placed on the placing plate B222 is an ice coffee cup or an ice cafe latte cup based on the whitening-processed data by the correction processing unit B40a. It is something to do. More specifically, the determination unit B40b calculates the standard deviation of the black portion when the image data whitened by the correction processing unit B40a is given, and calculates the calculated value (standard deviation value) and the preset threshold value. When the calculated value is equal to or more than the threshold value, the cup C is determined as an ice cafe latte cup.
  • FIG. 13 is a flowchart showing the processing content of the beverage supply control processing executed by the control unit B40 shown in FIG. The operation of the beverage supply device will be described while explaining the processing content of the beverage supply control processing.
  • control unit B40 determines whether or not the cup detection unit B31 detects that the cup C is on the supply stage B22 (step S101). That is, the cup detection unit B31 detects whether the cup C is placed on the placement plate B222.
  • step S101: Yes the control unit B40 determines whether or not the open/close door B23 is closed based on the detection result of the door open/close detection unit B35 (step S102). ). When the opening/closing door B23 is not closed (step S102: No), the determination process of step S102 is repeated.
  • step S102 when the opening/closing door B23 is closed (step S102: Yes), the control unit B40 gives a light projecting command to the first light projecting unit B32 and the second light projecting unit B33 to cause the surface of the cup C to be exposed. And light is irradiated (step S103). The control unit B40 that has performed the light irradiation determines the type of the cup C (step S104).
  • the control unit B40 waits for acquisition of image data in the imaged region SR of the cup C through the image pickup unit B34. Then, when the image data acquired by the imaging unit B34 is given, the control unit B40 converts the information regarding the color included in the image data into gray scale according to the brightness through the correction processing unit B40a, and converts each pixel of the converted gray scale. Then, the contrast adjustment and the brightness adjustment are performed for the whitening process. After that, the control unit B40 determines whether the cup C mounted on the mounting plate B222 based on the whitening-processed data by the correction processing unit B40a is an ice coffee cup or an ice cafe latte through the determination unit B40b. Determine if it is a cup.
  • the control unit B40 that has performed the determination of the type of the cup C in this way indicates to the display unit B21 that the beverage corresponding to the type of the cup C determined in step S104 described above, that is, the beverage to be supplied (ice coffee beverage). Alternatively, an iced cafe latte beverage) and a guidance display for guiding the touch of the input unit B21a on which the confirmation message is displayed are displayed (step S105).
  • control unit B40 determines whether or not the input unit B21a is touched (step S106). When the input unit B21a is not touched (step S106: No), the control unit B40 repeats the determination process of step S106. On the other hand, when the input unit B21a is touched (step S106: Yes), the control unit B40 locks the open/close door B23 in the closed state by using the door open/close lock mechanism B36 (step S107), and controls the beverage production unit B11. Then, the process of generating and supplying the beverage to be supplied is performed (step S108).
  • control unit B40 determines whether or not the beverage supply by the beverage generation unit B11 is completed (step S109). When the beverage supply is not completed (step S109: No), the control unit B40 returns to step S108 and continues the beverage generation and supply processing.
  • step S109: Yes the control unit B40 gives a light emission stop command to the first light projecting unit B32 and the second light projecting unit B33 to stop the light irradiation,
  • the lock of the closed state of the open/close door B23 by the door open/close lock mechanism B36 is released (steps S110 and S111), and then the procedure is returned to end this processing.
  • the image pickup unit B34 images the image pickup region SR on the surface of the cup C, and the correction processing unit B40a of the control unit B40 sets the image pickup unit B40.
  • the information about the color included in the acquired image data of B34 is converted into a gray scale according to the brightness, the contrast adjustment and the brightness adjustment are performed on each pixel of the converted gray scale, the whitening process is performed, and the determination of the control unit B40 is performed.
  • the section B40b determines the type of the cup C of the supply stage B22 based on the value of the standard deviation of the black portion in the data whitened by the correction processing section B40a, the passage hole of the mounting plate B222 that passes through the cup C is determined.
  • the type of the cup C can be determined by whitening the B222b and the black character that is transmitted through the cup C (that is, the black character described in the identification area T other than the captured area SR). Therefore, according to the beverage supply device, the type of the cup C can be satisfactorily determined.
  • the imaged region SR is the reflection region of the light from the first light projecting unit B32, the transmission region of the light from the second light projecting unit B33, and the second light projecting unit. Since the brightness of B33 is higher than that of the first light projecting unit B32, it is possible to make the background of the black characters in the imaged region SR whiter (brighter), and as a result, the black characters in the imaged region SR become It is possible to acquire a more prominent image, and it is possible to favorably determine the type of cup C.
  • the determination unit B40b of the control unit B40 determines the type of the cup C of the supply stage B22 based on the value of the standard deviation of the black portion in the data whitened by the correction processing unit B40a.
  • the type of cup may be determined based on the variation of the black portion in the whitening-processed data by the correction processing unit and the luminance of the black portion. For the variation of the black portion, a statistical method such as a histogram can be applied.
  • the second light projecting unit B33 has been described as having a higher brightness than the first light projecting unit B32.
  • light from the outside of the device such as store lighting is sufficient.
  • the brightness of the second light projecting unit need not be higher than the brightness of the first light projecting unit. That is, the brightness of the second light projecting unit may be lower than the brightness of the first light projecting unit.
  • the image capturing unit B34 that captures the imaged region SR of the cup C is used as the information acquisition unit that acquires information about the surface of the cup C, but in the present invention, the color of the surface of the cup is used.
  • a color sensor or the like may be used as the information acquisition unit as long as the information including the information can be acquired.
  • the cup for ice cafe latte with the black character attached to the identification area T is illustrated, but in the present invention, the cup with the black pattern or the black symbol attached to the identification area is the determination target. Good.
  • the correction processing unit B40a of the control unit B40 converts the information about the color included in the image data acquired by the image capturing unit B34 into gray scale according to the brightness.
  • the correction processing unit may convert the information about the color of the cup acquired by the information acquisition unit into gray scale as follows.
  • the correction processing unit may convert each pixel of the information about the color of the cup into the gray scale with the color component having the maximum value among the red component, the green component, and the blue component. According to this, for example, even when the information such as the color of the ice inside the cup is acquired by the sunlight, the grayscale with the maximum color component of the red component, the green component and the blue component is obtained for each pixel. By converting to, the ice or the like can be made white, and as a result, the type of cup can be satisfactorily determined.
  • Nozzle B222 ... Mounting plate, B223... Rear wall, B224L, B224R... Side wall, B225... Entrance, B23... Opening door, B31... Cup detecting part, B32... First light projecting part, B33... Second light projecting part, B34... Imaging Section, B35... Door opening/closing detection section, B36... Door opening/closing lock mechanism, B40... Control section, B40a... Correction processing section, B40b... Judgment section, B41... Storage section, C... Cup, SR... Imaging area, T... Identification region.

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Food Science & Technology (AREA)
  • Devices For Dispensing Beverages (AREA)
  • Beverage Vending Machines With Cups, And Gas Or Electricity Vending Machines (AREA)

Abstract

供給ステージA2に配置されたカップCを検出するカップ検出装置であって、カップCの表面に光照射を行う第1の投光部A30と、カップCの表面において第1の投光部A30からの光の反射領域を撮像する撮像部A31と、撮像部A31の取得した画像データにおける白飛びしている領域が予め設定した下限閾値以下の場合にカップCが透明であると判定する判定部A42とを備えている。

Description

カップ検出装置及び飲料供給装置
 本発明は、カップ検出装置及び飲料供給装置に関するものである。
 従来、例えばコンビニエンスストア等の店舗には、コーヒーマシン等の飲料供給装置(飲料ディスペンサ)が設置されている。飲料供給装置は、利用者により飲料が選択された場合に、例えばコーヒー豆挽き及びドリッピングの抽出処理等を行って飲料を生成し、供給ステージに配置されたカップに対して飲料を供給するものである。
 そのような飲料供給装置においては、供給ステージにカップが配置されているか否かを検出するカップ検出装置が設けられており、カップを検出した場合にのみ飲料の供給を行うようにしたものが提案されている(例えば、特許文献1参照)。
特開2009-274767号公報
 ところで、昨今の飲料供給装置では、供給する飲料の種類に応じて使用するカップの材質を変更するものがある。例えば、ホット飲料を供給する場合には、紙製のカップを用いるようにし、コールド飲料を供給する場合には、透明樹脂製のカップを用いるようにした飲料供給装置がある。こうした飲料供給装置では、供給ステージに配置されたカップの材質と、供給指示された飲料の種類とが適切な組み合せでない場合、エラー表示する等して、飲料の供給を実施しないように構成することが好ましい。つまり、カップ検出装置としては、供給ステージにカップが配置されているか否かを検出するばかりでなく、カップの材質を検出する機能を有していれば、誤って透明樹脂製のカップにホット飲料が供給される事態を未然に防止することができるようになる。
 また、昨今の飲料供給装置では、供給する飲料の種類に応じて使用するカップの種類を変更するものがある。例えば、コールドのレギュラーコーヒーを供給する場合には、内部に氷が入れられた透明樹脂製のカップ(以下、アイスコーヒー用カップともいう)を用いるようにし、コールドのカフェラテ等の乳飲料を含有するコーヒーを供給する場合には、内部に氷が入れられた透明樹脂製のものであって、その周面に所定の文字が記載されたカップ(以下、アイスカフェラテ用カップともいう)を用いるようにした飲料供給装置である。こうした飲料供給装置では、供給ステージに配置されたカップの種類と、供給指示された飲料の種類とが適切な組み合わせでない場合、飲料の供給を実施しないように構成することが望ましい。つまり、供給ステージに配置されたカップの種類を判定する機能を有していれば、誤ってレギュラーコーヒー用カップに対して、カフェラテが供給される事態を未然に防止することができるようになる。
 本発明は、上記実情に鑑みて、カップが透明であるか否かを精度良く検出することのできるカップ検出装置を提供することを目的とする。
 また本発明は、上記実情に鑑みて、カップの種類を良好に判定することができる飲料供給装置を提供することを目的とする。
 上記目的を達成するため、本発明に係るカップ検出装置は、供給ステージに配置されたカップを検出するカップ検出装置であって、カップの表面に光照射を行う投光部と、前記カップの表面において前記投光部からの光の反射領域を撮像する撮像部と、前記撮像部の取得した画像データにおける白飛びしている領域が予め設定した下限閾値以下の場合にカップが透明であると判定する判定部とを備えたことを特徴とする。
 また本発明は、上述したカップ検出装置において、前記判定部は、前記撮像部の取得した画像データにおいて白飛びしている画素数をカウントすることによって白飛びしている領域を測定することを特徴とする。
 また本発明は、上述したカップ検出装置において、前記判定部は、前記撮像部の取得した画像データの平均輝度に基づいて白飛びしている領域を測定することを特徴とする。
 また本発明は、上述したカップ検出装置において、前記判定部は、白飛びしている領域を測定する以前に、前記撮像部の取得した画像データに対してコントラストを上げる処理を施した後、輝度を下げる処理を施すことを特徴とする。
 また本発明に係るカップ検出装置は、供給ステージに配置されたカップを検出するカップ検出装置であって、カップに光照射を行う投光部と、前記カップの表面において前記投光部からの光の透過領域を撮像する撮像部と、前記撮像部の取得した画像データにおいて前記投光部からの透過光を検出した場合にカップが透明であると判定する判定部とを備えたことを特徴とする。
 また本発明に係るカップ検出装置は、供給ステージに配置されたカップを検出するカップ検出装置であって、カップの表面に光照射を行う第1の投光部と、第1の投光部とは異なる方向からカップに対して第1の投光部とは異なる色温度の光照射を行う第2の投光部と、カップの表面において第1の投光部からの光の反射領域を撮像するとともに、第2の投光部からの光の透過領域を撮像する撮像部と、前記撮像部の取得した画像データにおける白飛びしている領域が予め設定した下限閾値を下回り、かつ前記第2の投光部からの透過光を検出した場合にカップが透明であると判定する判定部とを備えたことを特徴とする。
 本発明に係る飲料供給装置は、供給ステージに配置されたカップに対して、飲料生成部で生成した飲料を供給する飲料供給装置であって、前記カップの表面の情報を取得する情報取得部と、前記情報取得部で取得された前記カップの色に関する情報を所定条件に従ってグレースケールに変換し、変換したグレースケールの各画素に対して輝度調整及びコントラスト調整を行うことにより白色化処理を行う補正処理部と、前記補正処理部により白色化処理が行われたデータにおける黒色部分のばらつきの大きさ、あるいは輝度の大きさにより前記カップの種類を判定する判定部とを備えたことを特徴とする。
 また本発明は、上記飲料供給装置において、前記情報取得部は、前記カップの表面における被撮像領域を撮像する撮像部であり、前記判定部は、標準偏差の値により前記被撮像領域の黒色文字の有無を識別して前記カップの種類を判定することを特徴とする。
 また本発明は、上記飲料供給装置において、前記カップの表面に光照射を行う第1投光部と、前記第1投光部とは異なる方向から前記カップに対して光照射を行う第2投光部とを備え、前記被撮像領域が、前記第1投光部からの光の反射領域であって、前記第2投光部からの光の透過領域であり、前記第2投光部は、前記第1投光部よりも輝度が大きいことを特徴とする。
 また本発明は、上記飲料供給装置において、前記補正処理部は、前記カップの色に関する情報の各画素について、赤色成分、緑色成分及び青色成分のうち最大値となる色成分でグレースケールに変換させることを特徴とする。
 また本発明は、上記飲料供給装置において、前記カップは、透明樹脂製のもので、内部に氷が入っていることを特徴とする。
 本発明によれば、カップが透明である場合には投光部からの光が透過するため、撮像部の取得した画像データにおいて白飛びしている領域が透明でないカップよりも小さくなる。従って、白飛びしている領域の大小に応じてカップが透明であるか否かを精度良く判定することが可能となる。
 また、本発明によれば、カップが透明でない場合、あるいは透光性に乏しいものである場合にはカップの表面において投光部からの光の透過領域に透過光が検出されることがない。従って、透過光の有無を検出することでカップが透明であるか否かを精度良く判定することが可能となる。
 本発明によれば、情報取得部がカップの表面の情報を取得し、補正処理部が、情報取得部で取得されたカップの色に関する情報を所定条件に従ってグレースケールに変換し、変換したグレースケールの各画素に対して輝度調整及びコントラスト調整を行うことにより白色化処理を行い、判定部が、補正処理部により白色化処理が行われたデータにおける黒色部分のばらつきの大きさ、あるいは輝度の大きさによりカップの種類を判定するので、カップを透過する色情報については白色化させてカップの種類を判定することができ、カップの種類を良好に判定することができる。
図1は、本発明の実施の形態であるカップ検出装置を適用した飲料供給装置を概念的に示す正面図である。 図2は、図1に示した飲料供給装置の断面図である。 図3は、図1に示した飲料供給装置の制御系を示すブロック図である。 図4は、図3に示した制御部で実施されるカップの判定手順を示すもので、(a)は撮像部が取得した画像データである紙製カップの概念図、(b)は(a)の画像データに対してコントラストを上げる処理を施した後の概念図、(c)は(b)の画像データに対してさらに輝度を下げる処理を施した後の概念図及びその一部拡大図である。 図5は、図3に示した制御部で実施されるカップの判定手順を示すもので、(a)は撮像部が取得した画像データである透明樹脂製カップの概念図、(b)は(a)の画像データに対してコントラストを上げる処理を施した後の概念図、(c)は(b)の画像データに対してさらに輝度を下げる処理を施した後の概念図及びその一部拡大図である。 図6は、本発明の実施の形態2である飲料供給装置の外観構成を示す斜視図である。 図7は、本発明の実施の形態2である飲料供給装置の制御系を模式的に示すブロック図である。 図8の(a)は、コールドのレギュラーコーヒー用のカップを示す外観図であり、図8の(b)は、コールドのカフェラテ用のカップを示す外観図である。 図9は、図1に示した供給ステージを概念的に示す正面図である。 図10は、図1に示した供給ステージの断面図である。 図11は、第1投光部、第2投光部及び撮像部の配置関係を示す説明図である。 図12の(a)は、撮像部で撮像した画像データを示す説明図であり、図12の(b)は、補正処理部で白色化処理を行ったデータを示す説明図である。 図13は、図7に示した制御部が実施する飲料供給制御処理の処理内容を示すフローチャートである。
 以下、添付図面を参照しながら本発明に係るカップ検出装置及び飲料供給装置の好適な実施の形態について詳細に説明する。
<実施の形態1>
 図1及び図2は、本発明の実施の形態1であるカップ検出装置を概念的に示したものである。ここで例示するカップ検出装置は、飲料供給装置A1の供給ステージA2にコールド飲料専用の透明樹脂製カップCuが載置されたか、ホット飲料専用の紙製カップChが載置されたかを検出するものである。透明樹脂製カップCuは、無色で透明であり、飲料が供給される以前の状態で予め内部に氷が入ったものである。この透明樹脂製カップCuは、内部の氷が融解しないように冷凍庫の内部で冷凍保管されている。紙製カップChは、白色で不透明であり、透明樹脂製カップCuとほぼ同じ形状、ほぼ大きさに形成されている。この紙製カップChは、内部が空の状態で常温保管されている。
 供給ステージA2は、上述の透明樹脂製カップCu及び紙製カップCh(以下、総称する場合には単にカップCという)が載置された場合に、カップCの内部に飲料を供給するためのものである。本実施の形態1では、飲料供給装置A1の前面に凹部を設けることによって供給ステージA2が構成してある。すなわち、供給ステージA2は、カップCが載置される水平の載置面A21aを有した載置板A21と、載置板A21の後面を覆う後壁A22と、載置板A21の両側面を覆う左右の側壁A23L,A23Rと、載置板A21の載置面A21aを覆う天壁A24とを有して構成してある。図からも明らかなように、供給ステージA2の後壁A22は、飲料供給装置A1の前面と平行となるように設けられている。供給ステージA2の両側壁A23L,A23Rは、後壁A22の両側縁部から前方に向けて相互間隔が漸次増大するように設けられている。
 この供給ステージA2には、図1において左方に位置する一方の側壁A23Lに第1の投光部A30及び撮像部A31が設けてある一方、図1において右方に位置するもう一方の側壁A23Rに第2の投光部A32が設けてある。第1の投光部A30及び第2の投光部A32は、それぞれ供給ステージA2の載置面A21aに載置されたカップCの表面に対して光照射を行うものである。本実施の形態1の飲料供給装置A1は、設置場所に色温度5000Kの光を照射する室内照明が設けられていることを前提とし、第1の投光部A30として、色温度5000Kの光を照射するLED(Light Emitting Diode)を適用し、第2の投光部A32として、色温度6500Kの光を照射するLEDを適用している。図2からも明らかなように、これら第1の投光部A30及び第2の投光部A32は、カップCの上部周面に対して斜め上方から光を照射することができるように、それぞれ側壁A23L,A23Rの上方部に設けてある。撮像部A31は、カップCの表面において第1の投光部A30から照射された光の反射領域であって、第2投光部から照射された光の透過領域に合致する部分を撮像するもので、CCD(Charge Coupled Device)イメージセンサによって構成してある。
 また、飲料供給装置A1には、前面に飲料選択ボタンA3及び表示部A4が設けてある。飲料選択ボタンA3は、供給する飲料がホット飲料であるかコールド飲料であるかを選択するものである。飲料選択ボタンA3からの選択信号は、後述の制御部A40に与えられることになる。表示部A4は、制御部A40からの制御信号に応じた表示を行うもので、例えば液晶ディスプレイによって構成してある。
 図3は、上述の飲料供給装置A1に適用されるカップ検出装置の制御系を示すものである。図3に示す制御部A40は、飲料選択ボタンA3からの選択信号及び撮像部A31の取得した画像データに基づいて表示部A4及び飲料供給部A5の制御を行うものである。飲料供給部A5は、図には明示していないが、制御部A40からの駆動信号に応じて動作し、供給ステージA2に載置されたカップCに対してホット飲料及びコールド飲料を選択的に供給するものである。本実施の形態1の制御部A40は、画像処理部A41及び判定部A42を有するように構成してある。
 画像処理部A41は、撮像部A31の取得した画像データが与えられると、この画像データに対して画像処理を施すことにより、白飛びしている領域(RGB値が255,255,255の領域)と、白飛びしていない領域との差を明瞭化するものである。本実施の形態1の画像処理部A41では、図4及び図5に示すように、撮像部A31の取得した画像データに対してコントラストを上げる処理を施した後、輝度を下げる処理を施すようにしている。画像データに対してコントラストを上げる処理を行った場合には、画面の明るい部分がより明るく、暗い部分がより暗くなる。さらに、この画像データに対して輝度を下げる処理を行うと、白飛びしている領域に変更が加えられることなく輝度の低い部分が黒く潰れることになり、白飛びしている領域との差がより明瞭となる。
 判定部A42は、画像処理部A41の処理した画像データに基づいて供給ステージA2の載置面A21aに載置されたカップCが無色透明の透明樹脂製カップCuであるか、あるいは白色の紙製カップChであるかの判定を行うものである。より具体的に説明すると、判定部A42は、画像処理部A41の処理した画像データが与えられると、所定の矩形領域を切り出し、切り出した矩形画像データSにおいて白飛びしている領域の測定を行う。判定部A42が切り出す矩形領域には、カップCの表面において第1の投光部A30の中心光が照射される部分を含むように設定してある。その後、判定部A42は、矩形画像データSにおける白飛びしている領域の割合と予め設定した閾値との比較を行うとともに、矩形画像データSに色温度6500Kに対応した色相及び彩度を有した部分が存在するか否かの検出を行い、この検出結果と先の比較結果とに基づいてカップCの種類を判定する。
 本実施の形態1では、予め2つの閾値が判定部A42に設定してある。第1の閾値は、カップCが紙製カップChであるか否かの判定基準となるもので、矩形画像データSにおいて白飛びしている領域が80%と設定してある。第2の閾値(下限閾値)は、カップCが透明樹脂製カップCuであるか否かの判定基準となるもので、矩形画像データSにおいて白飛びしている領域が40%と設定してある。矩形画像データSにおいて白飛びしている領域の測定は、矩形画像データSを構成する画素のうち、RGB値が255,255,255となっている画素数をカウントすることによって算出しても良いし、矩形画像データSの平均輝度から白飛びしている領域の割合を導出するようにしても良い。RGB値が255,255,255となっている画素数をカウントする方法によれば、飲料供給装置A1が設置される環境等、外部環境の影響を受けることがない。従って、例えば、イタズラによってレーザーポインタからのレーザ光がカップCに照射されているような状況下においても、白飛びしている領域をより正確に測定することが可能となる。
 上述の制御部A40としては、例えば、CPU(Central Processing Unit)等の処理装置にプログラムを実行させること、すなわち、ソフトウェアにより実現しても良いし、IC(Integrated Circuit)等のハードウェアにより実現したり、ソフトウェア及びハードウェアを併用して実現することも可能である。
 以下、制御部A40の処理内容について説明し、併せて本願発明の特徴部分について詳述する。この飲料供給装置A1では、飲料選択ボタンA3がオンされると、制御部A40からの駆動信号により第1の投光部A30及び第2の投光部A32から供給ステージA2に対して光の照射が開始されるとともに、撮像部A31によって供給ステージA2の撮像が行われる。さらに制御部A40は、撮像部A31の取得した画像データに基づき、判定部A42を通じてカップCの種類(ここではカップC無しを含む)を判定する処理を実施する。
 具体的に説明すると、判定部A42は、矩形画像データSにおいて白飛びしている領域が第1の閾値以上で、しかも6500Kに対応した色相及び彩度部分を検出しない場合、供給ステージA2に紙製カップChが載置されていると判定する。すなわち、紙製カップChの場合には、図4に示すように、第1の投光部A30から照射された光がカップCの表面において反射する割合が高いため、図4(c)に示すように、矩形画像データSの大部分が白飛びしている状態となる。さらに、紙製カップChでは、第2の投光部A32から照射された色温度6500Kの光が透過することがなく、撮像部A31の取得したカップCの画像データに6500Kに対応した色相及び彩度を有した部分が現れることがない。従って、上述の検出結果の場合、判定部A42は、供給ステージA2にカップCが載置され、かつ載置されたカップCが透明樹脂製カップCuではないと判定する。これにより、制御部A40は、例えば飲料選択ボタンA3によって選択された飲料がホット飲料であれば、そのまま飲料の供給を開始し、一方、飲料選択ボタンA3によってコールド飲料が選択されている場合には、表示部A4を介して供給する飲料とカップCとが合致していない旨のエラー表示を行うことができる。
 一方、判定部A42は、矩形画像データSにおいて白飛びしている領域が第2の閾値以下で、しかも6500Kに対応した色相及び彩度部分を検出した場合、供給ステージA2にカップCが載置され、かつ載置されたカップCが透明樹脂製カップCuであると判定する。すなわち、透明樹脂製カップCuの場合には、図5に示すように、第1の投光部A30から照射された光がカップCを透過し、表面において反射する割合が紙製カップChに対して低い。このため、図5(c)に示すように、矩形画像データSにおいて白飛びしている領域についても、紙製カップChより小さくなる。さらに、透明樹脂製カップCuでは、第2の投光部A32から照射された色温度6500Kの光が透過するため、撮像部A31の取得したカップCの画像データや内部の氷の画像データに6500Kに対応した色相及び彩度を有した部分が現れることになる。従って、上述の検出結果の場合には、供給ステージA2に載置されたカップCが判定部A42によって透明樹脂製カップCuではあると判定される。これにより、制御部A40は、例えば飲料選択ボタンA3によって選択された飲料がコールド飲料であれば、そのまま飲料の供給を開始し、一方、飲料選択ボタンA3によってホット飲料が選択されている場合には、表示部A4を介して供給する飲料とカップCとが合致していない旨のエラー表示を行うことができる。
 因に、矩形画像データSに白飛びしている領域がない場合、判定部A42は、カップCが載置されていないと判定する。従って、制御部A40は、例えば表示部A4を通じてカップCがない旨のエラー表示を行うことができる。また、矩形画像データSにおいて白飛びしている領域が第1の閾値未満、かつ第2の閾値を上回っている場合、つまり白飛びしている領域が40%を超え、かつ80%未満の場合には、カップCを載置する位置の修正が必要である旨のエラー表示を行うようにしても良い。
 以上説明したように、上述の飲料供給装置A1では、カップCの表面に光を照射した場合の白飛びする領域が紙製カップChと透明樹脂製カップCuとで異なる性質を利用し、さらにはカップCに光を照射した場合の透光性が紙製カップChと透明樹脂製カップCuとで異なる性質を利用して両者の違いを判定するようにしているため、供給ステージA2の載置面A21aに載置されたカップCが透明であるか否かを精度良く判定することが可能となる。これにより、例えば透明樹脂製カップCuにホット飲料を供給してしまう事態を招来するおそれがなくなる等の利点がある。
 尚、上述した実施の形態1では、撮像部A31の取得した画像データに含まれる白飛びしている領域の大小に基づく判定と、第2の投光部A32からの透過光の有無に基づく判定とによってカップCが透明であるか否かを判定するようにしているため、より精度の高い判定を行うことができる。しかしながら、本発明はこれに限定されず、撮像部A31の取得した画像データに含まれる白飛びしている領域の大小だけからカップCの種類を判定しても良いし、第2の投光部A32からの透過光の有無だけからカップCが透明であるか否かを判定するようにしても良い。白飛びしている領域の大小だけからカップCの種類を判定する場合には、第1の投光部A30と第2の投光部A32とで色温度を一致させても構わない。また、第1の投光部A30と第2の投光部A32とで色温度が異なるように設定する場合に上述した実施の形態1では、第2の投光部A32の色温度を第1の投光部A30よりも高く設定しているが、逆の態様で色温度が異なるように設定しても良い。さらに、白飛びしている領域の大小に基づいてカップCの種類を判定する場合に予めコントラスト及び輝度を変更する画像処理を行っているため、判定精度の点で有利となるが、必ずしも画像処理を行う必要はない。
 また、上述した実施の形態1では、下限閾値である第2の閾値の他に第1の閾値を設定し、白飛びしている領域がこの第1の閾値以上の場合に紙製カップであると判定するようにしているが、必ずしも第1の閾値は設ける必要はなく、第2の閾値を超えた場合に透明カップでないと判定しても良い。
 さらに、上述した実施の形態1では、検出対象となるカップCを供給ステージA2の載置面A21aに載置させるようにしているが、本発明はこれに限定されず、ハンドに挟持された状態のカップCを検出対象とすることも可能である。尚、第1の投光部A30、第2の投光部A32及び撮像部A31が設けられる側壁A23L,A23Rについては、供給ステージA2に載置されたカップCの両側において互いに平行となるように配設してあっても良い。さらに、透明樹脂製カップCuとの判定対象となる不透明のカップとして白色の紙製カップChを例示しているが、必ずしも白色である必要はなく、また不透明であれば必ずしも紙製である必要もない。また、制御部A40によるカップの判定結果に基づいて表示部A4及び飲料供給部A5の制御を行うようにしているが、必ずしもこれに限定されない。
<実施の形態2>
 図6及び図7は、それぞれ本発明の実施の形態2である飲料供給装置を示すもので、図6は、外観構成を示す斜視図であり、図7は、制御系を模式的に示すブロック図である。
 ここで例示する飲料供給装置は、例えばコンビニエンスストア等の店舗に設置されるコーヒーマシンであり、例えばコーヒー豆挽き及びドリッピングの抽出処理を行って、例えばカップCにコーヒー等の飲料を供給するものである。このような飲料供給装置は、装置本体B1を備えている。
 ここでカップCとしては、コールドのレギュラーコーヒー用のもの(以下、アイスコーヒー用カップともいう)と、コールドのカフェラテ用のもの(以下、アイスカフェラテ用カップともいう)とがある。尚、ここで例示したアイスコーヒー用カップとアイスカフェラテ用カップとは、一例であり、本発明はこれらに限定されるものではない。
 アイスコーヒー用カップは、図8の(a)に示すように、無色で透明な透明樹脂製のものであり、飲料が供給される以前の状態で予め内部に氷が入ったものである。このアイスコーヒー用カップは、内部の氷が融解しないように冷凍庫の内部で冷凍保管されている。
 アイスカフェラテ用カップは、図8の(b)に示すように、無色で透明な透明樹脂製のものであり、飲料が供給される以前の状態で予め内部に氷が入ったものである。このアイスカフェラテ用カップの周面の下部には、例えば「Caffe Latte」等の黒色文字が記載された識別領域Tが設けられている。またアイスカフェラテ用カップは、アイスコーヒー用カップと同様に、内部の氷が融解しないように冷凍庫の内部で冷凍保管されている。
 装置本体B1は、本体キャビネットB10及び前面扉B20を備えている。本体キャビネットB10は、前面が開口した略直方状の形態を成すものである。この本体キャビネットB10の内部には、飲料(例えばコーヒー)を生成する飲料生成部B11が設けてある。
 前面扉B20は、本体キャビネットB10の前面の開口を閉塞するのに十分な大きさを有する扉体である。この前面扉B20は、本体キャビネットB10の前方側一側縁部において、上下方向に沿って延在する図示せぬ軸部の中心軸回りに揺動可能に設けてあり、本体キャビネットB10の前面の開口を開閉することが可能である。
 かかる前面扉B20は、前面が接客面を構成しており、表示部B21、供給ステージB22及び開閉扉B23が設けてある。表示部B21は、例えば液晶タッチパネルで構成されており、各種情報を表示するとともに、タッチ操作等の入力操作が可能な入力部B21aを有している。
 供給ステージB22は、表示部B21の下方側に凹部を設けることにより構成してある。この供給ステージB22は、図9及び図10にも示すように、ノズルB221、載置板B222、後壁B223及び側壁B224L,B224Rを有している。ノズルB221は、飲料生成部B11で生成された飲料を下方に向けて吐出するものである。載置板B222は、ノズルB221の下方域に設けてある。この載置板B222は、カップCを載置させるものであり、円弧状のストッパB222aが設けてある。また載置板B222には、ノズルB221から吐出されてカップCに供給されなかった飲料を通過させる複数の通過孔B222bが形成してあり、その下方には飲料を貯留するためのトレイ(図示せず)が設けてある。
 後壁B223は、載置板B222の後面を覆うものである。側壁B224L,B224Rは、載置板B222の両側面を覆うものである。これら側壁B224L,B224Rは、後壁B223の両側縁部から前方に向けて相互間隔が漸次増大するように設けられている。
 開閉扉B23は、例えば透明な樹脂等の透光性材料により構成されるものであり、供給ステージB22の入口B225を覆うのに十分な大きさを有している。この開閉扉B23は、左側端部が前面扉B20に軸支されており、前後方向に沿って揺動可能なものである。つまり、開閉扉B23は、供給ステージB22に近接離反する態様で前後方向に沿って揺動可能であり、供給ステージB22に近接する態様で後方に揺動する場合に供給ステージB22の入口B225を閉成させることが可能であり、供給ステージB22から離隔する態様で前方に揺動する場合に入口B225を開成させることが可能である。
 図7に示すように、飲料供給装置は、カップ検出部B31、第1投光部B32、第2投光部B33、撮像部B34、扉開閉検知部B35、扉開閉ロック機構B36及び制御部B40を備えている。
 カップ検出部B31は、例えば光センサ等により構成されるもので、供給ステージB22におけるカップCの配置の有無、すなわち載置板B222にカップCが載置されたか否かを検出するものである。かかるカップ検出部B31は、カップCの有無の検出結果を制御部B40に与えるものである。
 第1投光部B32は、図8及び図9に示したように、供給ステージB22における左方の側壁B224Lに設けてある。この第1投光部B32は、載置板B222に載置されたカップCの表面に対して光照射を行うものであり、LED(Light Emitting Diode)を適用している。
 第2投光部B33は、図8及び図9に示したように、供給ステージB22における右方の側壁B224Rに設けてある。この第2投光部B33は、載置板B222に載置されたカップCの表面に対して光照射を行うものであり、LEDを適用している。
 これら第1投光部B32及び第2投光部B33は、カップCの上部周面に対して斜め上方から光を照射することができるように、それぞれ側壁B224L,B224Rの上方部に設けてある。第1投光部B32は、識別領域Tの上方に光照射を行うものであり、第2投光部B33は、第1投光部B32よりも輝度が大きくなるように調整してある。
 撮像部B34は、図9及び図10に示したように、供給ステージB22における左方の側壁B224Lに設けてある。この撮像部B34は、図11に示すように、カップCの表面において第1投光部B32から照射された光の反射領域であって、第2投光部B33から照射された光の透過領域に合致する被撮像領域SR、すなわち、自身に対向する識別領域Tの一部を含む被撮像領域SRを撮像するもので、CCD(Charge Coupled Device)イメージセンサによって構成してある。
 扉開閉検知部B35は、供給ステージB22の入口B225の近傍に設けてあり、例えば光センサ等で構成してある。この扉開閉検知部B35は、開閉扉B23による入口B225の開閉を検知するものであり、より詳細には、入口B225が閉成、すなわち開閉扉B23が閉となるか否かを検知するものである。かかる扉開閉検知部B35は、開閉扉B23が閉となるか否かの検知結果を制御部B40に与えるものである。
 扉開閉ロック機構B36は、供給ステージB22の入口B225の近傍に設けてある。この扉開閉ロック機構B36は、入口B225を閉成する開閉扉B23が閉となる状態を保持させて該開閉扉B23が前方に向けて揺動することを規制するロック状態と、該開閉扉B23が前方に向けて揺動することを許容する解除状態との間で択一的に切替可能なものである。かかる扉開閉ロック機構B36の切り替えは、制御部B40から与えられる指令に応じて行われる。
 制御部B40は、上述した飲料生成部B11、表示部B21、カップ検出部B31、第1投光部B32、第2投光部B33、撮像部B34、扉開閉検知部B35、扉開閉ロック機構B36に電気的に接続してあり、同じく電気的に接続された記憶部B41に記憶されたプログラムやデータにしたがって、これら各部の動作を統括的に制御するものである。
 この制御部B40は、補正処理部B40a及び判定部B40bを有している。尚、制御部B40は、例えば、CPU(Central Processing Unit)等の処理装置にプログラムを実行させること、すなわち、ソフトウェアにより実現してもよいし、IC(Integrated Circuit)等のハードウェアにより実現してもよいし、ソフトウェア及びハードウェアを併用して実現してもよい。
 補正処理部B40aは、撮像部B34の取得した画像データが与えられると、該画像データに含まれる色に関する情報を所定条件(例えば輝度)に従ってグレースケールに変換し、変換したグレースケールの各画素に対してコントラスト調整及び輝度調整を行って白色化処理を行うものである。より詳細に説明すると、補正処理部B40aは、変換したグレースケールの各画素に対して、コントラストを上げる処理を施した後、輝度を下げる処理を施すようにしている。グレースケールのデータに対してコントラストを上げる処理を行った場合には、明るい部分がより明るく、暗い部分がより暗くなる。そして、グレースケールのデータに対して輝度を下げる処理を行うと、図12の(a)から図12の(b)に示すように、黒い部分には変更が加えられることなく、黒い部分と白い部分との差がより明瞭となる。尚、図12に示したカップCは、アイスカフェラテ用カップであり、アイスコーヒー用カップである場合には、識別領域Tに黒色文字が示されない。
 判定部B40bは、補正処理部B40aが白色化処理したデータに基づいて載置板B222に載置されたカップCが、アイスコーヒー用カップであるか、あるいはアイスカフェラテ用カップであるかの判定を行うものである。より具体的に説明すると、判定部B40bは、補正処理部B40aが白色化処理した画像データが与えられると、黒色部分の標準偏差を算出し、算出値(標準偏差の値)と予め設定した閾値との比較を行い、算出値が閾値以上である場合に、カップCがアイスカフェラテ用カップと判定するものである。
 図13は、図7に示した制御部B40が実施する飲料供給制御処理の処理内容を示すフローチャートである。かかる飲料供給制御処理の処理内容を説明しながら飲料供給装置の動作について説明する。
 この飲料供給制御処理において制御部B40は、カップ検出部B31によりカップCが供給ステージB22に有ると検出されたか否かを判断する(ステップS101)。すなわち、カップ検出部B31は、カップCが載置板B222に載置されたか否かを検出する。
 カップCが有ると検出された場合(ステップS101:Yes)、制御部B40は、扉開閉検知部B35の検知結果をもとに、開閉扉B23が閉であるか否かを判断する(ステップS102)。開閉扉B23が閉でない場合(ステップS102:No)には、ステップS102の判断処理を繰り返す。
 一方、制御部B40は、開閉扉B23が閉である場合(ステップS102:Yes)には、第1投光部B32及び第2投光部B33に投光指令を与えてカップCの表面に対して光照射を行う(ステップS103)。光照射を行った制御部B40は、カップCの種類の判定を行う(ステップS104)。
 このカップCの種類の判定においては、制御部B40は、撮像部B34を通じてカップCの被撮像領域SRにおける画像データの取得待ちとなる。そして、撮像部B34の取得した画像データが与えられると、制御部B40は、補正処理部B40aを通じて、画像データに含まれる色に関する情報を輝度に従ってグレースケールに変換し、変換したグレースケールの各画素に対してコントラスト調整及び輝度調整を行って白色化処理を行う。その後、制御部B40は、判定部B40bを通じて、補正処理部B40aが白色化処理したデータに基づいて載置板B222に載置されたカップCが、アイスコーヒー用カップであるか、あるいはアイスカフェラテ用カップであるかの判定を行う。
 そのようにしてカップCの種類の判定を行った制御部B40は、表示部B21に対して、上述したステップS104で判定した種類のカップCに対応した飲料、すなわち供給すべき飲料(アイスコーヒー飲料又はアイスカフェラテ飲料)の表示と、確認の文言が表示された入力部B21aのタッチを案内する案内表示を行う(ステップS105)。
 その後、制御部B40は、入力部B21aがタッチされたか否かを判断する(ステップS106)。入力部B21aがタッチされない場合(ステップS106:No)、制御部B40は、ステップS106の判断処理を繰り返す。一方、入力部B21aがタッチされた場合(ステップS106:Yes)、制御部B40は、扉開閉ロック機構B36を用いて開閉扉B23を閉状態にロックし(ステップS107)、飲料生成部B11に対して、供給する飲料の生成及び供給の処理を行わせる(ステップS108)。
 その後、制御部B40は、飲料生成部B11による飲料供給が終了したか否かを判断する(ステップS109)。飲料供給が終了していない場合(ステップS109:No)には、制御部B40は、ステップS108に戻って飲料の生成及び供給の処理を続行する。
 一方、飲料供給が終了した場合(ステップS109:Yes)には、制御部B40は、第1投光部B32及び第2投光部B33に投光停止指令を与えて光照射を停止させるとともに、扉開閉ロック機構B36による開閉扉B23の閉状態のロックを解除し(ステップS110,ステップS111)、その後に手順をリターンして今回の処理を終了する。
 以上説明したように、本発明の実施の形態2である飲料供給装置においては、撮像部B34がカップCの表面における被撮像領域SRを撮像し、制御部B40の補正処理部B40aが、撮像部B34の取得した画像データに含まれる色に関する情報を輝度に従ってグレースケールに変換し、変換したグレースケールの各画素に対してコントラスト調整及び輝度調整を行って白色化処理を行い、制御部B40の判定部B40bが、補正処理部B40aが白色化処理したデータにおける黒色部分の標準偏差の値により、供給ステージB22のカップCの種類の判定を行うので、カップCを透過する載置板B222の通過孔B222bや、カップCを透過する黒色文字(つまり、被撮像領域SR以外の識別領域Tに記載された黒色文字)については白色化させてカップCの種類を判定することができる。よって、上記飲料供給装置によれば、カップCの種類を良好に判定することができる。
 上記飲料供給装置によれば、被撮像領域SRが、第1投光部B32からの光の反射領域であって、第2投光部B33からの光の透過領域であり、第2投光部B33が、第1投光部B32よりも輝度が大きいので、被撮像領域SRの黒色文字の背景をより白く(明るく)することが可能になり、結果的に、被撮像領域SRにおける黒色文字がより顕著に示された画像を取得することができ、カップCの種類を良好に判定することができる。
 以上、本発明の好適な実施の形態2について説明したが、本発明はこれに限定されるものではなく、種々の変更を行うことができる。
 上述した実施の形態2では、制御部B40の判定部B40bが、補正処理部B40aが白色化処理したデータにおける黒色部分の標準偏差の値により、供給ステージB22のカップCの種類の判定を行うようにしていたが、本発明においては、補正処理部が白色化処理したデータにおける黒色部分のばらつきの大きさや、該黒色部分の輝度の大きさによりカップの種類の判定を行ってもよい。尚、黒色部分のばらつきについては、例えばヒストグラム等の統計的手法を適用することができる。
 上述した実施の形態2では、第2投光部B33が第1投光部B32よりも輝度が大きいものとして説明したが、本発明においては、例えば店舗の照明等の装置外部からの光が十分に与えられる場合には、第2投光部の輝度が第1投光部の輝度よりも大きいものである必要はない。つまり、第2投光部の輝度が第1投光部の輝度よりも小さくても構わない。
 上述した実施の形態2では、カップCの表面の情報を取得する情報取得手段とし、カップCの被撮像領域SRを撮像する撮像部B34を例示したが、本発明においては、カップの表面の色情報を含む情報を取得することができれば、例えば色センサ等を情報取得手段として用いてもよい。
 上述した実施の形態2では、識別領域Tに黒色文字が付されたアイスカフェラテ用カップを例示したが、本発明においては、識別領域に黒色模様や黒色記号等が付されたカップを判定対象としてもよい。
 上述した実施の形態2では、制御部B40の補正処理部B40aが、撮像部B34で取得された画像データに含まれる色に関する情報を輝度に従ってグレースケールに変換していたが、本発明においては、補正処理部は次のように情報取得部で取得されたカップの色に関する情報をグレースケールに変換させてもよい。
 すなわち、補正処理部は、カップの色に関する情報の各画素について、赤色成分、緑色成分及び青色成分のうち最大値となる色成分でグレースケールに変換させるようにしてもよい。これによれば、例えば太陽光等によりカップの内部の氷等が着色された情報が取得された場合でも、各画素について赤色成分、緑色成分及び青色成分のうち最大値となる色成分でグレースケールに変換させることで氷等を白色にさせることができ、結果的に、カップの種類を良好に判定することができる。
 A1…飲料供給装置、A2…供給ステージ、A3…飲料選択ボタン、A4…表示部、A5…飲料供給部、A21…載置板、A21a…載置面、A22…後壁、A23L,A23R…側壁、A24…天壁、A30…第1の投光部、A31…撮像部、A32…第2の投光部、A40…制御部、A41…画像処理部、A42…判定部、Cu…透明樹脂製カップ、Ch…紙製カップ、S…矩形画像データ、B1…装置本体、B10…本体キャビネット、B11…飲料生成部、B20…前面扉、B21…表示部、B22…供給ステージ、B221…ノズル、B222…載置板、B223…後壁、B224L,B224R…側壁、B225…入口、B23…開閉扉、B31…カップ検出部、B32…第1投光部、B33…第2投光部、B34…撮像部、B35…扉開閉検知部、B36…扉開閉ロック機構、B40…制御部、B40a…補正処理部、B40b…判定部、B41…記憶部、C…カップ、SR…被撮像領域、T…識別領域。

Claims (11)

  1.  供給ステージに配置されたカップを検出するカップ検出装置であって、
     カップの表面に光照射を行う投光部と、
     前記カップの表面において前記投光部からの光の反射領域を撮像する撮像部と、
     前記撮像部の取得した画像データにおける白飛びしている領域が予め設定した下限閾値以下の場合にカップが透明であると判定する判定部と
     を備えたことを特徴とするカップ検出装置。
  2.  前記判定部は、前記撮像部の取得した画像データにおいて白飛びしている画素数をカウントすることによって白飛びしている領域を測定することを特徴とする請求項1に記載のカップ検出装置。
  3.  前記判定部は、前記撮像部の取得した画像データの平均輝度に基づいて白飛びしている領域を測定することを特徴とする請求項1に記載のカップ検出装置。
  4.  前記判定部は、白飛びしている領域を測定する以前に、前記撮像部の取得した画像データに対してコントラストを上げる処理を施した後、輝度を下げる処理を施すことを特徴とする請求項2または請求項3に記載のカップ検出装置。
  5.  供給ステージに配置されたカップを検出するカップ検出装置であって、
     カップに光照射を行う投光部と、
     前記カップの表面において前記投光部からの光の透過領域を撮像する撮像部と、
     前記撮像部の取得した画像データにおいて前記投光部からの透過光を検出した場合にカップが透明であると判定する判定部と
     を備えたことを特徴とするカップ検出装置。
  6.  供給ステージに配置されたカップを検出するカップ検出装置であって、
     カップの表面に光照射を行う第1の投光部と、
     第1の投光部とは異なる方向からカップに対して第1の投光部とは異なる色温度の光照射を行う第2の投光部と、
     カップの表面において第1の投光部からの光の反射領域を撮像するとともに、第2の投光部からの光の透過領域を撮像する撮像部と、
     前記撮像部の取得した画像データにおける白飛びしている領域が予め設定した下限閾値を下回り、かつ前記第2の投光部からの透過光を検出した場合にカップが透明であると判定する判定部と
     を備えたことを特徴とするカップ検出装置。
  7.  供給ステージに配置されたカップに対して、飲料生成部で生成した飲料を供給する飲料供給装置であって、
     前記カップの表面の情報を取得する情報取得部と、
     前記情報取得部で取得された前記カップの色に関する情報を所定条件に従ってグレースケールに変換し、変換したグレースケールの各画素に対して輝度調整及びコントラスト調整を行うことにより白色化処理を行う補正処理部と、
     前記補正処理部により白色化処理が行われたデータにおける黒色部分のばらつきの大きさ、あるいは輝度の大きさにより前記カップの種類を判定する判定部と
     を備えたことを特徴とする飲料供給装置。
  8.  前記情報取得部は、前記カップの表面における被撮像領域を撮像する撮像部であり、
     前記判定部は、標準偏差の値により前記被撮像領域の黒色文字の有無を識別して前記カップの種類を判定することを特徴とする請求項7に記載の飲料供給装置。
  9.  前記カップの表面に光照射を行う第1投光部と、
     前記第1投光部とは異なる方向から前記カップに対して光照射を行う第2投光部と
     を備え、
     前記被撮像領域が、前記第1投光部からの光の反射領域であって、前記第2投光部からの光の透過領域であり、
     前記第2投光部は、前記第1投光部よりも輝度が大きいことを特徴とする請求項8に記載の飲料供給装置。
  10.  前記補正処理部は、前記カップの色に関する情報の各画素について、赤色成分、緑色成分及び青色成分のうち最大値となる色成分でグレースケールに変換させることを特徴とする請求項7~9のいずれか1つに記載の飲料供給装置。
  11.  前記カップは、透明樹脂製のもので、内部に氷が入っていることを特徴とする請求項7~10のいずれか1つに記載の飲料供給装置。
PCT/JP2019/045882 2018-11-27 2019-11-22 カップ検出装置及び飲料供給装置 WO2020110971A1 (ja)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2018-220911 2018-11-27
JP2018220911A JP6673447B1 (ja) 2018-11-27 2018-11-27 カップ検出装置
JP2019-083977 2019-04-25
JP2019083977 2019-04-25

Publications (1)

Publication Number Publication Date
WO2020110971A1 true WO2020110971A1 (ja) 2020-06-04

Family

ID=70853992

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/045882 WO2020110971A1 (ja) 2018-11-27 2019-11-22 カップ検出装置及び飲料供給装置

Country Status (1)

Country Link
WO (1) WO2020110971A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112244642A (zh) * 2020-10-27 2021-01-22 宁波心想科技有限公司 一种带红外线感应的饮水机及对应的感应方法
CN114873551A (zh) * 2022-05-07 2022-08-09 深圳安吉尔饮水产业集团有限公司 用于控制液体流出的方法及装置

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5443164A (en) * 1993-08-10 1995-08-22 Simco/Ramic Corporation Plastic container sorting system and method
JPH09117727A (ja) * 1995-10-24 1997-05-06 Shinko Electric Co Ltd 透明びんの認識装置
JPH11259642A (ja) * 1998-03-12 1999-09-24 Omron Corp 認識処理方法およびその方法を用いた認識処理装置ならびに車番読取装置
JP2002117405A (ja) * 2000-10-05 2002-04-19 Nippon Telegr & Teleph Corp <Ntt> 掌形認証方法
JP2009130899A (ja) * 2007-11-28 2009-06-11 Mitsubishi Electric Corp 画像再生装置
US20140160472A1 (en) * 2011-08-19 2014-06-12 Marc Lévesque Apparatus and method for inspecting matter and use thereof for sorting recyclable matter
JP2017159941A (ja) * 2016-03-10 2017-09-14 パナソニックIpマネジメント株式会社 飲料ディスペンサ
WO2019106858A1 (ja) * 2017-11-28 2019-06-06 パナソニックIpマネジメント株式会社 飲料提供システム
JP2019185385A (ja) * 2018-04-10 2019-10-24 株式会社アクセル 認識処理装置、認識処理方法、及び認識処理プログラム

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5443164A (en) * 1993-08-10 1995-08-22 Simco/Ramic Corporation Plastic container sorting system and method
JPH09117727A (ja) * 1995-10-24 1997-05-06 Shinko Electric Co Ltd 透明びんの認識装置
JPH11259642A (ja) * 1998-03-12 1999-09-24 Omron Corp 認識処理方法およびその方法を用いた認識処理装置ならびに車番読取装置
JP2002117405A (ja) * 2000-10-05 2002-04-19 Nippon Telegr & Teleph Corp <Ntt> 掌形認証方法
JP2009130899A (ja) * 2007-11-28 2009-06-11 Mitsubishi Electric Corp 画像再生装置
US20140160472A1 (en) * 2011-08-19 2014-06-12 Marc Lévesque Apparatus and method for inspecting matter and use thereof for sorting recyclable matter
JP2017159941A (ja) * 2016-03-10 2017-09-14 パナソニックIpマネジメント株式会社 飲料ディスペンサ
WO2019106858A1 (ja) * 2017-11-28 2019-06-06 パナソニックIpマネジメント株式会社 飲料提供システム
JP2019185385A (ja) * 2018-04-10 2019-10-24 株式会社アクセル 認識処理装置、認識処理方法、及び認識処理プログラム

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112244642A (zh) * 2020-10-27 2021-01-22 宁波心想科技有限公司 一种带红外线感应的饮水机及对应的感应方法
CN114873551A (zh) * 2022-05-07 2022-08-09 深圳安吉尔饮水产业集团有限公司 用于控制液体流出的方法及装置
CN114873551B (zh) * 2022-05-07 2024-05-10 深圳安吉尔饮水产业集团有限公司 用于控制液体流出的方法及装置

Similar Documents

Publication Publication Date Title
US11235965B2 (en) Hands free, controlled autofill for a dispenser
WO2020110971A1 (ja) カップ検出装置及び飲料供給装置
US20190019049A1 (en) Character/graphics recognition device, character/graphics recognition method, and character/graphics recognition program
US20220108096A1 (en) Fake finger determination apparatus and fake finger determination method
US20050187018A1 (en) Information input device
US20210045572A1 (en) Beverage server
US8947746B2 (en) Image reading device
US20200130399A1 (en) Security mark and a method for validating the authenticity of a security mark
JP2020179939A (ja) 飲料供給装置
CN113139414A (zh) 光学指纹识别和防伪方法及系统
WO2019106858A1 (ja) 飲料提供システム
JP2010048579A (ja) 光学式計測装置および計測方法
JP6673447B1 (ja) カップ検出装置
JP7320743B2 (ja) 飲料提供システム
JP2021127166A (ja) 飲料供給装置
JP2010104569A (ja) ボタン表裏判定方法およびボタン表裏判定装置
JP2020152390A (ja) 飲料供給装置
WO2021157227A1 (ja) 飲料供給装置
CN1280774C (zh) 识别被鉴定的纸件的真伪的方法和传感器单元
JP6945821B2 (ja) 飲料提供用容器の識別装置、識別方法、及び識別プログラム
JP2021127159A (ja) 飲料供給装置
WO2019216103A1 (ja) 飲料供給装置
CN112105579A (zh) 饮料供给装置
TWI753131B (zh) 偵測裝置
TW202212741A (zh) 加熱烹調器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19889699

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19889699

Country of ref document: EP

Kind code of ref document: A1