Bean sorting method and electronic device for supporting same
AssigneeMindforge Co., Ltd.
InventorsTaejin HWANG, Kyuyeol CHAE
Life of this patent
Estimating the term…
Abstract
An electronic device according to one embodiment comprises a camera module and at least one processor, wherein the at least one processor can be configured to: acquire a plurality of images of beans through the camera module; calculate, on the basis of the plurality of images, probabilities that the beans belong to each of a plurality of categories; and sort the beans on the basis of the probabilities. The present disclosure relates to a technology developed through an “AI-based coffee bean automatic sorting system” of the Seoul Special City Seoul Business Agency 2021 Artificial Intelligence (AI) Technology Business Support Project (CY210016).
Claims20
An electronic device, comprising:
- a transparent plate;
- a plurality of cameras including a first camera and a second camera, the first camera being disposed to face one surface of the transparent plate, the second camera being disposed to face a surface, opposite to the one surface, of transparent plate;
- and
- at least one processor, wherein the at least one processor is configured to:
- while a bean is moved on the transparent plate, simultaneously obtain a first image for a first surface of the bean through the first camera and a second image for a second surface of the bean through the second camera, the second surface being different from the first surface;
- using an artificial intelligence (AI) model, calculate, based on the first image, first probabilities that the bean belongs to each of a plurality of classification items and calculate, based on the second image, second probabilities that the bean belongs to each of the plurality of classification items;
- identify, among the plurality of classification items, a first classification item corresponding to a third probability highest among the first probabilities and identify, among the plurality of classification items, a second classification item corresponding to a fourth probability highest among the second probabilities;
- based on the first classification item being a same as the second classification item, determine the first classification item as a type of the bean;
- based on the first classification item being not a same as the second classification item, identify whether the first classification item or the second classification item corresponds to a designated classification item, wherein the designated classification item is designated by a user input;
- based on the first classification item or the second classification item corresponding to the designated classification item, identify whether a probability of a classification item, corresponding to the designated classification item between the first classification item and the second classification item, between the third probability and the fourth probability is greater than or equal to a first threshold;
- and
- based on the probability of the classification item corresponding to the designated classification item being greater than or equal to the first threshold, determine the classification item as the type of the bean.
A method for classifying a bean by an electronic device, the method comprising:
- while a bean is moved on a transparent plate of the electronic device, simultaneously obtain a first image for a first surface of the bean through a first camera and a second image for a second surface of the bean through a second camera, the second surface being different from the first surface, wherein the first camera and the second camera are included in a plurality of cameras, the first camera being disposed to face one surface of the transparent plate, the second camera being disposed to face a surface, opposite to the one surface, of transparent plate;
- using an artificial intelligence (AI) model, calculating, based on the first image, first probabilities that the bean belongs to each of a plurality of classification items and calculating, based on the second image, second probabilities that the bean belongs to each of the plurality of classification items;
- identifying, among the plurality of classification items, a first classification item corresponding to a third probability highest among the first probabilities and identifying, among the plurality of classification items, a second classification item corresponding to a fourth probability highest among the second probabilities;
- based on the first classification item being a same as the second classification item, determining the first classification item as a type of the bean;
- based on the first classification item being not a same as the second classification item, identifying whether the first classification item or the second classification item corresponds to a designated classification item, wherein the designated classification item is designated by a user input;
- based on the first classification item or the second classification item corresponding to the designated classification item, identifying whether a probability of a classification item, corresponding to the designated classification item between the first classification item and the second classification item, between the third probability and the fourth probability is greater than or equal to a first threshold;
- and
- based on the probability of the classification item corresponding to the designated classification item being greater than or equal to the first threshold, determining the classification item as the type of the bean.
An electronic device, comprising:
- a transparent plate;
- a plurality of cameras including a first camera and a second camera, the first camera being disposed to face one surface of the transparent plate, the second camera being disposed to face a surface, opposite to the one surface, of transparent plate;
- and
- at least one processor, wherein the at least one processor is configured to:
- while a bean, classified as a first type by a user, is moved on the transparent plate, simultaneously obtain a first image for an upper surface of the bean through the first camera and a second image for a lower surface of the bean through the second camera;
- using an artificial intelligence (AI) model, calculate, based on the first image, first probabilities that the bean belongs to each of a plurality of classification items and calculate, based on the second image, second probabilities that the bean belongs to each of the plurality of classification items;
- identify, among the plurality of classification items, a first classification item corresponding to a third probability highest among the first probabilities and identify, among the plurality of classification items, a second classification item corresponding to a fourth probability highest among the second probabilities;
- and
- based on a probability of a classification item corresponding to the first type between the first classification item and the second classification item between the third probability and the fourth probability, set a threshold for classifying the bean.
Dependencies are inferred from the claim text.