Container, cargo identification method, electronic equipment and storage medium
By designing an angle detection unit, image acquisition unit and main control unit in the container, the problem that existing container cameras cannot be hidden in miniaturization is solved, and the shooting and information acquisition of complete cargo arrangements in the container is realized, which improves the aesthetics of the container and functional.
Patent Information
- Application Number
- CN202310930909.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-26
- Publication Date
- 2025-02-11
AI Technical Summary
Existing container cameras cannot be miniaturized and are hidden in containers, causing damage to the appearance of the container and affecting the aesthetics.
Design a container, including an angle detection unit, an image acquisition unit and a main control unit, through the angle detection unit, detect the first angle after the cabinet door is opened, and the main control unit controls the image acquisition unit to rotate the second angle to capture the complete inside the container Cargo discharge.
The camera is miniaturized and hidden, avoiding damage to the appearance of the container, and ensuring that the image acquisition unit can take pictures of the complete cargo arrangement and obtain information about all cargoes.
Smart Images

Figure CN119418020A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of hardware design, and specifically relates to a container, a cargo identification method, an electronic device and a storage medium. Background Art
[0002] The existing containers, such as freezers, storage cabinets, lockers and other cabinets with revolving doors, have cameras extending out of the containers and fixed to the outside of the containers by sheet metal. In addition, a large number of cameras are used, and they cannot be miniaturized and hidden in the containers, which will destroy the overall appearance of the containers and have a poor impact on the overall aesthetics of the containers. Summary of the invention
[0003] The embodiments of the present application provide a container, a cargo identification method, an electronic device and a storage medium, which can solve the problem that the camera cannot be miniaturized and hidden in the container, which will destroy the overall appearance of the container and have a poor impact on the overall aesthetics of the container.
[0004] In a first aspect, an embodiment of the present application provides a container, comprising: a container body; an angle detection unit, the angle detection unit being used to detect a first angle of a door of the container body after the door is opened; an image acquisition unit, the image acquisition unit being located on the inner side of the door of the container body, the image acquisition unit being used to photograph a complete display of goods in the container body and to obtain information on all goods in the display; and a main control unit, the main control unit being used to control the image acquisition unit to rotate to a second angle, the second angle being associated with the first angle.
[0005] The second method, the present application provides a cargo identification method, the method comprising: detecting a first angle of a door of a container body after the door is opened by an angle detection unit; according to the first angle, controlling an image acquisition unit to rotate to a second angle by a main control unit so that the image acquisition unit captures a complete cargo display in the container, the image acquisition unit being located on the inner side of the door; and obtaining information on all cargo in the cargo display by the image acquisition unit.
[0006] In a third aspect, an embodiment of the present application provides a cargo identification device, which includes: a detection module, used to detect a first angle of a door of a container body after the door is opened through an angle detection unit; a control module, used to control an image acquisition unit to rotate to a second angle through a main control unit according to the first angle, so that the image acquisition unit can capture a complete cargo display in the container, and the image acquisition unit is located on the inner side of the door; and an acquisition module, used to obtain information on all cargo in the cargo display through the image acquisition unit.
[0007] In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0008] In a fifth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0009] In an embodiment of the present application, a container includes a container body; an angle detection unit, the angle detection unit is used to detect a first angle after a door of the container body is opened; an image acquisition unit, the image acquisition unit is located on the inner side of the door of the container body, the image acquisition unit is used to photograph a complete cargo display in the container body and obtain information about all cargo in the cargo display; a main control unit, the main control unit is used to control the image acquisition unit to rotate a second angle, the second angle and the first angle are correlated, the image acquisition unit is located on the inner side of the door of the container body, thereby avoiding the problem that the camera cannot be miniaturized and is hidden in the container, which will damage the overall appearance of the container and cause a poor impact on the overall aesthetics of the container. At the same time, the image acquisition unit can rotate to a second angle according to the first angle after the door is opened, thereby ensuring that the image acquisition unit can photograph a complete cargo display in the container body and obtain information about all cargo in the cargo display. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 It is a structural schematic diagram of a container provided in an embodiment of the present application;
[0011] Figure 2 This is a schematic diagram of the structure of a drive-image acquisition unit provided in an embodiment of the present application;
[0012] Figure 3 is a schematic diagram of the structure of another container provided in an embodiment of the present application;
[0013] Figure 4 is a schematic diagram of the structure of another container provided in an embodiment of the present application;
[0014] Figure 5 It is a flowchart of a cargo identification method provided in an embodiment of the present application;
[0015] Figure 6 It is a structural schematic diagram of a cargo identification device provided in an embodiment of the present application;
[0016] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.
[0017] Description of reference numerals:
[0018] Container body-10, detection unit-20, image acquisition unit-30, main control unit-40, drive unit-50, positioning unit-60, communication unit-70, power supply unit-701, wireless communication unit-702, interaction unit-703. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0020] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0021] In the following, in conjunction with the accompanying drawings, a container, a cargo identification method, an electronic device and a storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0022] Figure 1 A structural diagram of a container provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the container includes:
[0023] A container body 10; an angle detection unit 20, the angle detection unit 20 is used to detect a first angle of a door of the container body 10 after the door is opened; an image acquisition unit 30, the image acquisition unit 30 is located on the inner side of the door of the container body 10, the image acquisition unit 30 is used to photograph a complete cargo display in the container body 10 and obtain information about all cargo in the cargo display; a main control unit 40, the main control unit 40 is used to control the image acquisition unit 30 to rotate to a second angle, the second angle being associated with the first angle.
[0024] Specifically, the container provided in the embodiment of the present application may be a container with a revolving door such as a freezer or a storage cabinet, and the container is not specifically limited here. In the embodiment of the present application, the image acquisition unit 30 may be a camera, and the image acquisition unit 30 is located on the inner side of the edge of the door of the container body 10, and the image acquisition unit 30 is embedded in the door strip of the door. Since the inner side of the door may be relatively narrow, the image acquisition unit 30 may be constructed in a long strip shape so as to facilitate embedding the image acquisition unit 30 in the door strip of the door. The container also includes an angle detection unit 20, which may also be installed on the door of the container body 10. The angle detection unit 20 is used to detect the first angle of the door of the container body 10 after the door is opened. The angle detection unit 20 may be a gyroscope. The container also includes a main control unit 40, which may control the image acquisition unit 30 to rotate to a second angle according to the first angle of the door of the container body 10 after the door is opened, so that the image acquisition unit 30 can capture the complete cargo row in the container body 10 and obtain information about all cargo in the cargo row.
[0025] In one implementation, the container further includes:
[0026] The driving unit 50 is used for being controlled by the main control unit 40 to rotate to a third angle so as to drive the image acquisition unit 30 to rotate to the second angle, and the third angle is associated with the first angle.
[0027] Specifically, Figure 2 A schematic diagram of the structure of a drive-image acquisition unit provided in an embodiment of the present application is shown. Figure 2 As shown, the image acquisition unit 30 and the driving unit 50 can be linked, and the driving unit 50 can be a motor. After the angle detection unit 20 detects the first angle of the door of the container body 10 after opening, the main control unit 40 can control the driving unit 50 to rotate to a third angle according to the first angle. The driving unit 50 rotating to the third angle can drive the image acquisition unit 30 to rotate to the second angle. The first angle, the second angle and the third angle are correlated.
[0028] Specifically, before the container works normally, the initial angle and installation angle of the angle detection unit 20 and the drive unit 50 need to be calibrated, and when the angle detection unit 20 is rotated to a certain angle, the drive unit 50 rotates to a corresponding angle, and the drive unit 50 drives the image acquisition unit 30 to rotate to a corresponding angle. For example, the angle correspondence list shown in Tables 1 and 2 below includes the door opening angle of the container door, the gyroscope (angle detection unit 20) angle, the motor (drive unit 50) rotation angle, and the camera (image acquisition unit 30) angle.
[0029] Table 1
[0030]
[0031] Table 2
[0032]
[0033] Among them, 0 degrees of the gyroscope represents the angle between the rotation angle after the door is opened and the horizontal direction of the container, which is consistent with the door opening angle. 0 degrees of motor rotation is the default position of the motor when the door is closed. After the door is opened, the motor will first rotate clockwise so that the camera can capture the entire display as much as possible. After the cabinet door rotates 45 degrees, the motor rotates counterclockwise, so that the camera can capture the entire display as much as possible. The default angle of the camera shooting angle is the default angle of the camera + the motor rotation angle + the door opening angle. The above angle correspondence list can be saved in the main control unit 40.
[0034] like Figure 3 As shown, the image acquisition unit 30 and the drive unit 50 are installed on the inner side of the cabinet door and are installed at a certain angle to the edge. The image acquisition unit 30 can rotate. When the cabinet door is opened, when the cabinet door rotates to a certain angle, the drive unit 50 rotates to a certain angle according to the calibrated angle so that the lens of the image acquisition unit 30 can cover the entire surface of the container body 10, monitor the surface of the entire device in real time, and take the image stably appearing in the video screen as a reference, and can capture the goods in the container surface of the container body 10 at any time to collect the information of the goods, such as the SKU category of the goods, the quantity of the goods, etc.
[0035] In the embodiment of the present application, the container includes a container body 10; an angle detection unit 20, the angle detection unit 20 is used to detect a first angle after the door of the container body 10 is opened; an image acquisition unit 30, the image acquisition unit 30 is located on the inner side of the door of the container body 10, the image acquisition unit 30 is used to shoot a complete cargo display in the container body 10 and obtain information about all cargo in the cargo display; a main control unit 40, the main control unit 40 is used to control the image acquisition unit 30 to rotate to a second angle, the second angle and the first angle are associated, the image acquisition unit 30 is located on the inner side of the door of the container body 10, the miniaturization of the container is realized, and the problem that the camera cannot be miniaturized and is hidden in the container, which will destroy the overall appearance of the container and cause a poor impact on the overall aesthetics of the container is avoided. At the same time, the image acquisition unit 30 can rotate to a second angle according to the first angle after the door is opened, ensuring that the image acquisition unit 30 can shoot the complete cargo display in the container body 10 and obtain information about all cargo in the cargo display. Furthermore, the entire container row can be monitored by the image acquisition unit 30, and there is no need to place cameras on each layer of the container row for identification.
[0036] In one implementation, the container further includes:
[0037] a positioning unit 60, the positioning unit 60 is used to obtain the position information of the container; a communication unit 70, the communication unit 70 is located on the top of the container, the communication unit 70 is used to transmit the image of the cargo row taken by the image acquisition unit 30, the information of all the cargo in the cargo row acquired by the image acquisition unit 30 and the position information of the container.
[0038] Specifically, Figure 4 As shown in the container structure diagram, the container may also include a positioning unit 60, which may be used to obtain the location information of the container. The communication unit 70 may be placed on the top of the container, and the communication unit 70 transmits and receives wireless signals through an external antenna. The communication mode of the communication unit 70 includes but is not limited to 4G, wifi, etc. The communication unit may also include a power supply unit 701, a wireless communication unit 702, an interactive unit 703, etc. The main control unit 40 and the image acquisition unit 30 may communicate with the communication unit 70 via USB. Adding a main control on the top may realize voice control, and may also be used to facilitate operation by adding a screen. The image acquisition unit 30 may monitor the information of all products in the container in real time and take snapshots. After taking snapshots, the information may be wirelessly uploaded to the cloud or client for storage through the communication unit 70. The information of the goods in the container may also be analyzed through an image processing algorithm. For example, the goods change information, such as quantity change information, type change information, etc., may be determined based on the information of all goods in the cargo row in the container monitored and the goods information collected when the door was opened last time. In this way, the popularity of items in each category in the container at each period can be monitored to prepare for subsequent planning. Missing product categories can be added in a timely manner. The container has a positioning function, and the container's positioning information can be uploaded to the cloud, making it easier to understand the location of the container.
[0039] Figure 5 A cargo identification method provided by an embodiment of the present invention is shown. The method can be executed by a cargo container. The method comprises the following steps:
[0040] Step 502: Detect a first angle of a door of a container body after the door is opened by an angle detection unit.
[0041] Specifically, when the container door is opened, the first angle of the door of the container body after opening can be detected by the angle detection unit on the door. The angle detection unit can be a gyroscope, and the first angle of the door after opening is detected by the rotation angle of the gyroscope.
[0042] Step 504: According to the first angle, the main control unit controls the image acquisition unit to rotate to a second angle.
[0043] Specifically, the image acquisition unit is located on the inner side of the cabinet door. After the angle detection unit detects a first angle after the door is opened, the main control unit can control the image acquisition unit to rotate to a second angle, so that the lens of the image acquisition unit can use a video algorithm to cover and detect the complete cargo layout in the container.
[0044] In one implementation, controlling the image acquisition unit to rotate to a second angle by a main control unit according to the first angle includes:
[0045] According to the first angle, the main control unit controls the driving unit to rotate to a third angle; and the driving unit rotates to the third angle to drive the image acquisition unit to rotate to the second angle.
[0046] Specifically, the door of the container may further include a driving unit, which may be a motor. After the angle detection unit detects the first angle of the door of the container body after the door is opened, the main control unit may control the driving unit to rotate to a third angle according to the first angle. The driving unit rotating to the third angle may drive the image acquisition unit to rotate to a second angle. The first angle, the second angle, and the third angle are associated with each other. Specifically, before the container works normally, it is necessary to calibrate the angle detection unit, the initial angle of the driving unit, and the installation angle. When the angle detection unit is rotated to a certain angle, the driving unit rotates to a corresponding angle, and the driving unit drives the image acquisition unit to rotate to a corresponding angle.
[0047] Specifically, before the container works normally, it is necessary to calibrate the initial angle and installation angle of the angle detection unit and the drive unit, and set the angle detection unit to rotate to a certain angle, and the drive unit will rotate to the corresponding angle, and the drive unit will drive the image acquisition unit to rotate to the corresponding angle. For example, the angle correspondence list shown in Tables 3 and 4 below includes the door opening angle of the container door, the gyroscope (angle detection unit) angle, the motor (drive unit) rotation angle, and the camera (image acquisition unit) angle.
[0048] Table 3
[0049]
[0050] Table 4
[0051]
[0052] Among them, 0 degrees of the gyroscope indicates the angle between the rotation angle after the door is opened and the horizontal direction of the container, which is consistent with the door opening angle. 0 degrees of motor rotation is the default position of the motor when the door is closed. After the door is opened, the motor will rotate clockwise first so that the camera can capture the entire display as much as possible. After the cabinet door rotates 45 degrees, the motor rotates counterclockwise, so that the camera can capture the entire display as much as possible. The default angle of the camera shooting angle is the default angle of the camera + the motor rotation angle + the door opening angle. The above angle correspondence list can be saved in the main control unit.
[0053] Step 506: Acquire information of all goods in the goods display area through the image acquisition unit.
[0054] Specifically, after the image acquisition unit covers the entire cargo display in the container, the information of all the cargo in the cargo display can be acquired through the image acquisition unit. The cargo information may include the SKU category of the cargo, the quantity of the cargo, and the like.
[0055] In the embodiment of the present application, the angle detection unit detects the first angle after the door of the container body is opened; according to the first angle, the main control unit controls the image acquisition unit to rotate to a second angle, so that the image acquisition unit can shoot the complete cargo surface in the container, and the image acquisition unit is located on the inner side of the door; the image acquisition unit obtains the information of all the goods in the cargo surface, and the image acquisition unit is located on the inner side of the door of the container body, which avoids the problem that the camera cannot be miniaturized and hidden in the container, which will destroy the overall appearance of the container and cause a poor impact on the overall aesthetics of the container. At the same time, the image acquisition unit can rotate to a second angle according to the first angle after the door is opened, ensuring that the image acquisition unit can shoot the complete cargo surface in the container body and obtain the information of all the goods in the cargo surface, so as to realize the capture of the container surface and the analysis of cargo information. In addition, the image acquisition unit can monitor the entire surface of the container, and there is no need to place a camera for each layer of the container surface for identification.
[0056] In one implementation, after the main control unit controls the image acquisition unit to rotate by the second angle, the method further includes:
[0057] Obtain the distance between the left and right boundaries and the distance between the upper and lower boundaries of the row of goods photographed by the image acquisition unit; when it is determined that the distance between the left and right boundaries is the same as the first preset distance and the distance between the upper and lower boundaries is the same as the second preset distance, determine that the row of goods photographed by the image acquisition unit is a complete row of goods in the container.
[0058] Specifically, after the main control unit controls the image acquisition unit to rotate to the second angle, the distance between the left and right boundaries and the distance between the upper and lower boundaries of the row surface photographed by the image acquisition unit can be obtained through the first preset video algorithm; when it is determined that the distance between the left and right boundaries is the same as the first preset distance, and the distance between the upper and lower boundaries is the same as the second preset distance, it is determined that the row surface photographed by the image acquisition unit is a complete row surface of goods in the container. This ensures that the image acquisition unit can cover the complete row surface of goods in the container and that information on all goods in the container can be obtained.
[0059] In one implementation, the acquiring of information of all goods in the goods row by an image acquisition unit includes:
[0060] Whether the information of all the goods in the cargo array is clear is judged by using the preset feature points in the cargo array; if the information of all the goods in the cargo array is clear, the information of all the goods in the cargo array is acquired by using the image acquisition unit.
[0061] Specifically, the video algorithm can be used to determine whether the information of all goods in the cargo display is clear through preset feature points in the cargo display. While ensuring that the information of the goods is clear, for example, the SKU type of the goods is clear, the image acquisition unit can use the video algorithm to monitor the information of all goods in the entire container in real time and take snapshots to ensure that the acquired information of the goods is clear.
[0062] In one implementation, after the information of all goods in the goods row is acquired by the image acquisition unit, the method further includes:
[0063] The image of the cargo display is captured by the image acquisition unit; the location information of the container is acquired by the positioning unit; the cargo change information is determined based on the information of all cargo in the cargo display and the cargo information collected when the cabinet door was last opened; and the image, the information of all cargo in the cargo display and the cargo change information are uploaded to the client by the communication unit.
[0064] Specifically, the image acquisition unit can monitor the information of all goods inside the entire container in real time using a video algorithm, and take pictures to obtain an image of the cargo surface. The location information of the container can be obtained through the positioning unit of the container. The information of all goods in the cargo surface and the cargo information collected when the cabinet door was last opened can be analyzed through an image processing algorithm to determine cargo change information, such as cargo type change information, cargo quantity change information, etc. Then, the image, the information of all goods in the cargo surface, and the cargo change information can be uploaded to the client through the communication unit, so as to facilitate the understanding of the location of the container, cargo information, etc.
[0065] It should be noted that the cargo identification method provided in the embodiment of the present application can be executed by a cargo identification device or a control module in the cargo identification device for executing the cargo identification method. In the embodiment of the present application, the cargo identification device provided in the embodiment of the present application is described by taking the cargo identification device executing the cargo identification method as an example.
[0066] Figure 6 Schematic diagram of the structure of a cargo identification device according to an embodiment of the present invention. Figure 6 As shown, the cargo identification device 600 includes: a detection module 610 , a control module 620 and a collection module 630 .
[0067] The detection module 610 is used to detect a first angle of the door of the container body after the door is opened through the angle detection unit; the control module 620 is used to control the image acquisition unit to rotate to a second angle through the main control unit according to the first angle, so that the image acquisition unit can capture the complete cargo display in the container, and the image acquisition unit is located on the inner side of the door; the acquisition module 630 is used to obtain information of all cargo in the cargo display through the image acquisition unit.
[0068] In one implementation, the control module 620 is configured to control the driving unit to rotate to a third angle through a main control unit according to the first angle; and the image acquisition unit is driven to rotate to the second angle by the driving unit rotating to the third angle.
[0069] In one implementation, the acquisition module 630 is used to obtain the distance between the left and right boundaries and the distance between the upper and lower boundaries of the row surface photographed by the image acquisition unit; when it is determined that the distance between the left and right boundaries is the same as the first preset distance, and the distance between the upper and lower boundaries is the same as the second preset distance, it is determined that the row surface photographed by the image acquisition unit is a complete cargo row surface in the container.
[0070] In one implementation, the acquisition module 630 is used to determine whether the information of all goods in the cargo display is clear through preset feature points in the cargo display; when the information of all goods in the cargo display is clear, the information of all goods in the cargo display is acquired through an image acquisition unit.
[0071] In one implementation, the acquisition module 630 is used to capture the image of the cargo display through the image acquisition unit and obtain the location information of the container through the positioning unit; determine the cargo change information based on the information of all the cargo in the cargo display and the cargo information collected when the cabinet door was last opened; and upload the image, the information of all the cargo in the cargo display and the cargo change information to the client through the communication unit.
[0072] The cargo identification device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0073] The cargo identification device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0074] The cargo device provided in the embodiment of the present application can achieve Figure 5 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0075] Alternatively, if Figure 7 As shown, an embodiment of the present application further provides an electronic device 700, including a processor 701 and a memory 702, wherein the memory 702 stores a program or instruction that can be run on the processor 701, and when the program or instruction is executed by the processor 701, it is implemented as follows: detecting a first angle of a door of a container body after opening by an angle detection unit; controlling an image acquisition unit to rotate to a second angle by a main control unit according to the first angle, so that the image acquisition unit captures a complete display of goods in the container, and the image acquisition unit is located on the inner side of the door; and acquiring information of all goods in the display of goods by the image acquisition unit.
[0076] In one implementation, according to the first angle, the main control unit controls the driving unit to rotate to a third angle; and the driving unit rotates to the third angle to drive the image acquisition unit to rotate to the second angle.
[0077] In one implementation, after the main control unit controls the image acquisition unit to rotate to a second angle, the distance between the left and right boundaries and the distance between the upper and lower boundaries of the row surface photographed by the image acquisition unit are obtained; when it is determined that the distance between the left and right boundaries is the same as the first preset distance, and the distance between the upper and lower boundaries is the same as the second preset distance, it is determined that the row surface photographed by the image acquisition unit is a complete cargo row surface in the container.
[0078] In one implementation, it is determined whether the information of all the goods in the cargo display is clear by using preset feature points in the cargo display. If the information of all the goods in the cargo display is clear, the information of all the goods in the cargo display is acquired by an image acquisition unit.
[0079] In one implementation, after the information of all goods in the goods row is acquired by the image acquisition unit, the method further includes:
[0080] The image of the cargo display is captured by the image acquisition unit; the location information of the container is acquired by the positioning unit; the cargo change information is determined based on the information of all cargo in the cargo display and the cargo information collected when the cabinet door was last opened; and the image, the information of all cargo in the cargo display and the cargo change information are uploaded to the client by the communication unit.
[0081] The specific execution steps can refer to the various steps of the above-mentioned cargo identification method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.
[0082] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals, or other devices except terminals.
[0083] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0084] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).
[0085] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.
[0086] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned cargo identification method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0087] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as ROM, RAM, magnetic disk or optical disk.
[0088] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0089] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0090] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A container, characterized in that: include: Container body; An angle detection unit, the angle detection unit is used to detect a first angle of a door of the container body after the door is opened; An image acquisition unit, the image acquisition unit is located on the inner side of the door of the container body, and the image acquisition unit is used to photograph the complete cargo row in the container body and obtain information of all cargo in the cargo row; A main control unit, wherein the main control unit is used to control the image acquisition unit to rotate to a second angle, and the second angle is associated with the first angle.
2. The container according to claim 1, characterized in that: The container also includes: A driving unit, wherein the driving unit is used to be controlled by the main control unit to rotate a third angle to drive the image acquisition unit to rotate the second angle, and the third angle is associated with the first angle.
3. The container according to claim 1, characterized in that: The container also includes: A positioning unit, the positioning unit is used to obtain the position information of the container; A communication unit, the communication unit is located on the top of the container, and the communication unit is used to transmit the image of the cargo row taken by the image acquisition unit, the information of all the cargo in the cargo row acquired by the image acquisition unit, and the location information of the container.
4. A cargo identification method, characterized in that: include: Detecting a first angle of a door of the container body after the door is opened by an angle detection unit; According to the first angle, the main control unit controls the image acquisition unit to rotate to a second angle, so that the image acquisition unit can capture a complete array of goods in the container, and the image acquisition unit is located on the inner side of the container door; The information of all goods in the goods row is obtained through the image acquisition unit.
5. The method according to claim 4, characterized in that: According to the first angle, controlling the image acquisition unit to rotate to a second angle by a main control unit includes: According to the first angle, controlling the driving unit to rotate to a third angle through the main control unit; The image acquisition unit is driven to rotate the second angle by the driving unit rotating the third angle.
6. The method according to claim 4, characterized in that After the main control unit controls the image acquisition unit to rotate the second angle, the method further includes: Acquire the distance between the left and right boundaries and the distance between the upper and lower boundaries of the row surface photographed by the image acquisition unit; When it is determined that the distance between the left and right boundaries is the same as the first preset distance and the distance between the upper and lower boundaries is the same as the second preset distance, it is determined that the row photographed by the image acquisition unit is a complete cargo row in the container.
7. The method according to claim 4, characterized in that The obtaining of information of all goods in the goods row by an image acquisition unit includes: Determining whether the information of all goods in the cargo row is clear by using the preset feature points in the cargo row; When the information of all the goods in the cargo row is clear, the information of all the goods in the cargo row is acquired through the image acquisition unit.
8. The method according to claim 4, characterized in that After the image acquisition unit acquires the information of all goods in the goods row, the method further includes: Taking an image of the cargo row by the image acquisition unit; Acquiring the location information of the container through a positioning unit; Determine cargo change information based on the cargo information of all cargoes in the cargo row and the cargo information collected when the cabinet door was last opened; The image, information of all goods in the goods row and the goods change information are uploaded to the client through the communication unit.
9. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the cargo identification method according to any one of claims 4 to 8.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the cargo identification method according to any one of claims 4 to 8 are implemented.