Shooting control method and device for inner container area and refrigerator
By adjusting the installation angle of the camera bracket and based on the correspondence between the door opening angle and the horizontal direction of the camera, the problem of limited camera shooting range was solved, and the integrity and reliable identification of food images in the inner liner area were achieved.
Patent Information
- Application Number
- CN202410659034.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2025-11-25
AI Technical Summary
Existing refrigerator cameras have a limited field of view when the refrigerator door rotates, resulting in incomplete images of food that cannot be reliably identified.
By adjusting the installation angle of the camera bracket, and based on the correspondence between the door opening angle and the horizontal direction of the camera, the camera's shooting area is ensured to cover the inner liner area, thus achieving complete images of the food.
It enables flexible adjustment of the camera as the door opening angle changes, ensuring reliable recognition and complete capture of food images in the inner liner area.
Smart Images

Figure CN121007428A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of refrigeration equipment, for example, to a shooting control method and device for an inner container area and a refrigerator. BACKGROUND
[0002] At present, with the rapid development of science and technology, the refrigerator with the functions of refrigeration, freezing and food management is widely used in the field of intelligent household appliances. In order to better realize food management, the refrigerator is provided with a camera at the top of the refrigeration chamber to identify the food storage condition in the refrigeration chamber. However, the drawers in the refrigeration chamber are arranged from top to bottom, and in the process of use, there is a situation that multiple drawers are pulled out at the same time. At this time, the camera installed at the top of the refrigeration chamber can only shoot the food image of the uppermost drawer pulled out, and cannot shoot the food images of other pulled-out drawers, so the shooting range is limited, which is not conducive to food management.
[0003] In order to expand the shooting range of food in the refrigeration chamber of the refrigerator, the related technology discloses a kind of intelligent refrigerator, comprising: refrigeration chamber, layer frame is arranged in refrigeration chamber, layer frame is divided into multiple storage spaces in refrigeration chamber, temperature sensor is arranged in each storage space;Camera, set on the door body of refrigeration chamber, for shooting the food in refrigeration chamber;Refrigeration air duct, refrigeration air duct is connected with multiple storage spaces by multiple groups of air outlets arranged on air duct front cover plate, and cold air in each storage space corresponds to a group of air outlets and enters refrigeration air duct after evaporator and fan;Air door assembly, for opening or closing one or more groups of multiple air outlets;Control unit, respectively connected with camera and air door assembly, control unit can determine the set temperature of each storage space according to the image information shot by camera, and control the opening and closing of one or more groups of air outlets of air door assembly according to the comparison between real-time temperature value detected by temperature sensor and set temperature value. When the refrigeration door body is rotated to the plane where the refrigeration chamber opening is located, the set angle is between 0 and 90 degrees.
[0004] In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related technology:
[0005] When the refrigeration door body is rotated, the set angle is configured to be between 0 and 90 degrees, and the shooting range of the camera is relatively fixed. Therefore, when the refrigeration door body is rotated, the related technology adopts a wide range of set angles, and the shooting range of the camera is limited, so there is a situation that the image shot by the camera is incomplete, which is not conducive to reliable identification of the food image in the inner container area.
[0006] It should be noted that the information disclosed in the above background section is only used to strengthen the understanding of the background of the present application, and therefore can include information that does not constitute prior art known to those skilled in the art. SUMMARY
[0007] The following presents a simplified summary of some aspects of the disclosed embodiments in order to provide a basic understanding of such embodiments. This summary is not an extensive overview of the embodiments described in detail in the following detailed description, and is intended neither to identify key / critical elements nor to delineate the scope of the embodiments. Rather, the primary purpose of this summary is merely to present some concepts of the embodiments in a simplified form as a prelude to the more detailed description presented later.
[0008] The embodiments of the present disclosure provide a shooting control method and device for liner area and a refrigerator, so that the shooting area of the camera covers the food image in the liner area as much as possible, guarantees the integrity of the photographed image, and realizes reliable identification of the food image in the liner area.
[0009] In some embodiments, the refrigerator comprises: a cabinet; a door body rotatably arranged on the front side of the cabinet through a door body rotating shaft, an end of the door body away from the door body rotating shaft being provided with a support rotating shaft; a camera support rotatably arranged on the door body through the support rotating shaft; and a camera arranged on the camera support. The method comprises: obtaining an opening angle of the door body in a case where the door body is opened; determining a target installation angle range of the camera along the horizontal direction under the opening angle according to a corresponding relationship between the opening angle and the installation angle of the camera along the horizontal direction; and controlling the camera to adjust the installation angle along the horizontal direction within the target installation angle range.
[0010] In some embodiments, the refrigerator further comprises an electric control configured to adjust the rotation of the camera support through the support rotating shaft, and to control the camera to adjust the installation angle along the horizontal direction within the target installation angle range, which comprises: determining the in-place state of the camera support according to the received pressing signal; and in a case where the in-place state is popped out, controlling the electric control to adjust the rotation of the camera support to adjust the installation angle of the camera along the horizontal direction within the target installation angle range; wherein the in-place state comprises popped out.
[0011] Optionally, the refrigerator further comprises a main control configured to be electrically connected with the electric control, and configured to determine the in-place state of the camera support according to the received pressing signal, and to control the electric control to adjust the rotation of the camera support to adjust the installation angle of the camera along the horizontal direction within the target installation angle range in a case where the in-place state is popped out.
[0012] Optionally, the cabinet is further provided with a mechanical switch configured to be electrically connected with the main control, and configured to send the pressing signal of the user to the main control after receiving the pressing signal.
[0013] Optionally, the control of the electric control to adjust the rotation of the camera support to adjust the installation angle of the camera along the horizontal direction within the target installation angle range comprises: controlling the electric control to adjust the rotation of the camera support, and adjusting the installation angle to any angle within the installation angle range.
[0014] In some embodiments, the correspondence between the door opening angle and the installation inclination angle of the camera along the horizontal direction comprises: obtaining the door opening angle and the minimum viewing angle associated with the door opening angle and the maximum viewing angle associated with the door opening angle; wherein the minimum viewing angle represents the lower limit threshold of the viewing angle of the camera along the horizontal direction, and the maximum viewing angle represents the upper limit threshold of the viewing angle of the camera along the horizontal direction; and obtaining the correspondence between the door opening angle and the installation inclination angle of the camera along the horizontal direction according to the correspondence between the installation inclination angle and the minimum viewing angle and the maximum viewing angle.
[0015] In some embodiments, the correspondence between the installation inclination angle and the minimum viewing angle and the maximum viewing angle comprises:
[0016] 0.5*(HFOV+HFOV min )≤β≤1.5*HFOV-0.5*HFOV min ;
[0017] HFOV min ≤HFOV≤HFOV max ;
[0018] wherein HFOV min = F1(α,β pre ), HFOV max = F2(α,β pre );
[0019] F1(·) and F2(·) represent the functional relationship between the door opening angle and the minimum viewing angle and the functional relationship between the door opening angle and the maximum viewing angle, respectively; α and β pre represent the door opening angle and the real-time installation inclination angle, respectively, β represents the installation inclination angle, HFOV represents the real-time viewing angle of the camera along the horizontal direction, HFOV min and HFOV max represent the minimum viewing angle and the maximum viewing angle of the camera along the horizontal direction.
[0020] In some embodiments, the function relationship between the door opening angle and the minimum view angle and the function relationship between the door opening angle and the maximum view angle are obtained in the following manner: determining a to-be-identified region and a maximum identification region corresponding to the to-be-identified region, and a lens position of a camera lens center, wherein the lens position is determined by the door opening angle and a real-time installation inclination angle; determining a center point of a first side of the to-be-identified region and a center point of a second side of the to-be-identified region as a first reference position and a second reference position respectively, wherein the first side represents a side farthest from the door body rotation axis along a horizontal direction associated direction, and the second side represents a side closest to the door body rotation axis along the horizontal direction associated direction; determining a center point of a third side of the maximum identification region and a center point of a fourth side of the maximum identification region as a third reference position and a fourth reference position respectively, wherein the third side represents a side farthest from the door body rotation axis along the horizontal direction associated direction, and the fourth side represents a side closest to the door body rotation axis along the horizontal direction associated direction; determining a minimum view angle of the camera along the horizontal direction according to the lens position and the first reference position and the second reference position, to obtain the function relationship between the door opening angle and the minimum view angle; and determining a maximum view angle of the camera along the horizontal direction according to the lens position and the third reference position and the fourth reference position, to obtain the function relationship between the door opening angle and the maximum view angle.
[0021] In some embodiments, the lens position of the camera lens center is determined in the following manner: obtaining a real-time installation inclination angle β of a door camera support and a door body; obtaining a distance x between the camera lens center and the door body rotation axis and a distance y between the support rotation axis and the camera lens center; and determining lens coordinates A of the lens position of the camera lens center according to (xcos α + ycosp(β-180°+α), xsin α + ysin(p-180°+α), 0).
[0022] In some embodiments, the minimum view angle of the camera along the horizontal direction is determined according to the lens position and the first reference position and the second reference position, including: determining a first view angle boundary line according to the lens position and the first reference position; determining a second view angle boundary line according to the lens position and the second reference position; and determining an included angle between the first view angle boundary line and the second view angle boundary line as the minimum view angle of the camera along the horizontal direction; and the maximum view angle of the camera along the horizontal direction is determined according to the lens position and the third reference position and the fourth reference position, including: determining a third view angle boundary line according to the lens position and the third reference position; determining a fourth view angle boundary line according to the lens position and the fourth reference position; and determining an included angle between the third view angle boundary line and the fourth view angle boundary line as the maximum view angle of the camera along the horizontal direction.
[0023] In some embodiments, the included angle between the first view angle boundary line and the second view angle boundary line is determined as the minimum view angle of the camera along the horizontal direction, including: calculating Wherein, A, B and C represent lens coordinates of lens position, first coordinates of first reference position and second coordinates of second reference position respectively; determining the included angle between the third visual angle boundary line and the fourth visual angle boundary line as the maximum visual angle of the camera along the horizontal direction, comprising: Wherein, B' and C' represent third coordinates of third reference position and fourth coordinates of fourth reference position respectively.
[0024] Optionally, determining the center points of the first side and the second side of the to-be-identified region as the first reference position and the second reference position respectively, comprising: taking the intersection point of the door body rotation axis and the set straight line as the origin, the box width direction of the to-be-identified region as the X axis, the box thickness direction away from the box as the Y axis, and the gravity direction as the Z axis, constructing a three-dimensional coordinate system; the set straight line represents a straight line passing through the center points of the first side and the second side; obtaining the box width W box and the maximum width W ROI of the to-be-identified region along the X axis; obtaining the box thickness D box and the maximum thickness D ROI of the to-be-identified region along the Y axis; determining the first coordinates B of the first reference position according to (0.5W box +0.5W ROI , 0, D box -0.5D ROI ), and determining the second coordinates C of the second reference position according to (0.5W box -0.5W ROI , 0, D box -0.5D ROI ).
[0025] In some embodiments, the device comprises a processor and a memory storing program instructions, and the processor is configured to execute the program instructions to perform the photographing control method for the liner region as described above.
[0026] In some embodiments, the refrigerator comprises: a box body; a door body rotatably arranged on the front side of the box body through a door body rotation axis, one end of the door body away from the door body rotation axis being provided with a support rotation axis; a camera support rotatably arranged on the door body through the support rotation axis; a camera arranged on the camera support; and a photographing control device for the liner region as described above mounted on the door body.
[0027] The photographing control method, device and refrigerator for the liner region provided by the embodiments of the present disclosure can achieve the following technical effects:
[0028] The embodiment of the present disclosure obtains the door opening angle of the door body when the door body is opened, determines a target installation inclination range of the camera along the horizontal direction at the door opening angle according to the corresponding relationship between the door opening angle and the installation inclination of the camera along the horizontal direction, and adjusts the installation inclination along the horizontal direction in the target installation inclination range, so that the camera can make small-range angle adjustment on the horizontal installation inclination according to the real-time change of the door opening angle of the door body, so that the camera can cover the food material image in the inner container area as much as possible, ensure the integrity of the captured image, and realize reliable identification of the food material image in the inner container area.
[0029] The foregoing general description and the following description are only exemplary and explanatory, and are not intended to limit the present application. BRIEF DESCRIPTION OF DRAWINGS
[0030] One or more embodiments are exemplarily illustrated by corresponding drawings, which do not constitute limitation on the embodiments, elements with the same reference numerals in the drawings are shown as similar elements, the drawings do not constitute proportional limitation, and wherein:
[0031] Figure 1 is a top view of a refrigerator body and a door body provided by an embodiment of the present disclosure;
[0032] Figure 2 is a front view of a refrigerator body provided by an embodiment of the present disclosure;
[0033] Figure 3 is a region schematic view of a to-be-identified region and a maximum identification region provided by an embodiment of the present disclosure;
[0034] Figure 4 is a top view of a camera horizontal direction view provided by an embodiment of the present disclosure;
[0035] Figure 5 is a schematic view of a photographing control device for an inner container region provided by an embodiment of the present disclosure;
[0036] Figure 6 is a schematic view of another photographing control device for an inner container region provided by an embodiment of the present disclosure;
[0037] Figure 7 is a schematic view of another photographing control device for an inner container region provided by an embodiment of the present disclosure;
[0038] Figure 8 is a schematic view of a photographing control device for an inner container region provided by an embodiment of the present disclosure.
[0039] LIST OF REFERENCE NUMERALS
[0040] 10: body; 20: door body; 30: camera support;
[0041] 101: inner container; 201: camera;
[0042] 20a: door body rotating shaft; 20b: support rotating shaft;
[0043] 70: device for determining the camera view angle of the inner container area;
[0044] 700: processor; 701: memory;
[0045] 702: communication interface; 703: bus. DETAILED DESCRIPTION
[0046] In order to enable a more detailed understanding of the features and technical content of the embodiments of the present disclosure, the implementation of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings, which are only used for reference and do not limit the embodiments of the present disclosure. In the following technical description, in order to facilitate explanation, a plurality of details are provided to provide a full understanding of the disclosed embodiments. However, one or more embodiments can still be implemented without these details. In other cases, in order to simplify the drawings, well-known structures and devices can be simplified.
[0047] The terms "first", "second", and the like in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion.
[0048] Unless otherwise specified, the term "a plurality of" means two or more.
[0049] In the embodiments of the present disclosure, the character " / " represents an "or" relationship between the preceding and following objects. For example, A / B represents: A or B.
[0050] The term "and / or" is a description of the association relationship between objects, which means that there can be three relationships. For example, A and / or B means: A or B, or, A and B, the three relationships.
[0051] The term "corresponding" can refer to an association relationship or a binding relationship, A corresponding to B means that there is an association relationship or a binding relationship between A and B.
[0052] In combination Figure 1As shown, the refrigerator provided by the embodiment of the present disclosure comprises a cabinet 10, a door body 20, a camera support 30, a camera 201, a master controller, and an electric control. The door body 20 is installed on the front side of the cabinet 10 through a door body rotating shaft 20a. An end of the door body 20 away from the door body rotating shaft 20a is provided with a support rotating shaft 20b. The camera support 30 is rotatably arranged on the door body 40 through the support rotating shaft 20b. The camera 201 is arranged on the camera support 30. The electric control adjusts the rotation of the camera support through the control of the support rotating shaft. The master controller is electrically connected with the electric control, is used for determining the in-place state of the camera support 30 according to the received pressing signal, and controls the electric control to adjust the rotation of the camera support to adjust the installation inclination angle of the camera in the horizontal direction when the in-place state is the pop-up state. The in-place state comprises the pop-up state. Optionally, the camera 201 is embedded in the camera support 30.
[0053] The cabinet 10 is provided with an inner container 101, and the inner container 101 comprises one or more shelves and a refrigeration chamber located below the one or more shelves. One or more drawers are arranged in the refrigeration chamber. The one or more drawers can be pulled to the maximum position along the thickness direction of the cabinet.
[0054] Optionally, the number of the door bodies 20 is two. The two door bodies 20 are symmetrically arranged on the front side of the cabinet 10 along the central axis of the thickness direction of the cabinet. The support rotating shaft 20b is installed on an end of any one of the door bodies 20 away from the door body rotating shaft 20a. In this way, the inner container area can be identified by the camera installed on any one of the door bodies.
[0055] Optionally, in the initial state, the camera support 30 is perpendicular to the inner wall surface of the door body 20.
[0056] Optionally, the cabinet 10 is further provided with a mechanical switch, and the mechanical switch is electrically connected with the master controller. The mechanical switch is used for sending the pressing signal of the user to the master controller after receiving the pressing signal.
[0057] Optionally, the mechanical switch is abutted with the camera support 30 in the initial state, and the mechanical switch has an elastic deformation characteristic. As an example, the mechanical switch is in a compressed state when abutting with the camera support 30, and is in an initial state after being separated from the camera support 30. In the initial state, the mechanical switch does not have elastic deformation. The mechanical switch determines that the pressing signal of the user is received after being separated from the camera support 30.
[0058] Optionally, the electric control can be a brake device with an electric control function. As an example, the electric control can be a control rudder.
[0059] In combination Figure 3As shown, the camera 201 is associated with a to-be-identified region when the camera 201 is shooting. The to-be-identified region represents a region that needs to be identified when the camera 201 is shooting. The to-be-identified region includes a liner region and a liner peripheral region, and the liner region includes a partition rack region and a refrigeration chamber region below the partition rack region. The partition rack region includes one or more partition racks, and the refrigeration chamber region includes one or more drawers. The maximum thickness of the to-be-identified region along the thickness direction of the cabinet is equal to the thickness of the liner region along the cabinet direction. It should be noted that the liner peripheral region can be a region extending outward from the liner region along the width direction of the cabinet.
[0060] The camera 201 is also associated with a maximum identification region. The maximum identification region represents an identification region obtained by enlarging the to-be-identified region along the width direction of the cabinet as a reference region, and the ratio of the area of the to-be-identified region to the area of the maximum identification region is greater than an area ratio and less than 1. The area ratio is greater than or equal to 0.7. Preferably, the area ratio is 0.7.
[0061] In one specific embodiment, in combination with Figure 1 and Figure 2 As shown, the cabinet thickness of the cabinet 10 is H box , and the cabinet width is W box . The maximum width of the to-be-identified region along the width direction of the cabinet is W ROI , the maximum thickness of the to-be-identified region along the thickness direction of the cabinet is D ROI , and the maximum thickness of the to-be-identified region along the vertical direction is H ROI .
[0062] In combination with Figure 1 As shown, the door opening angle of the door body 20 is a, the angle between the camera support 30 and the door body 20 on which the camera support 30 is arranged is the real-time installation inclination angle b, the distance between the door rotation shaft 20a and the support rotation shaft 20b is x, and the distance between the support rotation shaft 20b and the center of the camera lens is y.
[0063] In another specific embodiment, in order to ensure the region identification function of the camera, the view angle of the camera along the horizontal direction or the vertical direction should not be too large. If the view angle of the camera along the horizontal direction or the vertical direction is too large, the identification target of the to-be-identified region is small, the pixel proportion of the identification target is low, and the identification rate of the camera is reduced. Therefore, the disclosure embodiment configures a proportion coefficient k of the maximum identification region and the to-be-identified region, and calculates the maximum view angle of the camera along the horizontal direction or the vertical direction based on the proportion coefficient k, so as to ensure the identification rate of the camera.
[0064] It should be noted that the proportion coefficient k represents the maximum width W ROIa ratio of the maximum width of the maximum recognition area along the width direction of the cabinet to the maximum width of the maximum recognition area along the width direction of the cabinet, or a ratio of the maximum thickness H of the maximum recognition area along the vertical direction to the maximum thickness H of the maximum recognition area along the vertical direction ROI a ratio of the maximum thickness of the maximum recognition area along the vertical direction. The proportionality coefficient k is determined by the area proportion. As an example, when the area proportion is equal to 0.7, k is greater than or equal to 0.7 and less than 1.
[0065] Based on the structural configuration of the above refrigerator, in combination with Figure 5 As shown in the figure, the embodiment of the present disclosure provides a shooting control method for the liner area, comprising:
[0066] S01, in the case that the door body is opened, the refrigerator obtains the opening angle of the door body.
[0067] In this step, the refrigerator determines that the door body is opened in the case that the in-place state is popped out. It should be noted that in the case that the in-place state is stored, the refrigerator determines that the door body is closed.
[0068] S02, the refrigerator determines the target installation inclination range of the camera along the horizontal direction under the opening angle according to the corresponding relationship between the opening angle and the installation inclination of the camera along the horizontal direction.
[0069] In this step, the target installation inclination range is [installation inclination lower threshold, installation inclination lower threshold].
[0070] S03, the refrigerator controls the camera to adjust the installation inclination along the horizontal direction in the target installation inclination range.
[0071] By adopting the shooting control method for the liner area provided by the embodiment of the present disclosure, in the case that the door body is opened, the opening angle of the door body is obtained, and then the target installation inclination range of the camera along the horizontal direction under the opening angle is determined according to the corresponding relationship between the opening angle and the installation inclination of the camera along the horizontal direction, and the installation inclination along the horizontal direction is adjusted in the target installation inclination range, so that the camera can make small-range angle adjustment on the installation inclination along the horizontal direction according to the real-time change of the opening angle of the door body, so as to make the shooting area of the camera cover the food material image in the liner area as much as possible, ensure the integrity of the obtained image, and realize reliable recognition of the food material image in the liner area.
[0072] Optionally, the refrigerator controls the camera to adjust the installation inclination along the horizontal direction in the target installation inclination range, comprising:
[0073] The refrigerator determines the in-place state of the camera support according to the received pressing signal.
[0074] In the case that the in-situ state is the pop-out state, the refrigerator adjusts the camera support to rotate according to the target installation inclination range control knob to adjust the installation inclination of the camera in the horizontal direction. The in-situ state includes the pop-out state and the storage state.
[0075] In this way, the camera support can be detected in-situ, and in the case that the in-situ state is the pop-out state, the refrigerator adjusts the camera support to rotate according to the target installation inclination range control knob to adjust the installation inclination of the camera in the horizontal direction, so as to reliably adjust the installation inclination.
[0076] In this step, the refrigerator adjusts the camera support to rotate according to the target installation inclination range control knob to adjust the installation inclination of the camera in the horizontal direction, including: the refrigerator adjusts the camera support to rotate according to the target installation inclination range control knob, and adjusts the installation inclination to any angle within the installation inclination range. As an example, the refrigerator adjusts the camera support to rotate according to the target installation inclination range control knob to adjust the installation inclination of the camera in the horizontal direction, including: the refrigerator obtains the current installation inclination; and the refrigerator controls the camera support to rotate through the control knob, and adjusts the current installation inclination to an installation inclination within the target installation inclination range and having the smallest absolute value of the difference from the current installation inclination.
[0077] Optionally, the corresponding relationship between the door opening angle and the installation inclination of the camera in the horizontal direction includes:
[0078] The refrigerator obtains the door opening angle and the minimum view angle associated with the door opening angle and the maximum view angle associated with the door opening angle. The minimum view angle represents the lower threshold of the horizontal view angle of the camera, and the maximum view angle represents the upper threshold of the horizontal view angle of the camera.
[0079] The refrigerator obtains the corresponding relationship between the door opening angle and the installation inclination of the camera in the horizontal direction according to the corresponding relationship between the installation inclination and the minimum view angle and the maximum view angle.
[0080] In this way, since the inner tank structure of the refrigerator is relatively complex, it is difficult to directly obtain the corresponding relationship between the door opening angle and the installation inclination of the camera in the horizontal direction, and the minimum view angle associated with the installation inclination and the maximum view angle associated with the door opening angle have a corresponding relationship. Therefore, the corresponding relationship between the door opening angle and the installation inclination of the camera in the horizontal direction can be indirectly obtained through the corresponding relationship between the installation inclination and the minimum view angle and the maximum view angle.
[0081] In combination with Figure 1 As shown in the figure, in the case that the horizontal view angle of the camera is equal to the minimum horizontal view angle HFOV min , the real-time horizontal view angle HFOV of the camera is floated by ΔHFOV as the first view angle offset when the horizontal view angle of the camera changes based on the minimum horizontal view angle HFOVmin ≤HFOV≤HFOV max , wherein HFOV min , HFOV max represent the minimum horizontal field of view and the maximum horizontal field of view of the camera, and ΔHFOV = 0.5 * (HFOV - HFOV min ). Correspondingly, the installation inclination angle β of the camera along the horizontal direction is based on the real-time horizontal field of view HFOV as the reference angle, and is floating with an angle offset ΔHFOV, that is, HFOV - ΔHFOV ≤ β ≤ HFOV + ΔHFOV. After simplification, it can be obtained that 0.5 * (HFOV + HFOV min ) ≤ β ≤ 1.5 * HFOV - 0.5 * HFOV min .
[0082] Based on the above embodiment, the corresponding relationship between the installation inclination angle and the minimum horizontal field of view and the maximum horizontal field of view includes:
[0083] 0.5 * (HFOV + HFOV min ) ≤ β ≤ 1.5 * HFOV - 0.5 * HFOV min ;
[0084] HFOV min ≤ HFOV ≤ HFOV max ;
[0085] wherein HFOV min = F1 (α, β pre ), HFOV max = F2 (α, β pre );
[0086] F1 (·), F2 (·) respectively represent the functional relationship between the door opening angle and the minimum horizontal field of view and the functional relationship between the door opening angle and the maximum horizontal field of view;
[0087] α, β pre respectively represent the door opening angle and the real-time installation inclination angle, β represents the installation inclination angle, HFOV represents the real-time horizontal field of view of the camera, HFOV min , HFOV max represent the minimum horizontal field of view and the maximum horizontal field of view of the camera.
[0088] In this way, the corresponding relationship between the door opening angle and the installation inclination angle of the camera along the horizontal direction can be indirectly obtained by the corresponding relationship between the installation inclination angle and the minimum horizontal field of view and the maximum horizontal field of view in the embodiment of the disclosure.
[0089] Optionally, as shown in Figure 6 , the refrigerator obtains the functional relationship between the door opening angle and the minimum horizontal field of view and the functional relationship between the door opening angle and the maximum horizontal field of view in the following manner:
[0090] S11, the refrigerator determines a to-be-identified region, a maximum identification region corresponding to the to-be-identified region, and a lens position of a camera lens center. The lens position is determined by the door opening angle and the real-time installation inclination angle.
[0091] S12, the refrigerator determines a first side face center point and a second side face center point of the to-be-identified region as a first reference position and a second reference position respectively. The first side face represents a side face farthest from the door body rotation shaft along a horizontal direction associated direction, and the second side face represents a side face closest to the door body rotation shaft along the horizontal direction associated direction. The horizontal direction is associated with the thickness direction of the box body.
[0092] S13, the refrigerator determines a third side face center point and a fourth side face center point of the maximum identification region as a third reference position and a fourth reference position respectively. The third side face represents a side face farthest from the door body rotation shaft along a horizontal direction associated direction, and the fourth side face represents a side face closest to the door body rotation shaft along the horizontal direction associated direction.
[0093] S14, the refrigerator determines a minimum horizontal view angle of the camera according to the lens position and the first reference position and the second reference position, to obtain a functional relationship between the door opening angle and the minimum view angle.
[0094] S15, the refrigerator determines a maximum horizontal view angle of the camera according to the lens position and the third reference position and the fourth reference position, to obtain a functional relationship between the door opening angle and the maximum view angle.
[0095] After determining the to-be-identified region, the maximum identification region corresponding to the to-be-identified region, and the lens position, the embodiment of the present disclosure determines the center point of the first side of the to-be-identified region and the center point of the second side of the to-be-identified region as the first reference position and the second reference position respectively, and determines the center point of the third side of the maximum identification region and the center point of the fourth side of the maximum identification region as the third reference position and the fourth reference position respectively. Then, the embodiment of the present disclosure can determine the minimum field of view range corresponding to the minimum viewing angle and the minimum viewing angle according to the lens position and the first reference position, the second reference position to ensure that the to-be-identified region is covered as much as possible within the minimum field of view range, and can determine the maximum field of view range corresponding to the maximum viewing angle and the maximum viewing angle according to the lens position and the third reference position, the fourth reference position to ensure that the to-be-identified region is covered as much as possible within the maximum field of view range while obtaining an identification target with a suitable size and a higher pixel through the to-be-identified region. In this way, the embodiment of the present disclosure determines the minimum horizontal viewing angle and the maximum horizontal viewing angle of the camera in combination with the inner container structure, the to-be-identified region and the maximum identification region, thereby obtaining the functional relationship between the door opening angle and the minimum viewing angle and the functional relationship between the door opening angle and the maximum viewing angle, which can not only ensure that the field of view range captured by the camera basically covers the to-be-identified region to achieve full coverage of the food material image in the inner container region, ensure the integrity of the captured image to achieve reliable identification of the food material image in the inner container region, but also can ensure that an identification target with a suitable image size and a higher image pixel is obtained, which is conducive to improving the recognition rate of the food material image in the inner container region on the basis of improving the accuracy of the determination of the camera installation inclination angle.
[0096] Optionally, the refrigerator determines the lens position of the camera lens center in the following manner:
[0097] The refrigerator obtains the real-time installation inclination angle β of the door camera support and the door body.
[0098] The refrigerator obtains the distance x between the camera lens center and the door body rotation axis and the distance y between the support rotation axis and the camera lens center.
[0099] The refrigerator determines the lens coordinates A of the lens position of the camera lens center according to (xcosα+ycos(β-180°+α), xsinα+ysin(β-180°+α), 0).
[0100] In this way, after the opening angle a of the door body, the distance x between the camera lens center and the door body rotation axis, the distance y between the camera support and the camera lens center, and the real-time installation angle β of the camera support and the door body are determined, the projection of x to the X axis can be obtained through xcos a, and the projection of y to the X axis can be obtained through ycos (β-180°+a). The horizontal coordinate of the lens coordinate A can be obtained by summing the two X axis projections. At the same time, the projection of x to the Y axis can be obtained through xsin a, and the projection of y to the Y axis can be obtained through ysin (β-180°+a). The vertical coordinate of the lens coordinate A is zero. Therefore, the opening angle a of the door body, the real-time installation angle β of the camera support and the door body, and the distance x between the camera lens center and the door body rotation axis can be used to determine the lens coordinate A, so as to ensure the accuracy of the lens position calculation, so as to accurately determine the minimum view angle and the maximum view angle, and help to obtain the reliable function relationship between the opening angle and the minimum view angle and the maximum view angle.
[0101] Embodiment one: Figure 4 is a top view of a camera horizontal direction view angle provided by an embodiment of the present disclosure. Wherein A represents the lens position of the camera lens center. B1 represents the first reference position of the to-be-identified region, and C1 represents the second reference position of the to-be-identified region. The first reference position is the center point of the first side of the to-be-identified region, and the second reference position is the center point of the second side of the to-be-identified region. The first side represents the side farthest from the door body rotation axis 20a in the thickness direction of the box body, and the second side represents the side closest to the door body rotation axis 20a in the thickness direction of the box body.
[0102] B1' represents the third reference position of the maximum identification region, and C1' represents the fourth reference position of the maximum identification region. The third reference position is the center point of the third side, and the fourth reference position is the center point of the fourth side of the to-be-identified region. The third side represents the side farthest from the door body rotation axis 20a in the thickness direction of the box body, and the fourth side represents the side closest to the door body rotation axis 20a in the thickness direction of the box body.
[0103] Combined with Figure 4 It is shown that the refrigerator determines the minimum view angle of the camera along the horizontal direction according to the lens position and the first reference position and the second reference position, which includes:
[0104] The refrigerator determines the first view angle boundary line AB1 according to the lens position A and the first reference position B1.
[0105] The refrigerator determines the second view angle boundary line AC1 according to the lens position A and the second reference position C1.
[0106] The refrigerator determines an included angle of the first view angle boundary line AB1 and the second view angle boundary line AC1 as the minimum horizontal field of view HFOV of the camera min .
[0107] Optionally, the refrigerator determines the minimum horizontal field of view of the camera according to the lens position and the first reference position and the second reference position, including:
[0108] The refrigerator determines the first view angle boundary line according to the lens position and the first reference position.
[0109] The refrigerator determines the second view angle boundary line according to the lens position and the second reference position.
[0110] The refrigerator determines an included angle of the first view angle boundary line and the second view angle boundary line as the minimum horizontal field of view of the camera.
[0111] In this way, the first view angle boundary line is determined according to the lens position and the first reference position, and the second view angle boundary line is determined according to the lens position and the second reference position. The included angle formed by the first view angle boundary line and the second view angle boundary line is the minimum horizontal field of view of the camera, and the first field of view range corresponding to the minimum horizontal field of view is the minimum field of view range. In this way, the first field of view range can cover most of the to-be-identified region, which is beneficial to improving the recognition rate of the food material image in the inner container region.
[0112] Embodiment two: in combination with Figure 4 As shown in the figure, the refrigerator determines the maximum horizontal field of view of the camera according to the lens position and the third reference position and the fourth reference position, including:
[0113] The refrigerator determines the third view angle boundary line AB1' according to the lens position A and the third reference position B1'.
[0114] The refrigerator determines the fourth view angle boundary line AC1' according to the lens position A and the fourth reference position C1'.
[0115] The refrigerator determines an included angle of the third view angle boundary line AB1' and the fourth view angle boundary line AC1' as the maximum horizontal field of view HFOV of the camera max .
[0116] Optionally, the refrigerator determines the maximum horizontal field of view of the camera according to the lens position and the third reference position and the fourth reference position, including:
[0117] The refrigerator determines the third view angle boundary line according to the lens position and the third reference position.
[0118] The refrigerator determines the fourth view angle boundary line according to the lens position and the fourth reference position.
[0119] The refrigerator determines the angle between the boundary line of the third-view perspective and the boundary line of the fourth-view perspective as the maximum horizontal field of view of the camera.
[0120] Thus, in this embodiment, a third viewpoint boundary line is determined based on the lens position and a third reference position, and a fourth viewpoint boundary line is determined based on the lens position and a fourth reference position. The angle formed by the third and fourth viewpoint boundary lines is the maximum horizontal viewpoint of the camera, and the second field of view corresponding to the maximum viewpoint is the maximum field of view. In this way, the second field of view can essentially cover the area to be identified, and this embodiment can obtain a target of suitable size and high pixel count through the maximum identification area.
[0121] Optionally, the refrigerator determines the angle between the boundary line of the first viewpoint and the boundary line of the second viewpoint as the minimum angle of view of the camera in the horizontal direction, including:
[0122] calculate
[0123] Where A, B, and C represent the lens coordinates of the lens position, the first coordinate of the first reference position, and the second coordinate of the second reference position, respectively;
[0124] The refrigerator determines the angle between the third-view boundary line and the fourth-view boundary line as the maximum horizontal field of view of the camera, including:
[0125] calculate
[0126] Where B' and C' represent the third coordinate of the third reference position and the fourth coordinate of the fourth reference position, respectively.
[0127] Thus, after determining the lens coordinates of the lens position, the first coordinates of the first reference position, and the second coordinates of the second reference position, the embodiments of this disclosure can determine... and The coordinates of each viewpoint are determined, and then, based on the law of cosines, the angle between the boundary lines of the first and second viewpoints can be determined, i.e., the minimum horizontal viewing angle of the camera can be calculated. Correspondingly, in this embodiment, the angle between the boundary lines of the third and fourth viewpoints can be determined based on the law of cosines, i.e., the maximum horizontal viewing angle of the camera can be calculated. Thus, this embodiment can accurately calculate the minimum and maximum horizontal viewing angles of the camera based on the law of cosines, thereby obtaining the functional relationships between the door opening angle and the minimum and maximum viewing angles. This ensures that the camera's field of view basically covers the area to be identified, achieving full coverage of the food image within the inner liner area, ensuring the integrity of the captured image, and achieving reliable identification of the food image within the inner liner area.
[0128] Optionally, combined Figure 7As shown, the refrigerator determines the center points of the first side and the second side of the to-be-identified region as the first reference position and the second reference position respectively, and includes:
[0129] S21, the refrigerator constructs a three-dimensional coordinate system with the intersection of the door body rotation axis and the set straight line as the origin, the box width direction of the to-be-identified region as the X axis, the box thickness direction away from the box as the Y axis, and the gravity direction as the Z axis. The set straight line represents a straight line passing through the center points of the first side and the second side.
[0130] In combination Figure 1 and Figure 2 As shown, in the embodiment of the present disclosure, a three-dimensional coordinate system is constructed with the intersection of the door body rotation axis and the set straight line as the origin, the box width direction of the to-be-identified region as the X axis, the box thickness direction away from the box as the Y axis, and the gravity direction as the Z axis. By constructing the three-dimensional coordinate system with the box width direction of the to-be-identified region as the X axis, the box thickness direction away from the box as the Y axis, and the gravity direction as the Z axis, the longitudinal coordinates of the first reference position and the third reference position are both zero, and the longitudinal coordinates of the second reference position and the fourth reference position are both zero, thereby reducing and the calculation complexity and ensuring the accuracy of the view angle calculation.
[0131] S22, the refrigerator obtains the box width W box and the maximum width W ROI of the to-be-identified region along the X axis.
[0132] S23, the refrigerator obtains the box thickness D box and the maximum thickness D ROI of the to-be-identified region along the Y axis.
[0133] S24, the refrigerator determines the first coordinate B of the first reference position according to (0.5W box +0.5W ROI , 0, D box -0.5D ROI ), and determines the second coordinate C of the second reference position according to (0.5W box -0.5W ROI , 0, D box -0.5D ROI ).
[0134] In this step, to ensure that the field of view range of the camera basically covers the to-be-identified region, the horizontal coordinate of the first coordinate B1 of the first reference position is the average of W box and W ROI , and the horizontal coordinate of the second coordinate C1 of the second reference position is the average of W box and W ROIThe average value of the difference, and since the center point of the first side of the region to be identified, the ordinate of the first coordinate B1 and the ordinate of the second coordinate C1 are both W box and the difference of 0.5W ROI .
[0135] In this way, the disclosure embodiment constructs a three-dimensional coordinate system in the above manner, and determines the first coordinate B and the second coordinate C according to the three-dimensional coordinate system, which can reduce the calculation complexity of and , reduce the calculation difficulty of the minimum viewing angle, and improve the accuracy of the minimum viewing angle calculation.
[0136] As shown in Figure 8 , the disclosure embodiment provides a photographing control device 70 for the liner region, which includes a processor 700 and a memory 701. Optionally, the device 70 can also include a communication interface 702 and a bus 703. The processor 700, the communication interface 702, and the memory 701 can communicate with each other through the bus 703. The communication interface 702 can be used for information transmission. The processor 700 can call the logical instructions in the memory 701 to execute the photographing control method for the liner region in the above-mentioned embodiments.
[0137] In addition, the logical instructions in the memory 701 described above can be implemented in the form of a software functional unit and sold or used as an independent product, which can be stored in a computer readable storage medium.
[0138] The memory 701 as a computer readable storage medium can be used to store software programs, computer executable programs, such as program instructions / modules corresponding to the method in the disclosure embodiment. The processor 700 executes the program instructions / modules stored in the memory 701, thereby performing function applications and data processing, i.e. implementing the photographing control method for the liner region in the above-mentioned embodiments.
[0139] The memory 701 can include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required by a function; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory 701 can include a high-speed random access memory, and can also include a non-volatile memory.
[0140] The embodiment of the present disclosure provides a refrigerator, which comprises a cabinet, a door body, a camera support, a camera and the above-mentioned shooting control device 70 for the inner container area. The door body is rotatably arranged on the front side of the cabinet through a door body rotating shaft, and a support rotating shaft is arranged at the end of the door body away from the door body rotating shaft. The camera support is rotatably arranged on the door body through the support rotating shaft. The camera is arranged on the camera support. The shooting control device 70 for the inner container area is mounted on the door body. The mounting relationship described herein is not limited to being placed in the interior of the door body, but also includes mounting connection with other components of the refrigerator, including but not limited to physical connection, electrical connection or signal transmission connection and the like. Those skilled in the art can understand that the shooting control device 70 for the inner container area can be adapted to a feasible product body, and thus other feasible embodiments can be realized.
[0141] The embodiment of the present disclosure provides a computer readable storage medium, which stores computer executable instructions, and the computer executable instructions are configured to execute the above-mentioned shooting control method for the inner container area.
[0142] The technical scheme of the embodiment of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions to make a computer device (which can be a personal computer, a server or a network device) execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, such as a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk and various program code storage media.
[0143] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.
[0144] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0145] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to apparatuses, devices, etc.), can be implemented in other manners. For example, the described apparatus embodiments can be implemented only in a form of a logical function, and can be implemented by using a manner such as software (for example, application program) or the like. In some embodiments, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling or direct coupling or indirect coupling between different units, or the coupling or direct coupling or indirect coupling between the displayed or discussed communication connections can be in a form of electrical, mechanical or other forms.
[0146] The flowcharts and block diagrams in the drawings show the possible implementation architectures, functions and operations of the system, method and computer program product according to the embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment or a part of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions noted in the blocks can occur in an order different from that noted in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the drawings, the operations or steps corresponding to different blocks can also occur in an order different from that disclosed in the descriptions, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. Each block in the block diagrams and / or flowcharts, and the combination of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A photographing control method for a liner area of a refrigerator, the method comprising: determining whether a user is present in a refrigerator door area; and controlling photographing of the liner area based on the determination. The method comprises the following steps: The refrigerator further comprises an electric control device, which adjusts the rotation of the camera support through the support rotation shaft, and adjusts the installation angle of the camera in the horizontal direction within the target installation angle range, and the method comprises the following steps: According to the in-place state of the camera support determined according to the received pressing signal, the electric control device is controlled to adjust the rotation of the camera support to adjust the installation angle of the camera in the horizontal direction within the target installation angle range. The corresponding relationship between the opening angle and the installation angle of the camera in the horizontal direction comprises the following steps: The opening angle and the minimum viewing angle associated with the opening angle and the maximum viewing angle associated with the opening angle are obtained, wherein the minimum viewing angle represents the lower threshold of the viewing angle of the camera in the horizontal direction, and the maximum viewing angle represents the upper threshold of the viewing angle of the camera in the horizontal direction. According to the corresponding relationship between the installation angle and the minimum viewing angle and the maximum viewing angle, the corresponding relationship between the opening angle and the installation angle of the camera in the horizontal direction is obtained. The corresponding relationship between the installation angle and the minimum viewing angle and the maximum viewing angle comprises the following steps: F1(·) and F2(·) represent the functional relationship between the opening angle and the minimum viewing angle and the functional relationship between the opening angle and the maximum viewing angle, respectively.
2. The method of claim 1, wherein, The functional relationship between the opening angle and the minimum viewing angle and the functional relationship between the opening angle and the maximum viewing angle are obtained in the following manner: The first side surface and the second side surface of the to-be-identified region are determined as the first reference position and the second reference position, respectively; the first side surface represents the side surface farthest from the door body rotation shaft in the horizontal direction associated direction, and the second side surface represents the side surface closest to the door body rotation shaft in the horizontal direction associated direction; wherein the horizontal direction associated direction is the thickness direction of the cabinet; The third side surface and the fourth side surface of the maximum identification region are determined as the third reference position and the fourth reference position, respectively; the third side surface represents the side surface farthest from the door body rotation shaft in the horizontal direction associated direction, and the fourth side surface represents the side surface closest to the door body rotation shaft in the horizontal direction associated direction; 3. The method of claim 1, wherein, According to the lens position and the first reference position, the second reference position, the minimum viewing angle of the camera in the horizontal direction is determined to obtain the functional relationship between the opening angle and the minimum viewing angle; According to the lens position and the third reference position, the fourth reference position, the maximum viewing angle of the camera in the horizontal direction is determined to obtain the functional relationship between the opening angle and the maximum viewing angle. The lens position of the camera lens center is determined in the following manner:
4. The method of claim 3, wherein, 0.5 * (HFOV + HFOV min ) ≤ β ≤ 1.5 * HFOV - 0.5 * HFOV min ; HFOV min ≤HFOV≤HFOV max ; where HFOV min = F1(α,β pre ), HFOV max = F2(α,β pre ). α, β pre respectively represent the door opening angle and the real-time installation inclination angle, β represents the installation inclination angle, HFOV represents the real-time horizontal field of view of the camera, HFOV min , HFOV max represent the minimum and maximum horizontal field of view of the camera.
5. The method of claim 4, wherein, 6. The method of claim 5, wherein, Obtaining the real-time installation angle β of the door camera support and the door body; Obtaining the distance x between the camera lens center and the door body rotation axis and the distance y between the support rotation axis and the camera lens center; According to (xcosα+ycos(β-180°+α), xsinα+ysin(β-180°+α), 0), the lens coordinates A of the lens position of the camera lens center are determined.
7. The method of claim 5, wherein, According to the lens position and the first reference position and the second reference position, the minimum horizontal view angle of the camera is determined, including: According to the lens position and the first reference position, the first view angle boundary line is determined; According to the lens position and the second reference position, the second view angle boundary line is determined; The included angle between the first view angle boundary line and the second view angle boundary line is determined as the minimum horizontal view angle of the camera; According to the lens position and the third reference position and the fourth reference position, the maximum horizontal view angle of the camera is determined, including: According to the lens position and the third reference position, the third view angle boundary line is determined; According to the lens position and the fourth reference position, the fourth view angle boundary line is determined; The included angle between the third view angle boundary line and the fourth view angle boundary line is determined as the maximum horizontal view angle of the camera.
8. The method of claim 7, wherein, The included angle between the first view angle boundary line and the second view angle boundary line is determined as the minimum horizontal view angle of the camera, including: Computing Wherein, A, B and C represent the lens coordinates of the lens position, the first coordinates of the first reference position and the second coordinates of the second reference position respectively; The included angle between the third view angle boundary line and the fourth view angle boundary line is determined as the maximum horizontal view angle of the camera, including: Computing Wherein, B' and C' represent the third coordinates of the third reference position and the fourth coordinates of the fourth reference position respectively.
9. An apparatus for controlling photographing of a liner area, comprising a processor and a memory storing program instructions, characterized in that, The processor is configured to execute the program instructions when running, the shooting control method for the liner area as claimed in any one of claims 1 to 8.
10. A refrigerator characterized by comprising: Including: Box body; Door body, rotatably arranged on the front side of the box body through the door body rotation axis, the end of the door body away from the door body rotation axis is provided with a support rotation axis; Camera support, rotatably arranged on the door body through the support rotation axis; Camera, arranged on the camera support; The shooting control device for the liner area as claimed in claim 9 is installed on the door body.