Food material unfreezing method and device, server and computer readable storage medium
Image recognition technology is used to automatically determine the parameters of thawing ingredients in the refrigerator, which solves the problem of users needing to understand preset instructions, realizes fully automatic thawing control of ingredients, and improves thawing accuracy and user experience.
Patent Information
- Application Number
- CN202310485052.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-27
- Publication Date
- 2024-10-29
AI Technical Summary
The existing method of thawing food in refrigerators requires users to set preset thawing instructions in advance and understand their meaning, resulting in a thawing method that is not suitable for food and a poor user experience.
The video of the ingredients to be thawed being placed into the thawing space is collected through the image acquisition equipment, the category and freezing status of the ingredients are identified, and the most suitable thawing parameters are automatically determined to achieve fully automatic thawing control of the ingredients.
There is no need for the user to enter preset instructions, and the thawing parameters are automatically determined, improving the accuracy of thawing and user experience, and is suitable for different types and states of ingredients.
Smart Images

Figure CN118856784A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart home technology, and in particular to a method, device, server and computer-readable storage medium for thawing food. Background Art
[0002] In recent years, with the improvement of people's living standards, people have put forward higher requirements for the nutrition and quality of food. In order to store food for a long time, users usually use refrigerators to freeze food at low temperatures. In order to use frozen food quickly, it is necessary to thaw the food. As a direct medium for food storage and freezing, refrigerators are given the expectation of thawing function by users.
[0003] Currently, users can thaw frozen food by inputting preset thawing instructions into the refrigerator. However, this method requires users to set the preset thawing instructions in advance, and many users do not understand the meaning of the control method and instruction parameters corresponding to the preset thawing instructions, so the thawing method adopted may not be suitable for the frozen food, resulting in a poor user experience. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first purpose of the present invention is to provide a method for thawing food, which can determine the most suitable thawing parameters for the food to be thawed, and quickly and accurately realize the automatic control of the thawing operation of the thawing space without the user having to input any preset thawing instructions into the refrigerator, and without the user having to understand the control method and the meaning of the instruction parameters corresponding to the preset thawing instructions, thereby realizing the full-automatic thawing control of the food to be thawed and improving the user experience.
[0005] The second objective of the present invention is to provide a food thawing device.
[0006] The third objective of the present invention is to provide a server.
[0007] A fourth object of the present invention is to provide a computer-readable storage medium.
[0008] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present invention proposes a method for thawing food, the method comprising: obtaining a process video of placing food to be thawed into a thawing space, wherein the thawing space is arranged in a refrigeration device, and the process video is acquired by an image acquisition device arranged in the corresponding thawing space; identifying the process video to obtain category information of the food to be thawed; determining thawing parameters corresponding to the food to be thawed according to the category information; and thawing the food to be thawed according to the thawing parameters.
[0009] According to the food thawing method of the embodiment of the present invention, a process video of placing the food to be thawed into the thawing space is obtained, wherein the thawing space is arranged in the refrigeration equipment, and the process video is acquired by the image acquisition device arranged in the corresponding thawing space; the process video is identified to obtain the category information of the food to be thawed; according to the category information, the thawing parameters corresponding to the food to be thawed are determined; according to the thawing parameters, the food to be thawed is thawed. Therefore, through the above-mentioned image recognition method, the most suitable thawing parameters can be determined for the food to be thawed, and the automatic control of the thawing operation of the thawing space can be realized quickly and accurately without the user inputting any preset thawing instructions into the refrigerator, and without the user understanding the control method and the meaning of the instruction parameters corresponding to the preset thawing instructions, thereby realizing the fully automatic thawing control of the food to be thawed and improving the user experience.
[0010] According to an embodiment of the present invention, when identifying the process video, the method further includes: determining a first freezing state of the food to be thawed, so as to determine thawing parameters corresponding to the food to be thawed according to the category information and the first freezing state.
[0011] According to one embodiment of the present invention, determining the thawing parameters corresponding to the food to be thawed based on the category information and the first freezing state includes: determining the target thawing state corresponding to the category information; determining the thawing parameters corresponding to the food to be thawed based on the category information, the first freezing state and the target thawing state.
[0012] According to one embodiment of the present invention, the method also includes: obtaining a picture to be identified of the food to be thawed after a preset time; analyzing the picture to be identified to obtain a second freezing state of the food to be thawed; and adjusting the thawing parameters according to the second freezing state and the target thawing state, so as to thaw the food to be thawed according to the adjusted thawing parameters.
[0013] According to one embodiment of the present invention, the image to be identified is analyzed to obtain the second freezing state of the food to be thawed, including: obtaining multiple reference images, wherein the category of food included in the reference images is the same as the category of food to be thawed, and the food included in each reference image is in a different freezing state; calculating the similarity between the image to be identified and each reference image respectively; and determining the freezing state corresponding to the reference image with the greatest similarity as the second freezing state of the food to be thawed.
[0014] According to an embodiment of the present invention, the thawing parameters include thawing temperature and thawing time, and adjusting the thawing parameters includes: adjusting the thawing temperature and / or thawing time.
[0015] According to one embodiment of the present invention, after thawing the food to be thawed, the method also includes: obtaining a target image, wherein the target image is an image corresponding to a target thawed state; extracting a first feature vector of the image to be identified and a second feature vector of the target image, wherein the first feature vector represents the second freezing state and the second feature vector represents the target thawed state; calculating the similarity between the first feature vector and the second feature vector; if the similarity is greater than or equal to a preset threshold, determining that the thawing is completed.
[0016] To achieve the above-mentioned purpose, the second aspect of the embodiment of the present invention proposes a food thawing device, which includes: an acquisition module, used to obtain a process video of placing food to be thawed into a thawing space, wherein the thawing space is arranged in a refrigeration device, and the process video is acquired by an image acquisition device arranged in the corresponding thawing space; an identification module, used to identify the process video and obtain the category information of the food to be thawed; a determination module, used to determine the thawing parameters corresponding to the food to be thawed according to the category information; and a control module, used to thaw the food to be thawed according to the thawing parameters.
[0017] According to the food thawing device of the embodiment of the present invention, the acquisition module is used to acquire a process video of the food to be thawed being placed in the thawing space, wherein the thawing space is arranged in the refrigeration equipment, and the process video is acquired by the image acquisition device arranged in the corresponding thawing space; the recognition module is used to identify the process video to obtain the category information of the food to be thawed; the determination module is used to determine the thawing parameters corresponding to the food to be thawed according to the category information; and the control module is used to thaw the food to be thawed according to the thawing parameters. Thus, through the above-mentioned image recognition method, the most suitable thawing parameters can be determined for the food to be thawed, and the automatic control of the thawing operation of the thawing space can be realized quickly and accurately without the user inputting any preset thawing instructions into the refrigerator, and without the user understanding the control method and the meaning of the instruction parameters corresponding to the preset thawing instructions, thereby realizing the fully automatic thawing control of the food to be thawed and improving the user experience.
[0018] To achieve the above-mentioned purpose, a third aspect of the present invention provides a server, comprising: a memory for storing programs; and a processor for implementing the food thawing method of the first aspect of the present invention by executing the programs stored in the memory.
[0019] In the above-mentioned server, by obtaining a process video of putting the food to be thawed into the thawing space, wherein the thawing space is set in the refrigeration equipment, and the process video is acquired by the image acquisition device set corresponding to the thawing space; the process video is identified to obtain the category information of the food to be thawed; according to the category information, the thawing parameters corresponding to the food to be thawed are determined; according to the thawing parameters, the food to be thawed is thawed. Therefore, through the above-mentioned image recognition method, the most suitable thawing parameters can be determined for the food to be thawed, and the automatic control of the thawing operation of the thawing space can be realized quickly and accurately without the user inputting any preset thawing instructions into the refrigerator, and without the user understanding the control method and the meaning of the instruction parameters corresponding to the preset thawing instructions, thereby realizing the full-automatic thawing control of the food to be thawed and improving the user experience.
[0020] To achieve the above-mentioned purpose, a fourth aspect of the present invention provides a computer-readable storage medium having a program stored thereon, and the program can be executed by a processor to implement the food thawing method of the first aspect of the present invention.
[0021] In the above-mentioned computer-readable storage medium, by obtaining a process video of placing the food to be thawed into the thawing space, wherein the thawing space is set in the refrigeration equipment, and the process video is acquired by the image acquisition device set corresponding to the thawing space; the process video is identified to obtain the category information of the food to be thawed; according to the category information, the thawing parameters corresponding to the food to be thawed are determined; according to the thawing parameters, the food to be thawed is thawed. Therefore, through the above-mentioned image recognition method, the most suitable thawing parameters can be determined for the food to be thawed, and the automatic control of the thawing operation of the thawing space can be realized quickly and accurately without the user inputting any preset thawing instructions into the refrigerator, and without the user understanding the control method and the meaning of the instruction parameters corresponding to the preset thawing instructions, thereby realizing the full-automatic thawing control of the food to be thawed and improving the user experience.
[0022] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of a process flow of a first embodiment of a method for thawing food provided by an embodiment of the present invention;
[0024] Figure 2 A structural schematic diagram of a food thawing control system provided by an embodiment of the present invention;
[0025] Figure 3 A schematic flow chart of a second embodiment of a method for thawing food provided by an embodiment of the present invention;
[0026] Figure 4A schematic diagram of the structure of a food thawing device provided by an embodiment of the present invention;
[0027] Figure 5 A schematic diagram of the structure of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0028] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0029] The following describes the food thawing method, device, server and computer-readable storage medium proposed in the embodiments of the present invention with reference to the accompanying drawings.
[0030] In this application, reference is made to Figure 1 As shown, Figure 1 This is a flow chart of Example 1 of a method for thawing food provided by an embodiment of the present invention. The method for thawing food provided by this embodiment may include the following steps:
[0031] S101, obtaining a process video of placing food to be thawed into a thawing space, wherein the thawing space is arranged in a refrigeration device, and the process video is acquired by an image acquisition device arranged corresponding to the thawing space.
[0032] Specifically, the food thawing method provided in this embodiment can be applied to any device with processing capabilities, such as a server.
[0033] Specifically, the refrigeration equipment may be a freezer, a refrigerator, a fresh-keeping cabinet, etc., and the embodiment of the present invention may be described by taking the refrigeration equipment as a refrigerator as an example. Among them, the thawing space may be provided in the refrigeration equipment, and the thawing space may be used to thaw the food. For example, the thawing space may be a storage room on a layer in a refrigerator. In specific implementation, the thawing space may be a closed drawer including a heating wire, and when the user puts the food to be thawed into the closed drawer, the food to be thawed may be thawed by the heating wire. In order to improve the thawing efficiency, a surrounding heating wire may also be provided in the thawing space.
[0034] Specifically, the image acquisition device disposed inside the thawing space can be used to collect a video of the process of a user placing food to be thawed in the refrigeration device. In a specific implementation, the image acquisition device can be disposed near the frame of the top of the thawing space near the door body.
[0035] Specifically, after the user opens the thawing space in the refrigeration device, the camera disposed inside the thawing space can capture a video of the process of the user placing the food to be thawed in the refrigeration device, and after the user closes the thawing space, the camera inside the thawing space is controlled to stop capturing. Furthermore, the camera disposed inside the thawing space can send the captured process video to the server, or the camera disposed inside the thawing space can send the captured process video to the refrigeration device, and then the refrigeration device can send the process video to the server.
[0036] S102, identifying the process video to obtain category information of the food to be thawed.
[0037] Specifically, the moving differential detection algorithm can be used to perform inter-frame differential recognition to obtain the category information of the food to be thawed. In specific implementation, other target detection algorithms can also be used to identify the video data to obtain the category information of the food to be thawed. For example, after identifying the process video, the category information of the food to be thawed is "aquatic products".
[0038] S103: Determine thawing parameters corresponding to the food to be thawed according to the category information.
[0039] Specifically, the thawing parameters may include thawing temperature, thawing time, thawing start time, thawing end time, etc.
[0040] Specifically, the thawing parameters corresponding to the food to be thawed can be determined according to the preset correspondence between the category of the food to be thawed and the thawing parameters. For example, the category of the food to be thawed is "pork". By querying the preset correspondence between the category of the food to be thawed and the thawing parameters, it can be obtained that the thawing temperature corresponding to pork is 12°C and the thawing time corresponding to pork is 2 hours. For another example, the category of the food to be thawed is "frozen beverages". By querying the preset correspondence between the category of the food to be thawed and the thawing parameters, it can be obtained that the thawing temperature corresponding to the frozen beverage is 15°C. For another example, the category information of the food to be thawed is "aquatic products". By querying the preset correspondence between the category of the food to be thawed and the thawing parameters, it can be obtained that the thawing temperature corresponding to the aquatic products is 5°C and the thawing time is 24 hours.
[0041] Specifically, the thawing parameters corresponding to the food to be thawed can also be determined by counting the user's habit data. For example, according to the user's habit data statistics, the user usually drinks smoothie beverage a at 13:00 in summer, so the thawing parameters of beverage a can be determined as "thawing temperature is 14°C, thawing time is 10 minutes, and thawing start time is 12:50".
[0042] S104, thawing the food to be thawed according to the thawing parameters.
[0043] Specifically, the server may send a control instruction including thawing parameters to the refrigeration device, so that the refrigeration device thaws the food to be thawed according to the thawing parameters.
[0044] Specifically, a controller may be provided in the thawing space, and the refrigeration device may forward control instructions including thawing parameters to the controller provided in the thawing space, and the controller may control the thawing of the food to be thawed.
[0045] The food thawing method provided by the embodiment of the present invention obtains a process video of placing the food to be thawed into a thawing space, wherein the thawing space is arranged in a refrigeration device, and the process video is acquired by an image acquisition device arranged in the corresponding thawing space; the process video is identified to obtain the category information of the food to be thawed; according to the category information, the thawing parameters corresponding to the food to be thawed are determined; according to the thawing parameters, the food to be thawed is thawed. Therefore, through the above-mentioned image recognition method, the most suitable thawing parameters can be determined for the food to be thawed, and the automatic control of the thawing operation of the thawing space can be realized quickly and accurately without the user inputting any preset thawing instructions into the refrigerator, and without the user understanding the control method and the meaning of the instruction parameters corresponding to the preset thawing instructions, thereby realizing the fully automatic thawing control of the food to be thawed and improving the user experience.
[0046] In some embodiments, when the process video is identified, the above-mentioned food thawing method may further include: determining a first freezing state of the food to be thawed, so as to determine thawing parameters corresponding to the food to be thawed according to the category information and the first freezing state.
[0047] Specifically, the process video can be identified to obtain the first freezing state of the food to be thawed, that is, the current freezing state of the food to be thawed when it is placed in the thawing space. Since the current freezing state of the food to be thawed may also affect the setting of parameters such as thawing time and thawing temperature, the thawing parameters corresponding to the food to be thawed can be determined according to the category information and the current freezing state of the food to be thawed.
[0048] For example, if the category information of the food to be thawed is "pork", if the current freezing state of "pork" is "completely frozen", the preset correspondence between the category of the food to be thawed and the thawing parameters can be queried to determine that the thawing temperature corresponding to "pork" is 13°C and the thawing time is 3 hours; if the current freezing state of "pork" is "large areas are frozen", the preset correspondence between the category of the food to be thawed and the thawing parameters can be queried to determine that the thawing temperature corresponding to "pork" is 12°C and the thawing time is 2 hours; if the current freezing state of "pork" is "partial areas are in ice crystal state", the preset correspondence between the category of the food to be thawed and the thawing parameters can be queried to determine that the thawing temperature corresponding to "pork" is 12°C and the thawing time is 1 hour.
[0049] In an embodiment of the present invention, the first freezing state of the food to be thawed is determined by identifying the process video. Since the current freezing state of the food to be thawed may also affect the settings of parameters such as the thawing time and the thawing temperature, more accurate thawing parameters corresponding to the food to be thawed can be obtained based on the category information and the first freezing state, thereby improving the thawing efficiency and the user experience.
[0050] In some embodiments, the above-mentioned determination of the thawing parameters corresponding to the food to be thawed based on the category information and the first freezing state may include: determining the target thawing state corresponding to the category information; determining the thawing parameters corresponding to the food to be thawed based on the category information, the first freezing state and the target thawing state.
[0051] Specifically, the corresponding target thawing state can be determined according to the category information of the food to be thawed. Since the target thawing state of the food to be thawed may also affect the setting of parameters such as thawing time and thawing temperature, the thawing parameters corresponding to the food to be thawed can be determined according to the category information of the food to be thawed, the current freezing state and the target thawing state.
[0052] Specifically, the target thawing states of different types of to-be-thawed food ingredients can be determined by counting the habit data of the users. For example, user A is accustomed to thawing frozen drinks into a smoothie state, user B is accustomed to thawing frozen drinks into a state without ice cubes, user C is accustomed to thawing pork into a completely thawed and soft state, and user D is accustomed to thawing pork into a semi-thawed state with ice crystals in some areas.
[0053] Specifically, the target thawing state of different types of food to be thawed can also be determined by the preset correspondence between the type of food to be thawed and the target thawing state. For example, the target thawing state corresponding to pork is completely thawed, and the target thawing state corresponding to frozen drinks is completely thawed.
[0054] In an embodiment of the present invention, by determining the target thawing state corresponding to the category information, since the target thawing state of the food to be thawed may also affect the settings of parameters such as the thawing time and the thawing temperature, more accurate thawing parameters corresponding to the food to be thawed can be obtained based on the category information, the first freezing state and the target thawing state, thereby improving the thawing efficiency and the user experience.
[0055] In some embodiments, the above-mentioned food thawing method may further include: obtaining a picture to be identified of the food to be thawed after a preset time; analyzing the picture to be identified to obtain a second freezing state of the food to be thawed; adjusting the thawing parameters according to the second freezing state and the target thawing state, so as to thaw the food to be thawed according to the adjusted thawing parameters.
[0056] Specifically, during the thawing of the food to be thawed, a camera arranged inside the thawing space can be controlled to take a picture of the food to be thawed after a preset time, and the obtained picture to be thawed can be analyzed to obtain a second freezing state of the food to be thawed; and according to the second freezing state and the target thawing state, the thawing parameters are adjusted so that the food to be thawed can be thawed according to the adjusted thawing parameters.
[0057] In some embodiments, the above-mentioned adjustment of thawing parameters may include: adjusting the thawing temperature and / or the thawing time. That is, the thawing temperature may be adjusted according to the second freezing state and the target thawing state, the thawing time may be adjusted according to the second freezing state and the target thawing state, and the thawing temperature and thawing time may be adjusted according to the second freezing state and the target thawing state.
[0058] For example, assuming that the food to be thawed is pork, the thawing temperature set for the pork is 12°C and the thawing time is 2 hours, the pork is thawed based on the thawing temperature of 12°C and the thawing time of 2 hours. After the thawing of the pork is triggered, the camera set inside the thawing space can be used to collect pictures of the pork to be identified every 20 minutes. Assume that the server identifies the pictures to be identified taken in the second 20 minutes, and the second freezing state of the pork is: only a small amount of ice crystals. At this time, the thawing temperature can be slightly lowered, and the thawing time can be shortened, so as to achieve the goal of thawing while maximizing the savings in thawing time, reducing the energy consumption caused by maintaining a constant temperature environment for a long time, and maximizing the restoration of the taste of the food.
[0059] In the embodiment of the present invention, by obtaining a picture of the food to be thawed after a preset time, analyzing the picture to be thawed, and obtaining the second frozen state of the food to be thawed, adjusting the thawing parameters according to the second frozen state and the target thawing state, so as to thaw the food to be thawed according to the adjusted thawing parameters. Thus, during the thawing of the food to be thawed, by obtaining the thawing degree of the food to be thawed at different times, the thawing parameters can be adjusted in real time, so as to achieve the thawing target while maximizing the saving of thawing time, reducing the energy consumption caused by maintaining a constant temperature environment for a long time, and maximizing the restoration of the taste of the food.
[0060] In some embodiments, the above-mentioned analysis of the image to be identified to obtain the second freezing state of the food to be thawed may include: obtaining multiple reference images, wherein the category of food included in the reference images is the same as the category of food to be thawed, and the food included in each reference image is in a different freezing state; calculating the similarity between the image to be identified and each reference image respectively; and determining the freezing state corresponding to the reference image with the greatest similarity as the second freezing state of the food to be thawed.
[0061] Specifically, benchmark pictures of the same type of food in different freezing states can be obtained in advance, and based on the similarity between these benchmark pictures and the state pictures of the food to be thawed after a preset time, it is determined which freezing state the current freezing state of the food to be thawed is closest to, and the closest freezing state is determined as the current freezing state of the food to be thawed (the second freezing state).
[0062] Specifically, a preset cosine similarity algorithm or a preset Euclidean distance algorithm can be used to calculate the similarity between the image to be identified of the food to be thawed after a preset time and each reference image, and the freezing state corresponding to the reference image with the greatest similarity can be determined as the second freezing state of the food to be thawed.
[0063] For example, based on the thawing temperature of 12°C and the thawing time of 2 hours, the pork is thawed. After the thawing of the pork is triggered, the image to be identified of the pork can be collected every 20 minutes through the camera set inside the thawing space. Assuming that the image A to be identified is taken in the fifth 20 minutes, the reference images of pork in three different freezing states preset in the server are: reference image B, reference image C and reference image D, wherein the pork in reference image B is in a fresh state at normal room temperature, the pork in reference image C is in an ice crystal state in some areas, and the pork in reference image D is in a frozen state in large areas. The similarity between the image to be identified A and the reference image B can be calculated by the preset cosine similarity algorithm as a1, the similarity between the image to be identified A and the reference image C as a2, and the similarity between the image to be identified A and the reference image D as a3. If a1>a2>a3, then the frozen state (fresh state at normal temperature) corresponding to the reference image B with the greatest similarity can be determined as the second frozen state of the pork in the fifth 20 minutes, that is, the frozen state of the pork in the fifth 20 minutes is: fresh state at normal temperature. Since the pork is in a fresh state at normal temperature at this time, the thawing can be controlled to end early, so as to achieve the goal of thawing while maximizing the saving of thawing time, reducing the energy consumption caused by maintaining a constant temperature environment for a long time, and maximizing the restoration of the taste of the food.
[0064] In an embodiment of the present invention, multiple reference images are obtained, wherein the categories of ingredients included in the reference images are the same as the categories of ingredients to be thawed, and the ingredients included in each reference image are in different freezing states; the similarity between the image to be identified and each reference image is calculated respectively; and the freezing state corresponding to the reference image with the greatest similarity is determined as the second freezing state of the ingredients to be thawed. Thus, a more accurate second freezing state of the ingredients to be thawed can be obtained, and the thawing parameters can be adjusted according to the more accurate second freezing state and the target thawing state, so that the ingredients to be thawed can be thawed according to the adjusted and more accurate thawing parameters, so as to achieve the goal of thawing while maximizing the saving of thawing time, reducing the energy consumption caused by maintaining a constant temperature environment for a long time, and maximizing the restoration of the taste of the ingredients.
[0065] Specifically, the above method can also be used to obtain in advance reference pictures of the same type of food in different freezing states, and based on the similarity between these reference pictures and the current state pictures of the food to be thawed when placed in the thawing space, determine which freezing state the current freezing state of the food to be thawed is closest to, and determine the closest freezing state as the first freezing state of the food to be thawed. Since the current freezing state of the food to be thawed when placed in the thawing space may also affect the setting of parameters such as the thawing time and thawing temperature, more accurate thawing parameters corresponding to the food to be thawed can be obtained based on the category information and the more accurate first freezing state, thereby improving the thawing efficiency and the user experience.
[0066] In some embodiments, after thawing the food to be thawed, the above-mentioned food thawing method may further include: obtaining a target picture, wherein the target picture is a picture corresponding to a target thawing state; extracting a first feature vector of the picture to be identified and a second feature vector of the target picture, wherein the first feature vector represents the second freezing state and the second feature vector represents the target thawing state; calculating the similarity between the first feature vector and the second feature vector; if the similarity is greater than or equal to a preset threshold, determining that the thawing is completed.
[0067] Specifically, a target image corresponding to a target thawing state can be obtained, and by calculating the similarity between the target image and the image to be identified of the food to be thawed after a preset time, it is determined whether the degree of freezing of the food to be thawed after the preset time has met the thawing stop condition according to the similarity. In specific implementation, the first feature vector of the image to be identified and the second feature vector of the target image can be extracted, and by determining that the similarity is greater than or equal to a preset threshold, it is determined that the degree of freezing of the food to be thawed after the preset time has met the thawing stop condition, and then the thawing can be controlled to end early.
[0068] For example, the target thawing state corresponding to pork is complete thawing, and the pork is thawed based on the thawing temperature of 12°C and the thawing time of 2 hours. After the thawing of pork is triggered, the image 1 to be identified of the pork can be collected by a camera set inside the thawing space at the 50th minute, and the first feature vector of the image 1 to be identified and the second feature vector of the target image can be extracted. If the similarity between the first feature vector and the second feature vector is less than the preset threshold of 80%, that is, the thawing stop condition is not met, the pork will continue to be thawed according to the aforementioned thawing parameters. It is also possible to collect the image 2 to be identified of the pork through a camera set inside the thawing space at the 100th minute, extract the first feature vector of the image 2 to be identified and the second feature vector of the target image. If the similarity between the first feature vector and the second feature vector is greater than the preset threshold of 80%, that is, the thawing stop condition is met, the thawing is controlled to end early.
[0069] In an embodiment of the present invention, a target image is obtained, wherein the target image is an image corresponding to the target thawing state; a first feature vector of the image to be identified and a second feature vector of the target image are extracted, wherein the first feature vector represents the second freezing state and the second feature vector represents the target thawing state; the similarity between the first feature vector and the second feature vector is calculated; if the similarity is greater than or equal to a preset threshold, the thawing is determined to be finished. Thus, the similarity between the feature vectors can be used to determine whether the degree of freezing of the food to be thawed after a preset time has met the thawing stop condition, and if the thawing stop condition is met, the thawing is controlled to end early, so as to achieve the goal of completing the thawing while maximizing the saving of thawing time, reducing the energy consumption caused by maintaining a constant temperature environment for a long time, and maximizing the restoration of the taste of the food.
[0070] Specifically, the method of extracting feature vectors mentioned above can also be used to calculate the similarity between the picture to be identified of the food to be thawed after a preset time and each reference picture. The method of extracting feature vectors mentioned above can also be used to calculate the similarity between the reference picture and the current state picture of the food to be thawed when placed in the thawing space, which will not be elaborated here.
[0071] As a specific example, Figure 2 A structural diagram of a food thawing control system provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the system may include a refrigerator 1 and an image recognition server 2, and the refrigerator 1 may include: a thawing space 11 and a refrigerator main controller microcontroller unit (MCU) 12. Among them, the thawing space 11 may include an image recognition camera 111, a single-chip control board 112, and a heating wire and temperature sensor 113.
[0072] Specifically, it can be done by Figure 2 The above-mentioned system shown implements the food thawing method provided in the following embodiment 2. Figure 3 A schematic diagram of a second embodiment of a method for thawing food provided by an embodiment of the present invention, as shown in FIG. Figure 3 As shown, the food thawing method provided in this embodiment may include the following steps:
[0073] S301, the image recognition camera automatically collects pictures and video data of various directions of the food to be thawed placed by the user into the thawing space, and performs pre-processing and conversion.
[0074] S302, the image recognition camera transmits the picture and video data converted into binary streams to the image recognition server.
[0075] S303, the image recognition server deserializes the received data, inputs the converted picture and video data into the image recognition model for machine recognition, and obtains the type of food to be thawed.
[0076] S304, the image recognition server sets the corresponding optimal thawing temperature and thawing time according to the type of food to be thawed, and forms the refrigerator control instructions specified by the m-smart protocol.
[0077] Among them, the refrigerator control instructions may include the optimal thawing temperature and thawing time corresponding to the food to be thawed.
[0078] S305, the image recognition server sends the refrigerator control instruction to the refrigerator main controller MCU.
[0079] Specifically, the image recognition server can send the refrigerator control instruction to the refrigerator main controller MCU through the smart refrigerator module gateway channel.
[0080] S306, the refrigerator main controller MCU forwards the received refrigerator control instruction to the single chip control board.
[0081] Specifically, the refrigerator main controller MCU can forward the received refrigerator control instruction to the single-chip microcomputer control board arranged in the thawing space through the serial port connection line.
[0082] Specifically, the refrigerator main controller MCU can also parse the refrigerator control instructions according to the M-smart protocol, and control other components of the refrigerator according to the parsed content.
[0083] S307, the single chip control board controls the surrounding heating wire to heat according to the received refrigerator control instruction, so that the surrounding heating wire reaches the corresponding optimal thawing temperature.
[0084] S308, when the temperature sensor detects that the temperature of the enclosed thawing space reaches the optimal thawing temperature, feedback information is sent to the single chip control board.
[0085] Specifically, the temperature sensor can feed back the real-time detected temperature of the enclosed thawing space to the single-chip control board.
[0086] S309, when the single-chip microcomputer control board receives the feedback information that the surrounding heating wire has reached the specified optimal thawing temperature, it starts timing, and after the thawing time is reached, it sends a thawing completion notification information to the refrigerator main controller MCU.
[0087] Specifically, the single-chip microcomputer control board can notify the refrigerator main controller MCU through the serial port that the thawing is completed.
[0088] S310, the refrigerator main controller MCU sends a thawing completion notification message to the image recognition server.
[0089] Specifically, the refrigerator main controller MCU can report the thawing completion notification information to the image recognition server through the smart wifi module.
[0090] S311, the image recognition server outputs thawing completion notification information.
[0091] Specifically, the image recognition server can send a thawing completion notification message to the user through a mobile phone APP (Application) or a plug-in applet service public account. The thawing completion notification message can be used to remind the user that the thawing is complete.
[0092] In an embodiment of the present invention, the thawing operation process can be carried out without the need for user intervention. After the type of food to be thawed is obtained through image recognition, the thawing temperature and thawing time can be automatically set, and the user can be notified after the thawing is completed, so that the user does not need to check the thawing status all the time. At the same time, automatic thawing of food is realized, bringing convenient and fast smart life experience to the user.
[0093] Figure 4 The schematic diagram of the structure of a food thawing device provided by an embodiment of the present invention. Figure 4 As shown, the food thawing device 40 may include: an acquisition module 410 , an identification module 420 , a determination module 430 and a control module 440 .
[0094] The acquisition module 410 can be used to obtain a process video of placing the food to be thawed into a thawing space, wherein the thawing space is arranged in a refrigeration device, and the process video is acquired by an image acquisition device arranged in the corresponding thawing space; the recognition module 420 can be used to identify the process video and obtain the category information of the food to be thawed; the determination module 430 can be used to determine the thawing parameters corresponding to the food to be thawed according to the category information; the control module 440 can be used to thaw the food to be thawed according to the thawing parameters.
[0095] The food thawing device provided by the embodiment of the present invention obtains a process video of putting the food to be thawed into the thawing space through an acquisition module, wherein the thawing space is arranged in a refrigeration device, and the process video is acquired by an image acquisition device arranged in the corresponding thawing space; the process video is identified through an identification module to obtain the category information of the food to be thawed; the thawing parameters corresponding to the food to be thawed are determined according to the category information through a determination module; and the food to be thawed is thawed according to the thawing parameters through a control module. Thus, through the above-mentioned image recognition method, the most suitable thawing parameters can be determined for the food to be thawed, and the automatic control of the thawing operation of the thawing space can be realized quickly and accurately without the user inputting any preset thawing instructions into the refrigerator, and without the user understanding the meaning of the control method and instruction parameters corresponding to the preset thawing instructions, thereby realizing the full-automatic thawing control of the food to be thawed and improving the user experience.
[0096] According to one embodiment of the present invention, the identification module 420 may also be used to determine a first freezing state of the food to be thawed, so that the determination module 430 may also be used to determine thawing parameters corresponding to the food to be thawed according to the category information and the first freezing state.
[0097] According to an embodiment of the present invention, the above-mentioned determination module 430 can be specifically used to: determine the target thawing state corresponding to the category information; determine the thawing parameters corresponding to the food to be thawed according to the category information, the first freezing state and the target thawing state.
[0098] According to one embodiment of the present invention, the acquisition module 410 can also be used to obtain a picture of the food to be thawed after a preset time. The identification module 420 can also be used to analyze the picture to be identified to obtain a second freezing state of the food to be thawed. The determination module 430 can also be used to adjust the thawing parameters according to the second freezing state and the target thawing state, so that the control module 440 can also be used to thaw the food to be thawed according to the adjusted thawing parameters.
[0099] According to one embodiment of the present invention, the above-mentioned recognition module 420 can be specifically used to: obtain multiple reference pictures, wherein the category of ingredients included in the reference pictures is the same as the category of ingredients to be thawed, and the ingredients included in each reference picture are in different freezing states; respectively calculate the similarity between the picture to be identified and each reference picture; and determine the freezing state corresponding to the reference picture with the greatest similarity as the second freezing state of the ingredients to be thawed.
[0100] According to an embodiment of the present invention, the thawing parameters include thawing temperature and thawing time, and the above-mentioned determination module 430 can be specifically used to adjust the thawing temperature and / or thawing time.
[0101] According to one embodiment of the present invention, the above-mentioned control module 440 can also be used to: obtain a target picture, wherein the target picture is a picture corresponding to the target thawed state; extract a first feature vector of the picture to be identified and a second feature vector of the target picture, wherein the first feature vector represents the second freezing state and the second feature vector represents the target thawed state; calculate the similarity between the first feature vector and the second feature vector; if the similarity is greater than or equal to a preset threshold, determine that the thawing is completed.
[0102] In addition, corresponding to the food thawing method provided in the above embodiment, the embodiment of the present invention also provides a server, such as Figure 5 As shown, the server 50 may include: a memory 510, a processor 520, and a program stored in the memory 510 and executable on the processor 520. When the processor 520 executes the program, all steps of the food thawing method provided in the embodiment of the present invention are implemented.
[0103] In the above server, by obtaining a process video of putting the food to be thawed into the thawing space, wherein the thawing space is set in the refrigeration equipment, and the process video is acquired by the image acquisition device set corresponding to the thawing space; the process video is identified to obtain the category information of the food to be thawed; according to the category information, the thawing parameters corresponding to the food to be thawed are determined; according to the thawing parameters, the food to be thawed is thawed. Therefore, through the above image recognition method, the most suitable thawing parameters can be determined for the food to be thawed, and the automatic control of the thawing operation of the thawing space can be realized quickly and accurately without the user inputting any preset thawing instructions into the refrigerator, and without the user understanding the control method and the meaning of the instruction parameters corresponding to the preset thawing instructions, thereby realizing the full-automatic thawing control of the food to be thawed and improving the user experience.
[0104] In addition, corresponding to the food thawing method provided in the above embodiment, the embodiment of the present invention further provides a computer-readable storage medium, on which a program is stored, and when the program is executed by a processor, all the steps of the food thawing method of the embodiment of the present invention are implemented.
[0105] In the above-mentioned computer-readable storage medium, by obtaining a process video of placing the food to be thawed into the thawing space, wherein the thawing space is set in the refrigeration equipment, and the process video is acquired by the image acquisition device set corresponding to the thawing space; the process video is identified to obtain the category information of the food to be thawed; according to the category information, the thawing parameters corresponding to the food to be thawed are determined; according to the thawing parameters, the food to be thawed is thawed. Therefore, through the above-mentioned image recognition method, the most suitable thawing parameters can be determined for the food to be thawed, and the automatic control of the thawing operation of the thawing space can be realized quickly and accurately without the user inputting any preset thawing instructions into the refrigerator, and without the user understanding the control method and the meaning of the instruction parameters corresponding to the preset thawing instructions, thereby realizing the full-automatic thawing control of the food to be thawed and improving the user experience.
[0106] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0107] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0108] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0109] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0110] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0111] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for thawing food materials, It is characterized in that The method comprises: Obtaining a process video of placing food to be thawed into a thawing space, wherein the thawing space is provided in a refrigeration device, and the process video is acquired by an image acquisition device provided corresponding to the thawing space; Identifying the process video to obtain category information of the food to be thawed; Determining thawing parameters corresponding to the food to be thawed according to the category information; The food to be thawed is thawed according to the thawing parameters.
2. The method according to claim 1, It is characterized in that When identifying the process video, the method further includes: A first freezing state of the food to be thawed is determined, so as to determine thawing parameters corresponding to the food to be thawed according to the category information and the first freezing state.
3. The method according to claim 2, It is characterized in that The determining of the thawing parameters corresponding to the food to be thawed according to the category information and the first freezing state includes: Determine the target thawing state corresponding to the category information; Determine thawing parameters corresponding to the food to be thawed according to the category information, the first freezing state and the target thawing state.
4. The method according to claim 3, It is characterized in that The method further comprises: Obtaining the image of the food to be thawed to be identified after a preset time; Analyzing the image to be identified to obtain a second freezing state of the food to be thawed; According to the second freezing state and the target thawing state, the thawing parameters are adjusted so that the to-be-thawed food is thawed according to the adjusted thawing parameters.
5. The method according to claim 4, It is characterized in that The step of analyzing the image to be identified to obtain the second freezing state of the food to be thawed includes: Acquire a plurality of reference pictures, wherein the category of the food included in the reference pictures is the same as the category of the food to be thawed, and the food included in each of the reference pictures is in a different frozen state; Calculating the similarity between the image to be identified and each of the reference images respectively; The freezing state corresponding to the reference picture with the greatest similarity is determined as the second freezing state of the food to be thawed.
6. The method according to claim 4, It is characterized in that The thawing parameters include thawing temperature and thawing time, and the adjusting of the thawing parameters includes: Adjust defrost temperature and / or defrost time.
7. The method according to claim 4, It is characterized in that After thawing the food to be thawed, the method further comprises: Obtaining a target image, wherein the target image is an image corresponding to the target unfrozen state; Extracting a first feature vector of the image to be identified and a second feature vector of the target image, wherein the first feature vector represents the second frozen state, and the second feature vector represents the target thawed state; Calculating the similarity between the first feature vector and the second feature vector; If the similarity is greater than or equal to the preset threshold, it is determined that the thawing is completed.
8. A food thawing device, It is characterized in that The device comprises: An acquisition module, used to acquire a process video of placing food to be thawed into a thawing space, wherein the thawing space is provided in a refrigeration device, and the process video is acquired by an image acquisition device provided corresponding to the thawing space; An identification module, used to identify the process video and obtain the category information of the food to be thawed; A determination module, used for determining thawing parameters corresponding to the food to be thawed according to the category information; The control module is used to thaw the food to be thawed according to the thawing parameters.
9. A server, It is characterized in that include: A memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, It is characterized in that A program is stored thereon, and when the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Mutton unfreezing state end point judgment method and system based on machine vision
CN121811118A
