Image recognition method for refrigerator articles, refrigerator, server and storage medium

By selecting appropriate cameras for image recognition of refrigerator items, the problem of slow processing speed of existing refrigerators under multiple cameras is solved, and more efficient image recognition processing is achieved.

CN118865360APending Publication Date: 2024-10-29HEFEI MIDEA REFRIGERATOR CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310478726.5
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

Technical Problem

Existing refrigerators use multiple cameras for image recognition after the refrigerator door is opened, resulting in increased data processing complexity and reduced system processing speed.

Method used

By obtaining the characteristic information of the item to be identified, the appropriate target camera is selected for image recognition, and only the image is transmitted and processed for this camera, avoiding starting all cameras and analyzing all images.

Benefits of technology

It significantly reduces the data processing complexity of the system and improves the processing speed of image recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118865360A_ABST
    Figure CN118865360A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an image recognition method for refrigerator articles, a refrigerator, a server and a storage medium. The image recognition method comprises the following steps that image information shot by at least one camera is obtained; determining feature information of the to-be-identified article according to the image information; determining a target camera from the plurality of cameras according to the feature information, and obtaining an article image obtained by shooting the to-be-identified article by the target camera; and identifying the to-be-identified article according to the article image. According to the embodiment of the invention, the target camera with a proper shooting angle can be screened out from the plurality of cameras according to the feature information of the to-be-recognized article, and only the image shot by the target camera needs to be transmitted and recognized. According to the embodiment of the invention, the data processing complexity of the system can be greatly reduced, so that the processing speed of the system can be greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of refrigerators, and in particular to an image recognition method for refrigerator items, a refrigerator, a server, and a storage medium. Background Art

[0002] In the related art, in order to collect, monitor and analyze the storage conditions inside the refrigerator, the most common method is to use a camera to take pictures of the inside of the refrigerator and upload them to the cloud for analysis and processing. Among them, for some current refrigerator products, in order to improve the accuracy of food identification, multiple cameras are often used simultaneously for image acquisition and image recognition. However, since all cameras in the refrigerator will enter the shooting state after the refrigerator door is opened, and the system needs to identify and analyze all images captured by all cameras, it will greatly increase the complexity of the system's data processing, thereby greatly reducing the system's processing speed. Summary of the invention

[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes an image recognition method for refrigerator items, a refrigerator, a server and a storage medium, aiming to improve the processing speed of image recognition.

[0004] In a first aspect, an embodiment of the present application provides an image recognition method for items in a refrigerator, wherein the refrigerator is provided with a plurality of cameras; the image recognition method comprises:

[0005] Acquire image information captured by at least one of the cameras;

[0006] Determining feature information of the object to be identified according to the image information;

[0007] Determine a target camera from the plurality of cameras according to the feature information, and obtain an object image captured by the target camera of the object to be identified;

[0008] The object to be identified is identified according to the object image.

[0009] According to some embodiments of the present application, the refrigerator is provided with a plurality of areas; and determining a target camera from the plurality of cameras according to the feature information comprises:

[0010] Determine the target area where the object to be identified is located according to the location information of the object to be identified;

[0011] A target camera whose shooting area includes the target area is screened out from the multiple cameras.

[0012] According to some embodiments of the present application, when there are multiple target cameras, the target area is a common shooting area of ​​the multiple target cameras; after screening out a target camera whose shooting area includes the target area from the multiple cameras, the image recognition method further includes:

[0013] Acquire a public area image captured by at least one of the target cameras on the public shooting area;

[0014] Performing image recognition on the public area image to determine the holding mode of the object to be identified by the hand;

[0015] A target camera of a target number is determined according to the holding manner.

[0016] According to some embodiments of the present application, the shooting areas of the multiple cameras include an overlapping common shooting area, and the feature information includes a holding manner of the object to be identified by a hand; when the object to be identified is located in the common shooting area, determining a target camera from the multiple cameras according to the feature information includes:

[0017] A target camera of a target number is determined according to the holding manner.

[0018] According to some embodiments of the present application, the multiple cameras include a first camera, which is arranged at a left position inside the refrigerator; the target camera that determines the number of targets according to the holding method includes:

[0019] When the holding method is the right-hand holding method, the first camera is used as the target camera.

[0020] According to some embodiments of the present application, the plurality of cameras further include a second camera, which is disposed at a right position inside the refrigerator; and the target camera for determining the number of targets according to the holding method further includes:

[0021] When the holding method is the left-hand holding method, the second camera is used as the target camera.

[0022] According to some embodiments of the present application, the image recognition method further includes:

[0023] When the holding manner of the object to be identified by the hand cannot be determined, the first camera is used as the target camera.

[0024] According to some embodiments of the present application, the shooting area of ​​the first camera includes the public shooting area and the first shooting area; when the object to be identified is located in the first shooting area, obtaining the object image obtained by the target camera shooting the object to be identified includes:

[0025] The first shooting area is photographed by the first camera to obtain an object image of the object to be identified.

[0026] According to some embodiments of the present application, the shooting area of ​​the second camera includes the common shooting area and the second shooting area, there is no overlapping area between the first shooting area and the second shooting area, and when the object to be identified is located in the second shooting area, the acquiring the object image obtained by the target camera of the object to be identified further includes:

[0027] The second shooting area is photographed by the second camera to obtain an object image of the object to be identified.

[0028] According to some embodiments of the present application, the image recognition method is applied to a refrigerator; the identifying the object to be identified according to the object image includes one of the following:

[0029] By locally performing image recognition on the object image, a recognition result of the object to be recognized is obtained.

[0030] The object image is sent to a server so that the server performs image recognition on the object image to obtain a recognition result of the object to be recognized.

[0031] In a second aspect, an embodiment of the present application provides an image recognition method for refrigerator items, which is applied to a server, the server communicates with a refrigerator, and the refrigerator is provided with multiple cameras; the image recognition method includes:

[0032] receiving an image of an object to be identified that is captured by a target camera and sent by the refrigerator, wherein the target camera determines feature information of the object to be identified from the plurality of cameras based on the feature information after determining feature information of the object to be identified based on image information captured by at least one camera of the refrigerator;

[0033] The object to be identified is identified according to the object image.

[0034] In a third aspect, an embodiment of the present application provides a refrigerator, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the image recognition method of the first aspect described above when running the computer program.

[0035] According to some embodiments of the present application, the refrigerator is provided with a cabinet and a plurality of cameras, the plurality of cameras are all connected to the processor and are mounted on the top of the cabinet, and the shooting areas of the plurality of cameras all include the cabinet area.

[0036] According to some embodiments of the present application, the refrigerator is also provided with a left door and a right door installed on the body, and the multiple cameras include a first camera and a second camera; the first camera is installed on a side of the body close to the left door, and the shooting area of ​​the first camera also includes the right door area; the second camera is installed on a side of the body close to the right door, and the shooting area of ​​the second camera also includes the left door area.

[0037] According to some embodiments of the present application, the refrigerator is further provided with a communication module, which is connected to the processor, and the communication module is also used to connect to the server.

[0038] In a fourth aspect, an embodiment of the present application provides a server, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the image recognition method of the first aspect or the second aspect described above when running the computer program.

[0039] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the image recognition method of the first aspect or the second aspect as described above.

[0040] According to the technical solution of the embodiment of the present application, there are at least the following beneficial effects: the embodiment of the present application can screen out a target camera with a suitable shooting angle from multiple cameras according to the feature information of the object to be identified, and only needs to perform image transmission and image recognition processing on the image captured by the target camera, without starting all cameras and without analyzing the images captured by all cameras. Therefore, the embodiment of the present application can greatly reduce the complexity of the system's data processing, thereby greatly improving the system's processing speed.

[0041] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0043] Figure 1 is a structural schematic diagram of a refrigerator provided by an embodiment of the present application;

[0044] Figure 2 is a schematic diagram of the connection relationship between a refrigerator and a server provided in one embodiment of the present application;

[0045] Figure 3 is a flow chart of a method for image recognition of refrigerator items provided by an embodiment of the present application;

[0046] Figure 4 is a flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application;

[0047] Figure 5 is a flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application;

[0048] Figure 6 is a flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application;

[0049] Figure 7 is a flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application;

[0050] Figure 8 is a flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application;

[0051] Fig. 9 is a flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application;

[0052] Fig.10 is a flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application;

[0053] Fig.11 is a flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application;

[0054] Fig.12 is a flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application;

[0055] Fig.13 is a flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application;

[0056] Fig.14 is a flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application;

[0057] Fig.15 This is an overall flow chart of a method for image recognition of refrigerator items provided by an embodiment of the present application;

[0058] Fig.16 It is a schematic diagram of a controller for executing an image recognition method for refrigerator items provided by an embodiment of the present application. DETAILED DESCRIPTION

[0059] The embodiments of the present application are described in detail below, and examples of the embodiments 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 only used to explain the present application, and cannot be understood as limiting the present application.

[0060] In the description of the present application, it should be understood that descriptions involving orientation, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0061] In the description of this application, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0062] In the description of this application, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this application based on the specific content of the technical solution.

[0063] In some cases, in order to collect, monitor and analyze the storage conditions inside the refrigerator, the most common method is to use a camera to take pictures of the inside of the refrigerator and upload them to the cloud for analysis and processing. Among them, for some current refrigerator products, in order to improve the accuracy of food identification, multiple cameras are often used simultaneously for image acquisition and image recognition. However, since all cameras in the refrigerator will enter the shooting state after the refrigerator door is opened, and the system needs to identify and analyze all images captured by all cameras, it will greatly increase the complexity of the system's data processing, thereby greatly reducing the system's processing speed.

[0064] Based on the above situation, the embodiment of the present application proposes an image recognition method for refrigerator items, a refrigerator, a server and a storage medium. It only needs to perform image transmission and image recognition processing on the images taken by the cameras after screening, without starting all cameras and without analyzing the images taken by all cameras, thereby improving the processing speed of image recognition.

[0065] The following further describes various embodiments of the refrigerator and the server of the present application in conjunction with the accompanying drawings.

[0066] like Figure 1 to Figure 2 As shown, Figure 1 is a structural schematic diagram of a refrigerator provided by an embodiment of the present application; Figure 2 This is a schematic diagram of the connection relationship between a refrigerator and a server provided in one embodiment of the present application.

[0067] In one embodiment, the refrigerator 100 in the embodiment of the present application includes but is not limited to multiple cameras and a controller 160, wherein the multiple cameras are connected to the controller 160, the cameras are used to photograph the food in the refrigerator 100, so as to identify the food, and the shooting areas of the multiple cameras may include overlapping common shooting areas, or may not include overlapping common shooting areas.

[0068] The refrigerator 100 in the embodiment of the present application may be a single-door refrigerator or a double-door refrigerator; the single-door refrigerator includes but is not limited to a cabinet and a cabinet door, and the cabinet door is used to close or open the cabinet. Figure 1 As shown, the double-door refrigerator includes but is not limited to a cabinet 140 , a left cabinet door 130 and a right cabinet door 150 , and the left cabinet door 130 and the right cabinet door 150 are used to close or open the cabinet 140 together.

[0069] It should be noted that the number of the above-mentioned cameras can be two, three, or more. The embodiment of the present application does not specifically limit the number of cameras.

[0070] In addition, it should be noted that the installation position of the above-mentioned camera can be set inside the box body 140 of the refrigerator 100, such as the top, left wall or right wall of the box body 140, or it can be set on the inside of the door of the refrigerator 100, or it can be set on the outer surface of the refrigerator 100, such as the outer surface above the opening of the box body 140 or the outer surface below the opening of the box body 140, or it can be set at other positions. The embodiment of the present application does not specifically limit the installation position of the camera.

[0071] In addition, it is worth noting that the above-mentioned public shooting area can be the internal area of ​​the box 140, the open area of ​​the box 140, the area corresponding to the left door 130, the area corresponding to the right door 150, or other areas. The embodiment of the present application does not specifically limit the position of the public shooting area.

[0072] For example, when the common shooting area is the internal area of ​​the box 140, multiple cameras can simultaneously shoot the items that the user puts into the box 140 or takes out from the box 140; when the common shooting area is the open area of ​​the box 140, because the user needs to pass through the open area of ​​the box 140 when putting items into the box 140 or taking items out from the box 140, multiple cameras can also simultaneously shoot the items that the user puts into the box 140 or takes out from the box 140; when the common shooting area is the inner area of ​​the box door, multiple cameras can simultaneously shoot the items that the user puts into the shelf in the inner area of ​​the box door or takes out from the shelf in the inner area of ​​the box door.

[0073] In one embodiment, if Figure 1 As shown, multiple cameras in the embodiment of the present application are installed on the top of the box 140, and the shooting areas of the multiple cameras all include the box area, wherein: Figure 1 The box area shown may refer to an inner area of ​​the box 140 or an open area of ​​the box 140 .

[0074] Specifically, the plurality of cameras include a first camera 110 and a second camera 120; wherein the first camera 110 is installed on a side of the box body 140 close to the left door 130, and the shooting direction of the first camera 110 points to the box body 140 and the right door 150, so the shooting area of ​​the first camera 110 covers the box body area and the right door area; in addition, the second camera 120 is installed on a side of the box body 140 close to the right door 150, and the shooting direction of the second camera 120 points to the box body 140 and the left door 130, so the shooting area of ​​the second camera 120 covers the box body area and the left door area. Since the first camera 110 and the second camera 120 both shoot the box body area, the box body area is a common shooting area, while the right door area is a shooting area specific to the first camera 110, and the left door area is a shooting area specific to the second camera 120.

[0075] In one embodiment, if Figure 2 As shown, the refrigerator 100 in the embodiment of the present application also includes but is not limited to a communication module 170 . Specifically, the controller 160 is connected to the communication module 170 and is connected to the server 200 through the communication module 170 .

[0076] It should be noted that the above-mentioned communication module 170 can be a wireless communication module, such as a WIFI communication module, a 4G communication module or a 5G communication module, etc.; specifically, after the refrigerator 100 obtains the food image through the camera, the wireless communication module 170 can upload the food image to the cloud server 200 for food identification.

[0077] In addition, it should be noted that regarding the above-mentioned server 200, after the server 200 receives the food image sent by the refrigerator 100, it will respond by identifying the food based on the food image, thereby obtaining an identification result, wherein the identification result includes but is not limited to the food variety, food introduction, recipes corresponding to the food, and the like.

[0078] In addition, it should be noted that after the server 200 determines the recognition result, it can feed back the recognition result to the refrigerator 100, or send the recognition result to the user's mobile phone so that the user can view the current food quantity, food category, food introduction, food recipe, etc. in the refrigerator 100.

[0079] In one embodiment, the refrigerator 100 of the embodiment of the present application further includes but is not limited to a refrigerator door sensor, which can detect the open or closed state of the refrigerator door in real time. Specifically, when the refrigerator door sensor detects that the refrigerator door switches from a closed state to an open state, it indicates that the user may put food into the refrigerator 100 or may take food out of the refrigerator 100 at this time, and then the refrigerator 100 can respond by starting the camera to shoot the food entering and leaving the refrigerator 100.

[0080] It should be noted that the above-mentioned refrigerator door sensor can be a touch switch, an infrared sensing device, or other devices. The embodiment of the present application does not specifically limit the structural type of the refrigerator door sensor. For example, when a touch switch is used as a refrigerator door sensor, if the touch switch is closed, it indicates that the refrigerator door sensor is in a closed state, and if the touch switch is disconnected, it indicates that the refrigerator door sensor is in an open state. When an infrared sensing device is used as a refrigerator door sensor, the embodiment of the present application can sense the opening distance of the refrigerator door through the infrared sensing device. If the opening distance is less than the preset distance, it indicates that the refrigerator door sensor is in a closed state. If the opening distance is greater than the preset distance, it indicates that the refrigerator door sensor is in an open state.

[0081] Those skilled in the art will appreciate that the structure described above does not constitute a limitation on the refrigerator 100 and the server 200, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0082] Based on the hardware structure of the above-mentioned refrigerator and server, various embodiments of the image recognition method of refrigerator items on the refrigerator side of the present application are proposed below.

[0083] like Figure 3 As shown, Figure 3 1 is a flowchart of a method for image recognition of refrigerator items provided by an embodiment of the present application. The method for image recognition of refrigerator items can be applied to a refrigerator or server of any of the above embodiments, the refrigerator is provided with multiple cameras, and the method for image recognition of refrigerator items includes but is not limited to step S310, step S320, step S330 and step S340.

[0084] Step S310: Acquire image information captured by at least one camera;

[0085] Step S320, determining feature information of the object to be identified according to the image information;

[0086] Step S330: determining a target camera from multiple cameras according to the feature information, and obtaining an object image captured by the target camera on the object to be identified;

[0087] Step S340: Identify the object to be identified based on the object image.

[0088] In one embodiment, first, the embodiment of the present application can start some cameras to shoot to obtain image information including the object to be identified; then, the embodiment of the present application extracts features from the image information to obtain feature information of the object to be identified; then, the embodiment of the present application screens multiple cameras according to the feature information to obtain a target camera that can capture the object to be identified or can capture the object to be identified more clearly; finally, the embodiment of the present application will only obtain the object image captured by the target camera of the object to be identified, and will only identify the object to be identified based on the object image captured by the target camera.

[0089] It is worth noting that the embodiment of the present application can screen out a target camera with a suitable shooting angle from multiple cameras according to the feature information of the object to be identified, and only needs to perform image transmission and image recognition processing on the image captured by the target camera, without starting all cameras and analyzing the images captured by all cameras. Therefore, the embodiment of the present application can greatly reduce the complexity of the system's data processing, thereby greatly improving the system's processing speed.

[0090] It should be noted that, regarding the at least one camera in the above step S310, the number can be one, two, or more. The embodiment of the present application does not specifically limit the number of cameras mentioned in the above step S310.

[0091] In addition, it should be noted that in order to capture the entire area of ​​the refrigerator to identify the specific location of the items taken or placed by the user, the combined shooting range of the cameras mentioned in step S310 needs to include the entire area of ​​the refrigerator, for example. Figure 1 As shown, since the combined shooting range of the first camera and the second camera can include the entire area of ​​the refrigerator, it is necessary to obtain the image information captured by the first camera and the second camera at this time; or, in the embodiment of the present application, Figure 1 A third camera is added to the refrigerator shown, and the third camera can capture the entire area of ​​the refrigerator. In this regard, the embodiment of the present application only needs to start the third camera, and there is no need to start the first camera and the second camera.

[0092] In addition, it should be noted that, regarding the above-mentioned target cameras, the number can be one, two, or more, and the embodiment of the present application does not specifically limit the number of the above-mentioned target cameras.

[0093] In addition, it should be noted that the above-mentioned characteristic information may be the location information of the object to be identified, the way the object to be identified is held by the hand, or other types of information. The embodiment of the present application does not specifically limit the type of the above-mentioned characteristic information.

[0094] In addition, if Figure 4 As shown, Figure 4 Flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application. In the case where the refrigerator is provided with multiple areas, the above step S330 of determining a target camera from multiple cameras according to feature information includes but is not limited to step S410 and step S420.

[0095] Step S410, determining the target area where the object to be identified is located according to the location information of the object to be identified;

[0096] Step S420: Filter out a target camera whose shooting area includes the target area from the multiple cameras.

[0097] In one embodiment, the embodiment of the present application can obtain the target area where the object to be identified is currently located based on the location information of the object to be identified, and then screen multiple cameras to obtain a target camera that can capture the target area.

[0098] For example, Figure 1As shown, if the object to be identified is located in the right door area, then only the first camera needs to be used as the target camera; if the object to be identified is located in the left door area, then only the second camera needs to be used as the target camera; if the object to be identified is located in the box body area, then the first camera can be used as the target camera, the second camera can be used as the target camera, or both the first camera and the second camera can be used as the target camera.

[0099] It is worth noting that the embodiment of the present application can filter out a target camera that can capture the object to be identified from multiple cameras according to the location information of the object to be identified, and can achieve regional control. Subsequently, only the image captured by the target camera needs to be transmitted and image recognition processing is required, without the need to start all cameras and without the need to analyze the images captured by all cameras. Therefore, the embodiment of the present application can greatly reduce the complexity of the system's data processing, thereby greatly improving the system's processing speed.

[0100] In addition, if Figure 5 As shown, Figure 5 Flow chart of the image recognition method for refrigerator items provided by another embodiment of the present application. When there are multiple target cameras and the target area is a common shooting area of ​​multiple target cameras, after selecting the target camera whose shooting area includes the target area from the multiple cameras in the above step S420, the image recognition method of the embodiment of the present application further includes but is not limited to step S510, step S520 and step S530.

[0101] Step S510, obtaining a public area image obtained by photographing the public shooting area by at least one target camera;

[0102] Step S520: performing image recognition on the public area image to determine the holding mode of the object to be identified;

[0103] Step S530: determining a target number of target cameras according to the holding method.

[0104] In one embodiment, if there are multiple target cameras to be screened, it means that there will be overlapping common shooting areas between the shooting areas of these target cameras, and the object to be identified is located in the common shooting area. In this regard, in order to be able to screen out target cameras with suitable angles and clear shooting from multiple target cameras, the embodiment of the present application can perform image analysis on the common area image of at least one target camera to obtain the holding method of the object to be identified by the hand, and then determine the target camera with the least hand occlusion based on the holding method.

[0105] For example, Figure 1As shown, if the object to be identified is located in the box area, and the first camera and the second camera are used as target cameras at the same time, the embodiment of the present application can analyze the box area image obtained by the first camera or the second camera shooting the box area, and then analyze the box area image to obtain the holding method of the object to be identified by the hand, and finally select the first camera or the second camera as the final target camera according to the holding method.

[0106] It is worth noting that the embodiments of the present application can filter out target cameras with a small degree of hand occlusion based on the way the user holds the object to be identified in the public area, so that the object image captured by the target camera can display the object to be identified in the public area in a larger range, thereby improving the accuracy of image recognition.

[0107] It should be noted that the above-mentioned holding method can be a right-hand holding method or a left-hand holding method.

[0108] In addition, it should be noted that the above-mentioned target number can be one or more.

[0109] In addition, if Figure 6 As shown, Figure 6 2 is a flowchart of an image recognition method for refrigerator items provided by another embodiment of the present application. In the case where the shooting areas of multiple cameras include overlapping common shooting areas, if the object to be identified is located in the common shooting area, then the step S330 of determining the target camera from the multiple cameras according to the feature information includes but is not limited to step S610 and step S620.

[0110] Step S610: determining that the characteristic information of the object to be identified is the holding manner of the object to be identified by the hand;

[0111] Step S620: Determine the target number of target cameras according to the holding method.

[0112] In one embodiment, when the object to be identified is located in a public shooting area, the embodiment of the present application can screen multiple cameras according to the way the object to be identified is held by the hand, and screen out target cameras with suitable angles, clear shooting, and low occlusion.

[0113] For example, Figure 1As shown, if the shooting areas of the first camera and the second camera only include the box area, then if the user takes or places food from the box area, the embodiment of the present application can obtain the box area image information obtained by the first camera or the second camera shooting the box area, and then analyze the box area image information to obtain the holding method of the hand holding the object to be identified, and then select the first camera or the second camera as the target camera according to the holding method; finally, the object to be identified is identified according to the object image of the target camera.

[0114] It is worth noting that the embodiments of the present application can filter out target cameras with a small degree of hand occlusion based on the way the user holds the object to be identified in the public area, so that the object image captured by the target camera can display the object to be identified in the public area in a larger range, thereby improving the accuracy of image recognition.

[0115] It should be noted that, in the case where the multiple cameras include the first camera and the second camera, the target cameras for determining the target number according to the holding method in the above steps S530 and S620 may include but are not limited to: Figures 7 to 9 There are three implementation scenarios, as follows:

[0116] like Figure 7 As shown, Figure 7 The flowchart of the method for image recognition of refrigerator items provided by another embodiment of the present application is as follows. The target camera for determining the number of targets according to the holding method in the above steps S530 and S620 includes but is not limited to steps S710 and S720.

[0117] Step S710: when the holding mode is right-hand holding mode;

[0118] Step S720: Use the first camera as the target camera.

[0119] like Figure 8 As shown, Figure 8 The flowchart of the method for image recognition of refrigerator items provided by another embodiment of the present application is as follows. The target camera for determining the number of targets according to the holding method in the above steps S530 and S620 includes but is not limited to steps S810 and S820.

[0120] Step S810: When the holding mode is left-hand holding mode;

[0121] Step S820: Use the second camera as the target camera.

[0122] like Fig. 9 As shown, Fig. 9The flowchart of the method for image recognition of refrigerator items provided by another embodiment of the present application is as follows. The target camera for determining the number of targets according to the holding method in the above steps S530 and S620 includes but is not limited to steps S910 and S920.

[0123] Step S910: when it is impossible to determine the holding mode of the object to be identified;

[0124] Step S920: Use the first camera as the target camera.

[0125] In one embodiment, if the holding method is the right-hand holding method, the image of the object captured by the first camera will be clearer. In this regard, the embodiment of the present application will use the first camera as the target camera; if the holding method is the left-hand holding method, the image of the object captured by the second camera will be clearer. In this regard, the embodiment of the present application will use the second camera as the target camera; in the case where the holding method of the hand holding the object to be identified cannot be determined, since there are more people who use their right hand in daily life, the embodiment of the present application will use the first camera as the target camera.

[0126] It is worth noting that the embodiments of the present application can filter out target cameras with a small degree of hand occlusion based on the way the user holds the object to be identified in the public area, so that the object image captured by the target camera can display the object to be identified in the public area in a larger range, thereby improving the accuracy of image recognition.

[0127] In addition, if Fig.10 As shown, Fig.10 1 is a flowchart of an image recognition method for refrigerator items provided by another embodiment of the present application. The shooting area of ​​the first camera includes a public shooting area and a first shooting area; when the object to be identified is located in the first shooting area, the above step S330 includes but is not limited to step S1010, step S1020, step S1030 and step S1040.

[0128] Step S1010, determining a target area where the object to be identified is located according to the location information of the object to be identified;

[0129] Step S1020: when the target area is the first shooting area, use the first camera as the target camera;

[0130] Step S1030: photographing a first photographing area through a first camera;

[0131] Step S1040: Obtain an object image of the object to be identified.

[0132] In one embodiment, when a user places an object such as food into the first shooting area or takes an object out of the first shooting area, since only the first camera can capture the first shooting area, the embodiment of the present application obtains the object image captured by the first camera in the first shooting area, and obtains the recognition result based on the object image analysis.

[0133] In addition, if Fig.11 As shown, Fig.11 is a flow chart of an image recognition method for refrigerator items provided by another embodiment of the present application. The shooting area of ​​the second camera includes a common shooting area and a second shooting area, and there is no overlapping area between the first shooting area and the second shooting area; when the object to be identified is located in the second shooting area, the above step S330 includes but is not limited to steps S1110, S1120, S1130 and S1140.

[0134] Step S1110, determining the target area where the object to be identified is located according to the location information of the object to be identified;

[0135] Step S1120: when the target area is the second shooting area, use the second camera as the target camera;

[0136] Step S1130, photographing the second photographing area through the second camera;

[0137] Step S1140: Obtain an object image of the object to be identified.

[0138] In one embodiment, when a user places an item such as food into the second shooting area or takes an item out of the second shooting area, since only the second camera can capture the second shooting area, the embodiment of the present application obtains the image of the item captured by the second camera in the second shooting area, and obtains the recognition result based on the analysis of the image of the item.

[0139] It should be noted that when the refrigerator item image recognition method of the above embodiment is applied to the refrigerator side, the identification of the item to be identified according to the item image in the above step S340 may include but is not limited to: Fig.12 or Fig.13 There are two implementation scenarios, as follows:

[0140] like Fig.12 As shown, Fig.12 This is a flow chart of a refrigerator item image recognition method provided by another embodiment of the present application. Regarding the identification of the item to be identified according to the item image in the above step S340, it includes but is not limited to step S1210 and step S1220.

[0141] Step S1210, performing image recognition on the object image locally;

[0142] Step S1220: Obtain the recognition result of the object to be recognized.

[0143] like Fig.13 As shown, Fig.13 This is a flow chart of a method for image recognition of refrigerator items provided by another embodiment of the present application. Regarding the identification of the item to be identified according to the item image in the above step S340, it includes but is not limited to step S1310 and step S1320.

[0144] Step S1310, sending the object image to the server;

[0145] Step S1320, enabling the server to perform image recognition on the object image to obtain a recognition result of the object to be recognized.

[0146] In one embodiment, after the refrigerator obtains the object image taken by the target camera of the object to be identified, the object image can be analyzed locally to obtain the identification result of the object to be identified, or the object image can be sent to the server, and the server analyzes the object image to obtain the identification result of the object to be identified.

[0147] In addition, if Fig.14 As shown, Fig.14 14 is a flowchart of an image recognition method for refrigerator items provided by another embodiment of the present application. The image recognition method can be applied to a server, and the server communicates with the refrigerator; the image recognition method includes but is not limited to step S1410 and step S1420.

[0148] Step S1410, receiving an image of an object to be identified that is captured by a target camera and sent by the refrigerator, wherein the target camera determines feature information of the object to be identified based on image information captured by at least one camera of the refrigerator, and then determines it from multiple cameras based on the feature information;

[0149] Step S1420: Identify the object to be identified based on the object image.

[0150] In one embodiment, first, the refrigerator can start some cameras to shoot to obtain image information including the object to be identified; then, the refrigerator extracts features from the image information to obtain feature information of the object to be identified; then, the refrigerator screens multiple cameras according to the feature information to obtain a target camera that can capture the object to be identified or can capture the object to be identified more clearly; finally, the refrigerator only obtains the object image captured by the target camera of the object to be identified, and sends the object image to the server, which analyzes the object image to obtain the identification result of the object to be identified.

[0151] It is worth noting that the embodiment of the present application can screen out a target camera with a suitable shooting angle from multiple cameras according to the feature information of the object to be identified, and only needs to perform image transmission and image recognition processing on the image captured by the target camera, without starting all cameras and analyzing the images captured by all cameras. Therefore, the embodiment of the present application can greatly reduce the complexity of the system's data processing, thereby greatly improving the system's processing speed.

[0152] It should be noted that, since there are few types of holding methods, the amount of data for the application program for determining holding methods is small, so the embodiment of the present application can store the application program for determining holding methods locally in the refrigerator, and the refrigerator body determines the holding methods of the identified items; in addition, since there are many types of food materials, the amount of data for the application program for determining food materials is extremely large, and it also needs to be updated irregularly, so the embodiment of the present application can store the application program for food material identification in the server, and the server identifies the food materials. Since the refrigerator only needs to select one of the cameras for image acquisition and transmission, it can not only reduce the pressure of data processing, but also improve the accuracy of food material identification.

[0153] Based on the image recognition methods for refrigerator items in the above-mentioned embodiments, specific embodiments of the image recognition methods for refrigerator items of the present application are respectively proposed below.

[0154] like Fig.15 As shown, Fig.15 This is an overall flow chart of an image recognition method for refrigerator items provided by an embodiment of the present application, including but not limited to the following steps S1510 to S1580.

[0155] Step S1510, open the refrigerator door.

[0156] Step S1520: Start the first camera and the second camera to identify the area where the food and the hands are located.

[0157] Step S1530: When the hands and the food are located in the first shooting area, the first camera is started to capture images.

[0158] Step S1540: When the hands and the food are located in the second shooting area, the second camera is started to capture images.

[0159] Step S1550: When the hand and the food are located in a common shooting area, determine the hand holding method.

[0160] Step S1560: When the holding method is to take or place food with the right hand, the first camera is enabled to capture images.

[0161] Step S1570: When the holding method is to take or place food with the left hand, the second camera is enabled to capture images.

[0162] Step S1580: When the holding method cannot be identified due to occlusion, the first camera is used by default to capture images.

[0163] Among them, regarding the first shooting area mentioned above, it can be as follows Figure 1 As for the second shooting area mentioned above, it can be as follows Figure 1 As for the public shooting area mentioned above, Figure 1 The box area shown.

[0164] Based on the image recognition methods for refrigerator items in the above-mentioned embodiments, various embodiments of the controller, refrigerator, server and computer-readable storage medium of the present application are respectively proposed below.

[0165] like Fig.16 As shown, Fig.16 1 is a schematic diagram of a controller for executing an image recognition method for refrigerator items provided by an embodiment of the present application. The controller 160 implemented in the present application includes: a processor 161, a memory 162, and a computer program stored in the memory 162 and executable on the processor 161, wherein: Fig.16 In the figure, a processor 161 and a memory 162 are taken as an example.

[0166] The processor 161 and the memory 162 may be connected via a bus or other means. Fig.16 The example of connecting through bus is taken in the following.

[0167] The memory 162 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 162 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 162 may optionally include a memory 162 remotely disposed relative to the processor 161, and these remote memories 162 may be connected to the controller 160 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0168] Those skilled in the art will understand that Fig.16 The device structure shown in the figure does not constitute a limitation on the controller 160, and the controller 160 may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0169] exist Fig.16 In the controller 160 shown, the processor 161 can be used to call the image recognition program of the refrigerator item stored in the memory 162, so as to implement the above-mentioned image recognition method of the refrigerator item. Specifically, the non-transient software program and instructions required to implement the image recognition method of the refrigerator item of the above-mentioned embodiment are stored in the memory 162, and when executed by the processor 161, the image recognition method of the refrigerator item of the above-mentioned embodiment is executed.

[0170] It is worth noting that since the controller 160 of the embodiment of the present application can execute the image recognition method of refrigerator items in any of the above-mentioned embodiments, the specific implementation methods and technical effects of the controller 160 of the embodiment of the present application can refer to the specific implementation methods and technical effects of the image recognition method of refrigerator items in any of the above-mentioned embodiments.

[0171] In addition, an embodiment of the present application further provides a refrigerator, comprising a controller of the above embodiment, wherein the controller executes the image recognition method of refrigerator items of any of the above embodiments when running a computer program.

[0172] According to the technical solution of the refrigerator of the embodiment of the present application, the embodiment of the present application can select a target camera with a suitable shooting angle from multiple cameras according to the characteristic information of the object to be identified, and only needs to perform image transmission and image recognition processing on the image captured by the target camera, without starting all cameras and analyzing the images captured by all cameras. Therefore, the embodiment of the present application can greatly reduce the complexity of data processing of the system, thereby greatly improving the processing speed of the system. In addition, for the selection of the target camera, the embodiment of the present application can select a target camera with a small degree of hand occlusion according to the way the user holds the object to be identified in the public area, so that the object image captured by the target camera can display the object to be identified in the public area in a larger range, thereby improving the accuracy of image recognition.

[0173] It is worth noting that since the refrigerator of the embodiment of the present application includes the controller of the above-mentioned embodiment, and the controller of the above-mentioned embodiment can execute the image recognition method of refrigerator items of any of the above-mentioned embodiments, the specific implementation methods and technical effects of the refrigerator of the embodiment of the present application can refer to the specific implementation methods and technical effects of the image recognition method of refrigerator items of any of the above-mentioned embodiments.

[0174] In addition, an embodiment of the present application further provides a server, comprising a controller of the above embodiment, wherein the controller executes the image recognition method of refrigerator items of any of the above embodiments when running a computer program.

[0175] According to the technical solution of the server of the embodiment of the present application, the embodiment of the present application can select a target camera with a suitable shooting angle from multiple cameras according to the characteristic information of the object to be identified, and only needs to perform image transmission and image recognition processing on the image captured by the target camera, without starting all cameras and analyzing the images captured by all cameras. Therefore, the embodiment of the present application can greatly reduce the complexity of data processing of the system, thereby greatly improving the processing speed of the system. In addition, for the selection of the target camera, the embodiment of the present application can select a target camera with a small degree of hand occlusion according to the way the user holds the object to be identified in the public area, so that the object image captured by the target camera can display the object to be identified in the public area in a larger range, thereby improving the accuracy of image recognition.

[0176] It is worth noting that since the server of the embodiment of the present application includes the controller of the above-mentioned embodiment, and the controller of the above-mentioned embodiment can execute the image recognition method of refrigerator items of any of the above-mentioned embodiments, the specific implementation methods and technical effects of the server of the embodiment of the present application can refer to the specific implementation methods and technical effects of the image recognition method of refrigerator items of any of the above-mentioned embodiments.

[0177] In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to execute the above-mentioned refrigerator item image recognition method. Figures 3 to 15 The method steps in .

[0178] It is worth noting that since the computer-readable storage medium of the embodiment of the present application can execute the image recognition method of refrigerator items in any of the above-mentioned embodiments, the specific implementation methods and technical effects of the computer-readable storage medium of the embodiment of the present application can refer to the specific implementation methods and technical effects of the image recognition method of refrigerator items in any of the above-mentioned embodiments.

[0179] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0180] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above implementation mode. Technical personnel familiar with the field can also make various equivalent modifications or substitutions under the shared conditions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A method for image recognition of refrigerator items, characterized in that: The refrigerator is provided with a plurality of cameras; the image recognition method comprises: Acquire image information captured by at least one of the cameras; Determining feature information of the object to be identified according to the image information; Determine a target camera from the plurality of cameras according to the feature information, and obtain an object image captured by the target camera of the object to be identified; The object to be identified is identified according to the object image.

2. The image recognition method according to claim 1, characterized in that: The refrigerator is provided with a plurality of areas; and determining a target camera from the plurality of cameras according to the feature information comprises: Determine the target area where the object to be identified is located according to the location information of the object to be identified; A target camera whose shooting area includes the target area is screened out from the multiple cameras.

3. The image recognition method according to claim 2, characterized in that: When there are multiple target cameras, the target area is a common shooting area of ​​the multiple target cameras; After selecting a target camera whose shooting area includes the target area from the plurality of cameras, the image recognition method further includes: Acquire a public area image captured by at least one of the target cameras on the public shooting area; Performing image recognition on the public area image to determine the holding mode of the object to be identified by the hand; A target camera of a target number is determined according to the holding manner.

4. The image recognition method according to claim 1, characterized in that: The shooting areas of the plurality of cameras include overlapping common shooting areas, and the characteristic information includes a holding manner of the object to be identified by a hand; In the case where the object to be identified is located in the public shooting area, determining a target camera from the plurality of cameras according to the feature information includes: A target camera of a target number is determined according to the holding manner.

5. The image recognition method according to claim 3 or 4, characterized in that: The plurality of cameras include a first camera, which is disposed at a left side position inside the refrigerator; The target camera for determining the number of targets according to the holding method includes: When the holding method is the right-hand holding method, the first camera is used as the target camera.

6. The image recognition method according to claim 5, characterized in that: The plurality of cameras further include a second camera, which is disposed at a right position inside the refrigerator; the target camera for determining the number of targets according to the holding method further includes: When the holding method is the left-hand holding method, the second camera is used as the target camera.

7. The image recognition method according to claim 6, characterized in that: The image recognition method further comprises: When the holding manner of the object to be identified by the hand cannot be determined, the first camera is used as the target camera.

8. The image recognition method according to claim 6, characterized in that: The shooting area of ​​the first camera includes the public shooting area and the first shooting area; when the object to be identified is located in the first shooting area, obtaining the object image obtained by the target camera shooting the object to be identified includes: The first shooting area is photographed by the first camera to obtain an object image of the object to be identified.

9. The image recognition method according to claim 8, characterized in that: The shooting area of ​​the second camera includes the common shooting area and the second shooting area, there is no overlapping area between the first shooting area and the second shooting area, and when the object to be identified is located in the second shooting area, the acquiring the object image obtained by the target camera shooting the object to be identified further includes: The second shooting area is photographed by the second camera to obtain an object image of the object to be identified.

10. The image recognition method according to any one of claims 1 to 4, characterized in that: The image recognition method is applied to a refrigerator; the identifying the object to be identified according to the object image includes one of the following: By locally performing image recognition on the object image, a recognition result of the object to be recognized is obtained. The object image is sent to a server so that the server performs image recognition on the object image to obtain a recognition result of the object to be recognized.

11. A method for image recognition of refrigerator items, characterized in that: Applied to a server, the server communicates with a refrigerator, and the refrigerator is provided with a plurality of cameras; the image recognition method comprises: receiving an image of an object to be identified that is captured by a target camera and sent by the refrigerator, wherein the target camera determines feature information of the object to be identified from the plurality of cameras based on the feature information after determining feature information of the object to be identified based on image information captured by at least one camera of the refrigerator; The object to be identified is identified according to the object image.

12. A refrigerator, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the image recognition method according to any one of claims 1 to 10 when executing the computer program.

13. The refrigerator according to claim 12, characterized in that: The refrigerator is provided with a cabinet and a plurality of cameras, wherein the plurality of cameras are connected to the processor and installed on the top of the cabinet, and the shooting areas of the plurality of cameras include the cabinet area.

14. The refrigerator according to claim 13, characterized in that: The refrigerator is also provided with a left door and a right door installed on the body, and the multiple cameras include a first camera and a second camera; the first camera is installed on a side of the body close to the left door, and the shooting area of ​​the first camera also includes the right door area; the second camera is installed on a side of the body close to the right door, and the shooting area of ​​the second camera also includes the left door area.

15. The refrigerator according to any one of claims 12 to 14, characterized in that: The refrigerator is also provided with a communication module, which is connected to the processor and is also used to connect to a server.

16. A server, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the image recognition method according to any one of claims 1 to 9 or the image recognition method according to claim 11 when executing the computer program.

17. A computer-readable storage medium, characterized in that: Computer-executable instructions are stored, and the computer-executable instructions are used to execute the image recognition method according to any one of claims 1 to 10 or the image recognition method according to claim 11.