A kind of judgement exchange method and device based on selected vegetable
Technical field
The present invention relates to field of image recognition more particularly to a kind of judgement exchange methods and device based on selected vegetable.
Background technique
With the progress of intellectual technology and automatic technology, the technology of kitchen automation equipment also attracts attention.However, mesh
Preceding most kitchen intelligent Plan is all concentrated on the Intelligent improvement to single link, and culinary art link is mainly concentrated on
Intelligence, such as automatic dish cooking machine, automatic cooking machine etc..These equipment undoubtedly improve the intelligence degree in kitchen, reduce
The labor intensity of cooker.Along with the development of intelligent cooking platform, there are some interactions based on automatic cooking platform
System, can facilitate it is man-machine interact, to realize that user controls the operation of automatic cooking platform.User passes through flat with culinary art
Platform interacts, i.e., controllable machine is automatically performed vegetable culinary art, and the operation of cooker has been reduced to a great extent.But it is existing
Interactive system of some based on automatic cooking platform usually only executes related cooking operation according to the control instruction of user, then
When food materials, ingredient are unable to satisfy automatic cooking, user is not fed back to preferably, and then influence vegetable automatic cooking.
Summary of the invention
For overcome the deficiencies in the prior art, one of the objects of the present invention is to provide a kind of judgements based on selected vegetable
Exchange method, the vegetable of the automatic cooking according to selected by user judge whether automatic cooking platform meets the corresponding vegetable of culinary art.
An object of the present invention adopts the following technical scheme that realization:
A kind of judgement exchange method based on selected vegetable, comprising: dish information obtaining step obtains automatic selected by user
The dish information of culinary art searches food needed for corresponding standardization menu knows vegetable automatic cooking selected by completion according to dish information
Material and ingredient information;Judgment step obtains the inventory information of current automatic cooking platform, judges the food materials and ingredient of current inventory
The culinary art demand of the vegetable of automatic cooking selected by user can be met;Feedback step feeds back corresponding judging result, if current inventory
Food materials and ingredient can satisfy culinary art user needed for automatic cooking vegetable, then start the automatic cooking for executing corresponding vegetable;
If the food materials and/or ingredient of current inventory prompt user to supplement it is impossible to meet the vegetable of automatic cooking needed for culinary art user
Corresponding food materials and/or ingredient.
Further, in the feedback step, if it is impossible to meet culinary art users for the food materials of current inventory and/or ingredient
The vegetable of required automatic cooking compares what automatic cooking platform was stored also according to the inventory information of current automatic cooking platform
Each standardization menu, the dish information of the can satisfy automatic cooking of the current inventory of feedback user.
Further, in the feedback step, if the food materials of current inventory and ingredient can satisfy needed for culinary art user
The vegetable of automatic cooking goes back feedback user and cooks corresponding vegetable required time.
Further, in the judgment step, the inventory information of current automatic cooking platform is gone out by image recognition.
Further, in the judgment step, the inventory information of current automatic cooking platform is gone out by image recognition.
Further, in the dish information obtaining step, automatic cooking needed for obtaining user by speech recognition
Dish information.
Further, in the dish information obtaining step, by obtaining vegetable menu on internet, certainly according to user
Definition adjustment vegetable menu forms standardization menu.
Further, in the dish information obtaining step, if current automatic cooking platform is not present needed for user certainly
Standardization menu corresponding to the vegetable of dynamic culinary art then obtains the menu of corresponding vegetable, by carrying out with user by internet
The customized adjustment of interaction forms the standardization menu of corresponding vegetable.
The second object of the present invention is to provide a kind of judgement interactive system based on selected vegetable, can be according to user institute
The vegetable of automatic cooking is selected to judge whether automatic cooking platform meets the corresponding vegetable of culinary art.
The second object of the present invention adopts the following technical scheme that realization:
A kind of judgement interactive system based on selected vegetable, including dish information obtain module, judgment module and feedback mould
Block;The dish information obtains the dish information that module is used to obtain automatic cooking selected by user, according to dish information lookup pair
Food materials and ingredient information needed for menu knows vegetable automatic cooking selected by completion user should be standardized;The judgment module is used for
Judgment step obtains the inventory information of current automatic cooking platform, judges that can the food materials of current inventory and ingredient meet culinary art
The vegetable of automatic cooking needed for user;The feedback module is for feeding back corresponding judging result, if the food materials of current inventory and matching
The vegetable of automatic cooking needed for material can satisfy culinary art user then starts execution automatic cooking and corresponds to vegetable;If current inventory's
Food materials and/or ingredient it is impossible to meet the vegetable of automatic cooking needed for culinary art user, then prompt user supplement corresponding food materials and/or
Ingredient.
The third object of the present invention is to provide a kind of electronic equipment, and the vegetable of the automatic cooking according to selected by user is sentenced
Whether disconnected automatic cooking platform meets the corresponding vegetable of culinary art.
The third object of the present invention adopts the following technical scheme that realization:
A kind of electronic equipment can be run on a memory and on a processor including memory, processor and storage
Computer program, the processor realize that one kind as described in one of the object of the invention is based on selected vegetable when executing described program
Judgement exchange method.
The fourth object of the present invention is to provide a kind of storage medium, and the vegetable of the automatic cooking according to selected by user is sentenced
Whether disconnected automatic cooking platform meets the corresponding vegetable of culinary art.
The fourth object of the present invention adopts the following technical scheme that realization:
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
A kind of judgement exchange method based on selected vegetable as described in one of the object of the invention is realized when row.
Compared with prior art, the beneficial effects of the present invention are:
A kind of judgement exchange method and device based on selected vegetable of the invention, it is current by obtaining automatic cooking platform
Inventory information compares the corresponding standardization menu of vegetable selected by user, judges that can current inventory meet needed for culinary art user certainly
The vegetable of dynamic culinary art, and feed back corresponding judging result.If it is impossible to meet culinary art user institutes for the food materials and/or ingredient of current inventory
The vegetable of automatic cooking is needed, then user is prompted to supplement corresponding food materials and/or ingredient, user is facilitated to know that can selected vegetable carry out
Automatic cooking optimizes experience of the user to automatic cooking platform, further realizes the automation and intelligence of cooking platform.
Detailed description of the invention
Fig. 1 is to invent a kind of judgement exchange method flow chart based on selected vegetable.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not
Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination
Example.
Embodiment one:
Embodiment one provides a kind of judgement exchange method based on selected vegetable, as shown in Figure 1, including the following steps:
S1 dish information obtaining step obtains the dish information of automatic cooking selected by user, according to dish information lookup pair
Food materials and ingredient information needed for menu knows the selected vegetable automatic cooking of completion should be standardized;
S2 judgment step obtains the inventory information of current automatic cooking platform, judges the food materials and ingredient energy of current inventory
The culinary art demand of the no vegetable for meeting automatic cooking selected by user;
S3 feedback step feeds back corresponding judging result, if the food materials of current inventory and ingredient can satisfy culinary art user institute
The vegetable of automatic cooking is needed, then starts the automatic cooking for executing corresponding vegetable;If the food materials and/or ingredient of current inventory can not
The vegetable of automatic cooking needed for meeting culinary art user then prompts user to supplement corresponding food materials and/or ingredient.
A kind of judgement exchange method based on selected vegetable of the present embodiment, it is intended to by human-computer interaction, facilitate user
Can the vegetable for oneself wanting to cook be solved cook immediately, and according to judging result, make corresponding feedback.The judgement interaction side
Method is applied in automatic cooking platform, and execution side of the automatic cooking platform as vegetable automatic cooking passes through various culinary art instruments
Realize clamping transport, addition and the culinary art of food materials, ingredient.It carries out oneself of corresponding vegetable according to the standardization menu of platform storage
Dynamic culinary art, standardization menu are to form mark according to the customized adjustment vegetable menu of user by obtaining vegetable menu on internet
Standardization menu.Standardization menu is the cooking course of corresponding vegetable, and user likes according to the vegetable menu obtained on the net according to itself
Good taste is adjusted, and forms personalized standardization menu.Later, cooking platform is taught by obtaining the culinary art of the vegetable
Journey is not the instruction study course that machine executes since the cooking course is common article study course, and automatic cooking platform is cooked
Machine of preparing food is cooked using the mode of instruction type, so needing to handle study course, is extracted and is closed in tutorial article
The operation of key, and it is converted into the instruction of machine cookware.It is the model of what a trained natural language processing first, then uses
This model predicts vegetable tutorial article, the operational order in article is extracted, and be converted into machine instruction.From
Right Language Processing model is herein mainly the movement of operation, the time of operation, the title of material and the number of extracted of material
Out, the movement of operation is then converted into according to the machine instruction table of comparisons by operational order.The movement of operation, operation when
Between, the number of extracted of the title of material and material when, be to be extracted according to whole one, so chaotic there is no instruction
Situation.After putting the machine instruction of culinary art in order, the operational order of corresponding one of vegetable culinary art process can be formed, then this
A little instructions return to machine, carry out going to execute by machine when the automatic cooking of corresponding vegetable.Food materials are corresponded to when needing to adjust
Or ingredient addition when, it is only necessary to certain corresponding a part culinary art process of change, then new vegetable culinary art process is converted into conversion
At the operational order of cookware.For example, in automatic cooking application scenarios, the vegetable of certain one of automatic cooking is used
Family feels that mouthfeel is partially peppery, then as needed, user adjusts the additive amount of capsicum in vegetable culinary art process, culinary art process is converted to
After being converted into the operational order of cookware, automatic cooking platform carries out the automatic cooking of the vegetable, and cookware executes capsicum
When addition acts, capsicum additive amount can be reduced.Adjustment of the user to vegetable taste is adjusted with this.
In automatic cooking platform use process, when user needs to cook certain course product, by with cooking platform into
Row interaction, informs the vegetable oneself to be cooked of automatic cooking platform.User can be keyed in by human-computer interaction terminal needed for oneself
The menu name of automatic cooking, or by voice interactive system, voice signal information is issued, automatic cooking platform passes through voice
The menu name of automatic cooking needed for user is known in identification.Automatic cooking platform has pre-established speech recognition library.According to acquisition
The voice content used needed for human-computer interaction is carried out under cooking platform usage scenario, and speech recognition library is established by learning training,
The dish information of automatic cooking needed for user is identified with this.According to speech recognition library identify user selected by menu name
Afterwards, for automatic cooking platform according to this menu name, the corresponding conversion for searching storage inside is cookware operational order
Each standardization automatic cooking menu, know that title material and corresponding number required for this vegetable, wherein material are cooked in completion
Material includes food materials and ingredient.After the type of the food materials, ingredient got and quantity information, automatic cooking platform can be compareed
Inventory judge whether can to match the automatic cooking that this menu demand carries out corresponding vegetable.It should be noted that using
In the process, if current automatic cooking platform leads to there is no standardization menu corresponding to the vegetable of automatic cooking needed for user
The menu that internet obtains corresponding vegetable is crossed, by the standardization dish for interacting the corresponding vegetable of customized adjustment formation with user
Spectrum.The menu name automatic cooking platform selected by the user is corresponding when storing this menu, and to optimize user experience, culinary art is flat
After platform knows menu name information, pass through interconnection if searching less than corresponding standardization menu by searching for standardization menu
Net obtains the menu of the corresponding vegetable.Later, it is interacted by cooking platform and user, customized adjustment forms corresponding vegetable
Standardization menu.Cooking platform standardizes the cooking course that menu is corresponding vegetable again, and user is according to the vegetable obtained on the net
Menu, the taste liked according to itself are adjusted, and form personalized standardization menu.Later, cooking platform passes through acquisition
The vegetable standardizes the cooking course of menu, is not the finger that machine executes since the cooking course is common article study course
Enable study course, and the cookware of automatic cooking platform be cooked using the mode of instruction type, so need to study course into
Row processing, extracts crucial operation, and be converted into the instruction of machine cookware in tutorial article.Be first it is trained what a from
The model of right Language Processing, then predicts vegetable tutorial article using this model, the operational order in article is mentioned
It takes out, and is converted into machine instruction.Natural Language Processing Models herein mainly the movement of operation, operation time,
The title of material and the number of extracted of material come out, and the movement of operation is then converted into operation according to the machine instruction table of comparisons and is referred to
It enables.It when the number of extracted of the movement of operation, the time of operation, the title of material and material, is mentioned according to whole one
It takes, so the situation chaotic there is no instruction.After putting the machine instruction of culinary art in order, corresponding one of vegetable can be formed
Cook the operational order of process.After completing aforesaid operations, automatic cooking platform starts this vegetable pair according to selected by user
Judge whether can to match the automatic cooking that this menu demand carries out corresponding vegetable according to the inventory of automatic cooking platform.
In judgment step, need to know the inventory information of current automatic cooking platform, i.e., the library of current food materials and ingredient
Deposit information.Cooking platform is by image recognition or weighing sensor is respectively set is weighed and would know that food materials and ingredient
Stock group and quantity.By the way that food materials and ingredient are placed in the storage cavity that several are separated, storage cavity bottom is set
Weighing sensor is set, weighing sensor is weighed in real time knows respective material weight information, and the inventory of respective material is known with this
Type and quantity information.By the way that weighing sensor is respectively set to obtain material category and quantity information as the prior art, here
Seldom repeat.It is identified in order to preferably carry out food materials in ingredient, a variety of materials can also be obtained by image recognition
Inventory information.An intelligent refrigerator is arranged in automatic cooking platform, and by food materials storage with intelligent refrigerator, food materials tiling is placed on ice
In case, avoid stacking convenient for image recognition.Ingredient, which is placed in refrigerator, fixes position.In this way, compared by image recognition,
You can learn that the type and quantity of the food materials stored in refrigerator, ingredient.Later, cooking platform is according to current food materials and the library of ingredient
Deposit information, compare should vegetable standardization menu, that is, can determine whether that can the food materials of current inventory and ingredient meet culinary art user
The vegetable of required automatic cooking.According to judging result, feedback step is executed.
Automatic cooking platform feeds back corresponding judging result, according to the judging result of judgment step, informs the current inventory of user
Food materials and ingredient can meet culinary art user needed for automatic cooking vegetable.If also, the food materials and ingredient energy of current inventory
It is enough meet culinary art user needed for automatic cooking vegetable, then start to execute automatic cooking and correspond to vegetable, automatic cooking platform according to
Corresponding standardization menu obtains the operational order of cookware, sequentially controls each cookware and executes the operation of automatic cooking vegetable;
If the food materials and/or ingredient of current inventory prompt user to supplement it is impossible to meet the vegetable of automatic cooking needed for culinary art user
Corresponding food materials and/or ingredient, so that the inventory of automatic cooking platform can satisfy later when user needs to cook this vegetable
Culinary art.In addition, in order to which user can eat immediately, in feedback step, if the food materials of current inventory and/or ingredient can not
The vegetable of automatic cooking needed for meeting culinary art user compares automatic cooking also according to the inventory information of current automatic cooking platform
Each standardization menu that platform is stored, the dish information of the can satisfy automatic cooking of the current inventory of feedback user.Automatically it cooks
Platform of preparing food by image recognition knows current inventory information, by comparing each standardization menu, knows that each standardization is cooked in realization
Food materials needed for menu corresponds to vegetable and ingredient information, if automatic cooking platform inventory can match the food of certain course product at this time
Material and ingredient dosage, then it represents that current automatic cooking platform can cook this course product immediately, be not necessarily to additional supplementary material.From
The dish information for being currently able to cook immediately is fed back to user by dynamic cooking platform, and whether inquiry user, which selects, is cooked, root
Automatic cooking operation is carried out according to the selection of user.It can be convenient user with this and have the dish that automatic cooking platform can cook immediately
Product, automatic cooking platform provide alternative solution and select for user, and avoiding can not be instant because vegetable selected by user lacks food materials
Dining.Automatic cooking platform can also allow user to be believed according to the inventory of current food materials according to the inventory information for feeding back current food materials
Breath voluntarily proposes the dish information for needing to cook, and carries out judging whether to cook by automatic cooking platform again.In addition, institute
It states in feedback step, if the food materials of current inventory and ingredient can satisfy the vegetable of automatic cooking needed for cooking user, also feeds back
The time required to user cooks corresponding vegetable.By allowing user to understand the cooking time of corresponding vegetable, user's reasonable arrangement is facilitated to use
Meal.Automatic cooking platform feed back again current inventory food materials and ingredient can satisfy culinary art user needed for automatic cooking vegetable it
Afterwards, while the corresponding vegetable required time of culinary art is fed back, and whether inquiry user carries out the automatic cooking of corresponding vegetable.Allow user's root
Voluntarily weigh according to culinary art time-consuming, it is time-consuming according to culinary art is understood in this way, for the user of dining in a hurry, can choose it is time-consuming compared with
Few vegetable carries out automatic cooking.
A kind of judgement exchange method based on selected vegetable of the present embodiment, by obtaining the automatic current inventory of cooking platform
Can information compares the corresponding standardization menu of vegetable selected by user, judge current inventory meet needed for culinary art user and cook automatically
The vegetable prepared food, and feed back corresponding judging result.If it is impossible to meet cook needed for user certainly for the food materials and/or ingredient of current inventory
The vegetable of dynamic culinary art then prompts user to supplement corresponding food materials and/or ingredient, and user is facilitated to know that can selected vegetable carry out automatically
Culinary art optimizes experience of the user to automatic cooking platform, further realizes the automation and intelligence of cooking platform.By this reality
A kind of judgement exchange method based on selected vegetable of example is applied, user can recognize that the vegetable for oneself wanting culinary art is cooked automatically
Can platform of preparing food immediately cook completion, additionally it is possible to when current inventory can not cook immediately vegetable selected by user, provide and work as
The vegetable that preceding inventory can match culinary art is selected for user, allows users to eat immediately, in order to avoid influence user experience.Simultaneously
The food materials or ingredient being short of for current inventory prompt user to carry out variation call in time, when avoiding subsequent progress automatic cooking, by
The automatic cooking of related vegetable is unable to complete in lacking associated materials.
Embodiment two:
Embodiment two discloses a kind of judgement interactive system based on selected vegetable, including dish information obtains module, sentences
Disconnected module and feedback module;Dish information obtains the dish information that module is used to obtain automatic cooking selected by user, according to vegetable
Food materials and ingredient information needed for the corresponding standardization menu of information searching knows vegetable automatic cooking selected by completion user;Judge mould
Block is used for judgment step, obtains the inventory information of current automatic cooking platform, judges that can the food materials of current inventory and ingredient expire
The vegetable of automatic cooking needed for foot culinary art user;Feedback module for feeding back corresponding judging result, if the food materials of current inventory and
The vegetable of automatic cooking needed for ingredient can satisfy culinary art user then starts execution automatic cooking and corresponds to vegetable;If current inventory
Food materials and/or ingredient it is impossible to meet the vegetable of automatic cooking needed for culinary art user, then prompt user supplement corresponding food materials and/
Or ingredient.The interactive system of the present embodiment, at runtime judgement based on selected vegetable of the specific implementation as described in embodiment one
Exchange method.A kind of judgement interactive system based on selected vegetable of the present embodiment, by obtaining the automatic current library of cooking platform
Information is deposited, the corresponding standardization menu of vegetable selected by user is compared, it is automatic needed for culinary art user to judge that can current inventory meet
The vegetable of culinary art, and feed back corresponding judging result.If it is impossible to meet needed for culinary art user for the food materials and/or ingredient of current inventory
The vegetable of automatic cooking then prompts user to supplement corresponding food materials and/or ingredient, and user is facilitated to know that can selected vegetable carry out certainly
Dynamic culinary art optimizes experience of the user to automatic cooking platform, further realizes the automation and intelligence of cooking platform.
Embodiment three:
Embodiment three discloses a kind of electronic equipment, which includes processor, memory and program, wherein locating
One or more can be used in reason device and memory, and program is stored in memory, and is configured to be executed by processor,
When processor executes the program, a kind of judgement exchange method based on selected vegetable of embodiment one is realized, which can
To be a series of electronic equipment of cooking platform user terminal, computer, human-computer interaction terminal etc..
A kind of electronic equipment based on above-mentioned exchange method of the present embodiment, by obtaining the automatic current inventory of cooking platform
Can information compares the corresponding standardization menu of vegetable selected by user, judge current inventory meet needed for culinary art user and cook automatically
The vegetable prepared food, and feed back corresponding judging result.If it is impossible to meet cook needed for user certainly for the food materials and/or ingredient of current inventory
The vegetable of dynamic culinary art then prompts user to supplement corresponding food materials and/or ingredient, and user is facilitated to know that can selected vegetable carry out automatically
Culinary art optimizes experience of the user to automatic cooking platform, further realizes the automation and intelligence of cooking platform.By this reality
The electronic equipment of example is applied, user can recognize that can the vegetable automatic cooking platform for oneself wanting culinary art immediately cook
At, additionally it is possible to when current inventory can not cook immediately vegetable selected by user, provide the current inventory dish that can match culinary art
Product are selected for user, allow users to eat immediately, in order to avoid influence user experience.The food being short of simultaneously for current inventory
Material or ingredient, prompting user to carry out variation call in time can not be complete due to lacking associated materials when avoiding subsequent progress automatic cooking
At the automatic cooking of related vegetable.
Example IV:
Example IV discloses a kind of readable computer storage medium, which is somebody's turn to do for storing program
When program is executed by processor, a kind of judgement exchange method based on selected vegetable of embodiment one is realized.
A kind of storage medium based on above-mentioned exchange method of the present embodiment, by obtaining the automatic current inventory of cooking platform
Can information compares the corresponding standardization menu of vegetable selected by user, judge current inventory meet needed for culinary art user and cook automatically
The vegetable prepared food, and feed back corresponding judging result.If it is impossible to meet cook needed for user certainly for the food materials and/or ingredient of current inventory
The vegetable of dynamic culinary art then prompts user to supplement corresponding food materials and/or ingredient, and user is facilitated to know that can selected vegetable carry out automatically
Culinary art optimizes experience of the user to automatic cooking platform, further realizes the automation and intelligence of cooking platform.By this reality
The above method of the storage medium storage of example is applied, user can recognize the vegetable automatic cooking platform energy for oneself wanting culinary art
No immediately culinary art is completed, additionally it is possible to when current inventory can not cook immediately vegetable selected by user, provide current inventory's energy
The vegetable of enough matching culinary arts is selected for user, allows users to eat immediately, in order to avoid influence user experience.Simultaneously for current
The food materials or ingredient that inventory is short of prompt user to carry out variation call, when avoiding subsequent progress automatic cooking, due to lacking phase in time
It closes material and is unable to complete the automatic cooking of related vegetable.
The above embodiment is only the preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto,
The variation and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention
Claimed range.