Article identification method and device, equipment and medium
By acquiring the image to be identified in the display cabinet, identifying the location of the target item and matching the item characteristics, the problem of large image feature matching calculations caused by the large number of items in the display cabinet is solved, and the speed of obtaining item information and user experience are improved.
Patent Information
- Application Number
- CN202310171636.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-08-27
AI Technical Summary
The large number of items stored in display cabinets requires the server or cloud to obtain a large number of item image features, which results in a large amount of calculation and slow speed when matching image features, affecting the user experience.
By obtaining the images to be recognized collected by the display cabinet, perform image recognition, determine the location of the target item, obtain the image features and information of the item at the target location, and use the pre-agreed storage location information to match, reducing the computational complexity of image feature matching and improving the acquisition of items. The speed of information.
Under the premise of ensuring accuracy, the computational complexity of image feature matching is reduced, the speed of obtaining item information is increased, and the user experience is improved.
Smart Images

Figure CN118552887A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of control technology, and in particular to an object identification method, device, equipment and medium. Background Art
[0002] In recent years, when merchants or enterprises store items, in order to facilitate users to understand the information of items, they can place the items in display cabinets to store and display the goods at the same time. When the user needs to use the items in the display cabinet, the user can open the display cabinet by himself and take out the corresponding items from the display cabinet. In this scenario, the display cabinet can identify the items removed from the display cabinet and upload the identification results so that other devices or systems such as servers and clouds can determine the user who removed the items from the display cabinet, or the items removed from the display cabinet, etc. according to the identification results uploaded by the display cabinet, so as to perform corresponding statistics. Summary of the invention
[0003] Embodiments of the present disclosure provide an object identification method, device, equipment, and medium.
[0004] In a first aspect, an object identification method is provided in an embodiment of the present disclosure.
[0005] Specifically, the object identification method includes:
[0006] Obtain at least one image to be identified collected from the display cabinet;
[0007] Performing image recognition on at least one image to be recognized, and determining a target location where a target object is stored in a display cabinet according to the image recognition result, wherein the target object is an object that is removed from the display cabinet in at least one image to be recognized;
[0008] Extracting a target object image feature of a target object from at least one image to be identified;
[0009] Acquire the target location object image features corresponding to the target location and the target location object information corresponding to the target location;
[0010] In response to the target location object image feature matching the target object image feature, the target location object information is determined as the object information of the target object.
[0011] In one implementation of the present disclosure, the method further includes:
[0012] In response to the target position object image feature not matching the target object image feature, acquiring the same-layer target position object image feature corresponding to the same-layer target position and the same-layer target position object information corresponding to the same-layer target position, wherein the same-layer target position is any other position in the display cabinet at the same display layer as the target position;
[0013] In response to the image feature of the object at the target position on the same layer matching the image feature of the target object, the object information at the target position on the same layer is determined as the object information of the target object.
[0014] In one implementation of the present disclosure, the method further includes:
[0015] In response to the target position object image feature and the same-layer target position object image feature both not matching the target object image feature, obtaining the same-showcase position object image feature corresponding to the same display case position and the same-showcase position object information corresponding to the same display case position, the same display case position being any other position in the display case except the target position and the same-layer target position;
[0016] In response to the image feature of the object at the same display case location matching the image feature of the target object, the object information at the same display case location is determined as the object information of the target object.
[0017] In one implementation of the present disclosure, obtaining a target location object image feature corresponding to the target location and target location object information corresponding to the target location includes:
[0018] Acquire a storage item table corresponding to the display cabinet, the storage item table including at least one position item index, the position item index being used to indicate a corresponding relationship between an item stored in the display cabinet and a position where the item is stored;
[0019] Obtain the target location item index corresponding to the target location according to the storage item table;
[0020] The target location item image feature is read in the image feature library according to the target location item index, and the target location item information is read in the commodity information library according to the target location item index.
[0021] In one implementation of the present disclosure, at least one image to be recognized is captured after a door of the display cabinet is unlocked;
[0022] Get the storage item table corresponding to the display cabinet, including:
[0023] In response to the number of times that the door of the showcase is unlocked after the items stored in the showcase are maintained is 1, obtaining an initial stored item table corresponding to the showcase, and determining the initial stored item table as the stored item table;
[0024] Or, in response to the door of the showcase being unlocked more than once after the items stored in the showcase are maintained, an updated stored item table corresponding to the showcase is obtained, and the updated stored item table is determined as the stored item table.
[0025] In one implementation of the present disclosure, the method further includes:
[0026] The storage item table is updated according to the item information of the target item and the target location.
[0027] In one implementation of the present disclosure, the method further includes:
[0028] In response to the door of the display cabinet being unlocked more than once after the items stored in the display cabinet are maintained, and the updated stored object image features obtained by querying in the image feature library according to any position object index in the updated stored object table do not match the target object image features, obtaining at least one different position object index in the initial stored object table that is different from the stored object table;
[0029] Reading image features of items at different positions in an image feature library according to the index of items at different positions;
[0030] Read the information of the items at different positions in the commodity information database according to the index of the items at different positions;
[0031] In response to the different-position item image feature matching the target item image feature, the different-position item information is determined as the item information of the target item.
[0032] In a second aspect, an object identification device is provided in an embodiment of the present disclosure.
[0033] Specifically, the object identification device includes:
[0034] An image acquisition module is configured to acquire at least one image to be identified collected from the display cabinet;
[0035] an image recognition module, configured to perform image recognition on at least one image to be recognized, and determine a target location where a target object is stored in the display cabinet according to the image recognition result, wherein the target object is an object that is removed from the display cabinet in at least one image to be recognized;
[0036] A feature extraction module is configured to extract a target object image feature of a target object from at least one image to be identified;
[0037] An object information acquisition module is configured to acquire a target position object image feature corresponding to the target position and target position object information corresponding to the target position;
[0038] The item information determination module is configured to determine the target location item information as the item information of the target item in response to the target location item image feature matching the target item image feature.
[0039] In a third aspect, an electronic device is provided in an embodiment of the present disclosure, comprising a memory, a processor, and a computer program stored on the memory, wherein the processor executes the computer program to implement the method described in the first aspect or any one of the implementations of the first aspect.
[0040] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed by a processor, the method described in the first aspect or any one of the implementations of the first aspect is implemented.
[0041] In a fifth aspect, a computer program product is provided in an embodiment of the present disclosure, which includes computer instructions, and when the computer instructions are executed by a processor, the method described in the first aspect or any implementation manner of the first aspect is implemented.
[0042] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0043] In the above technical solution, by acquiring at least one image to be recognized collected by the display cabinet, image recognition is performed on the at least one image to be recognized, and the target position where the target item is stored in the display cabinet is determined according to the image recognition result, and the target position item image feature corresponding to the target position and the target position item information corresponding to the target position are obtained. In general, since the service personnel of the display cabinet maintenance provider will periodically maintain the items stored in the display cabinet to ensure that the position where the corresponding item is stored in the display cabinet matches the corresponding item storage position agreed in advance, the target position item image feature can be understood as the image feature of the item that should be stored in the target position according to the prior agreement. Similarly, the target position item information can be understood as the information of the item that should be stored in the target position according to the prior agreement. Then, by extracting the target item image feature of the target item from the at least one image to be recognized, when the target position item image feature matches the target item image feature, it can be understood that the target item in the at least one image to be recognized is determined to be the item that should be stored in the target position according to the prior agreement, and therefore the target position item information can be determined as the item information of the target item. In summary, the solution of the present disclosure reduces the amount of computation required for matching image features, increases the speed of obtaining object information, and improves user experience, while ensuring that relatively accurate object information in at least one image to be identified is obtained as much as possible.
[0044] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:
[0046] Figure 1 A schematic structural block diagram of a display cabinet according to an embodiment of the present disclosure is shown.
[0047] Figure 2 A schematic structural block diagram of a mainboard according to an embodiment of the present disclosure is shown.
[0048] Figure 3 A schematic structural block diagram of a control board according to an embodiment of the present disclosure is shown.
[0049] Figure 4 A schematic structural block diagram of a power management module according to an embodiment of the present disclosure is shown.
[0050] Figure 5 A flow chart of an object identification method according to an embodiment of the present disclosure is shown.
[0051] Figure 6 A schematic structural diagram of a display cabinet according to an embodiment of the present disclosure is shown.
[0052] Figure 7 A schematic top view of a display cabinet according to an embodiment of the present disclosure is shown.
[0053] Figure 8 A schematic structural block diagram of an object identification device according to an embodiment of the present disclosure is shown.
[0054] Fig. 9 A schematic structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.
[0055] Fig.10 It is a structural diagram of a computer system suitable for implementing an object identification method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0056] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.
[0057] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in the specification, and do not exclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof exist or are added.
[0058] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0059] As mentioned above, with the development of technology and the improvement of people's living standards, merchants or enterprises no longer simply place items on shelves when storing them. Instead, in order to facilitate users to understand the information of items, items can be placed in display cabinets to store and display the goods at the same time. When the user needs to move the item out of the display cabinet, the user can open the display cabinet by himself and perform the corresponding operation.
[0060] In recent years, the number of display cabinets put into operation has gradually increased. In the process of using the display cabinets, merchants or enterprises generally need to identify the items in the display cabinets to determine the items removed from the display cabinets, and make statistics based on the above information. Based on the statistical results, the number and type of remaining items in the display cabinets can be known. In addition, further settlement can also be made based on the statistical results.
[0061] In one embodiment, after the display cabinet is unlocked, at least one image can be captured by at least one camera arranged on the display cabinet, and the image can be uploaded to a server or a cloud. The server or the cloud can extract image features in the image, and match the extracted image features with image features of the corresponding object obtained in advance, and obtain information about the object removed from the display cabinet based on the matching result.
[0062] However, during the implementation process, the applicant discovered that in recent years, due to the rapid increase in the types of items stored in display cabinets, the server or cloud needs to obtain the image features corresponding to the larger types of items in advance, that is, the amount of data of the image features obtained in advance by the server or cloud is large, which results in the above-mentioned scheme matching the extracted image features with the image features of the corresponding items obtained in advance. In order to ensure that the matching results are more accurate, the extracted image features need to be matched with more image features respectively, resulting in a large amount of calculation required for matching based on image features, and a slow speed of obtaining item information, which damages the user experience.
[0063] In view of the above-mentioned defects, in one embodiment of the present disclosure, a method for identifying an object is proposed. The method obtains at least one image to be identified collected by a display cabinet, performs image recognition on the at least one image to be identified, determines the target position where the target object is stored in the display cabinet according to the image recognition result, obtains the target position object image feature corresponding to the target position and the target position object information corresponding to the target position, wherein, because under normal circumstances, the service personnel of the display cabinet maintenance company will periodically maintain the objects stored in the display cabinet to ensure that the position where the corresponding object is stored in the display cabinet matches the corresponding object storage position agreed in advance, the target position object image feature can be understood as the image feature of the object that should be stored in the target position according to the prior agreement, and similarly, the target position object information can be understood as the information of the object that should be stored in the target position according to the prior agreement, and then extracts the target object image feature of the target object from the at least one image to be identified. When the target position object image feature matches the target object image feature, it can be understood that the target object in the at least one image to be identified is determined to be the object that should be stored in the target position according to the prior agreement, and therefore the target position object information can be determined as the object information of the target object. In summary, the solution of the present disclosure reduces the amount of computation required for matching image features, increases the speed of obtaining object information, and improves user experience, while ensuring that relatively accurate object information in at least one image to be identified is obtained as much as possible.
[0064] The object identification method provided in the embodiment of the present application can be applied to a display cabinet, and the display cabinet can have a temperature control function, and the temperature control function can be a refrigeration function, for example, the display cabinet can be a refrigerated display cabinet, a frozen display cabinet, a refrigerator, a freezer, a refrigerator, a wine cabinet, a cosmetics preservation cabinet, etc.; the temperature control function can also be a heating function, for example, the display cabinet can be a warming cabinet, a heated display cabinet, a hot drink cabinet, etc. The embodiment of the present application does not impose any restrictions on the specific type of the display cabinet.
[0065] For example, Figure 1 A schematic structural block diagram of a display cabinet according to an embodiment of the present disclosure is shown as follows: Figure 1 As shown, the display cabinet 100 may include a compressor 11, a condenser 12, a throttling element 13 and an evaporator 14, wherein the compressor 11, the condenser 12, the throttling element 13 and the evaporator 14 are connected by pipes filled with refrigerant to form a closed pipeline, constituting a refrigeration system or heating system capable of circulating refrigerant.
[0066] Among them, the compressor refers to a driven fluid machinery used to increase the low-pressure refrigerant to a high-pressure refrigerant. The compressor can inhale low-temperature and low-pressure gaseous refrigerant, drive the piston to compress the refrigerant through the operation of the motor, and then discharge the high-temperature and high-pressure gaseous refrigerant to provide power for the refrigeration cycle. The compressor can include reciprocating compressors, screw compressors, rotary compressors, scroll compressors and centrifugal compressors, etc. The embodiments of the present application do not impose any restrictions on the specific types of compressors.
[0067] The condenser refers to a heat exchanger used to exchange heat between the refrigerant in the condenser and the air outside the condenser to achieve heat release. Specifically, the condenser may include a long pipe for accommodating the refrigerant, which may usually be made of a metal material with strong thermal conductivity such as copper, and the pipe may usually be coiled into a spiral shape. In addition, in order to improve the heat exchange efficiency of the condenser, a heat sink with excellent thermal conductivity may be provided on the pipe to increase the heat dissipation area, thereby accelerating the speed of heat exchange and improving the heat exchange efficiency. It is also possible to speed up the flow of air around the condenser by providing a blower or fan matching the condenser, thereby accelerating the speed of heat exchange and improving the heat exchange efficiency.
[0068] The throttling element is used to throttle the liquid refrigerant at room temperature and high pressure through the throttling element to become a low-temperature and low-pressure gas refrigerant, wherein the throttling element can also be called a throttling element or a regulating valve, and the throttling element can include an expansion valve, a capillary tube, etc. In addition, the throttling element can also control the flow of the refrigerant flowing through the throttling element to avoid the flow of the refrigerant flowing through the throttling element being too large or too small. Among them, if the flow of the refrigerant flowing through the throttling element is too large, the refrigerant flowing out of the throttling element will still include liquid refrigerant, and the liquid refrigerant will enter the compressor to produce liquid hammer, causing damage to the compressor; if the flow of the refrigerant flowing through the throttling element is too small, it will cause too little refrigerant to enter the compressor, reducing the working efficiency of the compressor.
[0069] The evaporator refers to a heat exchanger used to exchange heat between the refrigerant in the evaporator and the air outside the condenser to achieve heat absorption. Specifically, the evaporator may include a long pipe for accommodating the refrigerant, which may usually be made of a metal material with strong thermal conductivity such as copper, and the pipe may usually be coiled into a spiral shape. In addition, in order to improve the heat exchange efficiency of the condenser, a heat sink with excellent thermal conductivity may be provided on the pipe to increase the heat dissipation area, thereby accelerating the speed of heat exchange and improving the heat exchange efficiency. It is also possible to provide a blower or fan matching the evaporator to speed up the flow of air around the evaporator, thereby accelerating the speed of heat exchange and improving the heat exchange efficiency.
[0070] Refrigerant can also be called refrigerant, refrigerant or snow seed, which refers to the medium substance that completes energy conversion in the refrigeration system or heating system. Refrigerant is usually a substance that is easy to undergo reversible phase change (such as absorbing heat to become gas, releasing heat to become liquid). Through reversible phase change, refrigerant can transfer heat. Specifically, when the gaseous refrigerant is under pressure, it releases heat and becomes liquid. When the high-pressure liquid is decompressed and becomes gas, it absorbs heat. Refrigerants can include ammonia, air, water, salt water, Freon (also known as chlorofluorocarbon, chlorofluorocarbon), etc., among which Freon can include trichloromonofluoromethane, dichloromonofluoromethane, trifluoromethane, tetrafluoroethane, trichlorodifluoroethane, etc.
[0071] When the display cabinet is a display cabinet with refrigeration function, low-temperature and low-pressure vapor refrigerant flows from the evaporator into the compressor, and the compressor compresses the low-temperature and low-pressure vapor refrigerant and makes the high-temperature and high-pressure gaseous refrigerant flow into the condenser; the high-temperature and high-pressure gaseous refrigerant exchanges heat with the air outside the condenser through the condenser, so that the high-temperature and high-pressure gaseous refrigerant is cooled into a liquid refrigerant at normal temperature and high pressure in the condenser, and then the liquid refrigerant at normal temperature and high pressure flows into the throttling element, and the throttling element throttles the liquid refrigerant at normal temperature and high pressure, so that the refrigerant flowing out of the throttling element is converted into a liquid refrigerant at low temperature and low pressure; the liquid refrigerant at low temperature and low pressure flows into the evaporator, and the liquid refrigerant at low temperature and low pressure exchanges heat with the air outside the evaporator through the evaporator, and the liquid refrigerant at low temperature and low pressure evaporates and gasifies into a gaseous refrigerant at low temperature and low pressure to absorb heat. The air outside the evaporator can be introduced into the storage area of the display cabinet, and the air outside the condenser can be introduced into the outside of the display cabinet, thereby transferring the heat in the storage area of the display cabinet to the outside of the display cabinet to cool the storage area of the display cabinet.
[0072] When the display cabinet is a display cabinet with a heating function, the low-temperature and low-pressure vapor refrigerant flows from the condenser into the compressor, and the compressor compresses the low-temperature and low-pressure vapor refrigerant and allows the high-temperature and high-pressure gaseous refrigerant to flow into the evaporator; the high-temperature and high-pressure gaseous refrigerant exchanges heat with the air outside the evaporator through the evaporator, so that the high-temperature and high-pressure gaseous refrigerant is cooled into a normal-temperature and high-pressure liquid refrigerant in the evaporator, and then the normal-temperature and high-pressure liquid refrigerant flows into the throttling element, and the throttling element throttles the normal-temperature and high-pressure liquid refrigerant, so that the refrigerant flowing out of the throttling element is converted into a low-temperature and low-pressure liquid refrigerant; the low-temperature and low-pressure liquid refrigerant flows into the condenser, and the low-temperature and low-pressure liquid refrigerant exchanges heat with the air outside the condenser through the condenser, and the low-temperature and low-pressure liquid refrigerant evaporates and gasifies into a low-temperature and low-pressure gaseous refrigerant to absorb heat. The air outside the evaporator can be introduced into the storage area of the display cabinet, and the air outside the condenser can be introduced into the outside of the display cabinet, thereby transferring the heat outside the display cabinet to the storage area of the display cabinet to heat the storage area of the display cabinet.
[0073] In one embodiment of the present application, a display cabinet includes a cabinet body and a cabinet door, wherein a control board and a power management module may be disposed in the cabinet body, and a main board may be disposed in the cabinet door.
[0074] In one embodiment of the present application, Figure 2 A schematic structural block diagram of a mainboard according to an embodiment of the present disclosure is shown. Figure 2 As shown, the mainboard 200 includes a processor 201 , a random access memory 202 , a flash memory 203 , a wireless local area network Bluetooth module 204 , a gyroscope 205 , a pressure sensor 206 , a microphone 207 , a speaker 208 , a camera 209 and a cellular communication module 210 .
[0075] The processor may include one or more processing units, for example, the processor may include one or more of an application processor, a modem processor, a graphics processor, an image signal processor, a controller, a memory, a video codec, a digital signal processor, a baseband processor, and / or a neural network processor. Different processing units may be independent devices or integrated into one or more processors.
[0076] Among them, the image signal processor is used to process the data fed back by the camera. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the image signal processor for processing and converts it into an image visible to the naked eye. The image signal processor can also perform algorithm optimization on the noise, brightness, and skin color of the image. The image signal processor can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the image signal processor can be set in the camera.
[0077] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals. For example, digital signal processors can be used to perform Fourier transform on frequency point energy.
[0078] Video codecs are used to compress or decompress digital video. A showcase can support one or more video codecs. In this way, the showcase can play or record videos in multiple coding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0079] Neural network computing processors can quickly process input information and continuously self-learn by drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain. Neural network computing processors can realize applications such as intelligent cognition of display cabinets, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0080] In some embodiments, the processor may include one or more interfaces. The interface may include an integrated circuit interface, an integrated circuit built-in audio interface, a pulse code modulation interface, a universal asynchronous receiver and transmitter interface, a mobile industry processor interface, a general purpose input and output interface, a subscriber identity module interface, and / or a universal serial bus interface, etc.
[0081] The random access memory 202 can be used to store computer executable program codes, which include instructions and data. The processor 201 executes various functional applications and data processing of the showcase by running the instructions stored in the random access memory 202. The random access memory 202 may include a program storage area and a data storage area. The program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data (such as audio data, image data, etc.) created during the use of the showcase, etc.
[0082] The flash memory 203 can be used to realize the storage capacity of the extended display cabinet. The flash memory 203 can communicate with the processor 201 through the flash memory interface to realize the data storage function. For example, files such as music and video can be stored in the flash memory.
[0083] The processor 201 , the random access memory 202 and the flash memory 203 can form a minimum system to provide a system operating environment.
[0084] The wireless LAN Bluetooth module 204 can provide wireless communication solutions including wireless LAN, Bluetooth, global navigation satellite system, frequency modulation, short-range wireless communication technology, infrared technology, etc. applied to the display cabinet. The wireless LAN Bluetooth module 204 can be one or more devices integrating at least one communication processing module. The wireless LAN Bluetooth module 204 receives electromagnetic waves via an antenna, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 201. The wireless LAN Bluetooth module 204 can also receive a signal to be sent from the processor 201, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna. In one embodiment of the present application, communication with the user's terminal can be performed through the wireless LAN Bluetooth module.
[0085] The cellular communication module 210 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the display cabinet. The cellular communication module 210 may include at least one filter, a switch, a power amplifier, a low noise amplifier, etc. The cellular communication module 210 can receive electromagnetic waves by an antenna, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The cellular communication module 210 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna. In some embodiments, at least some of the functional modules of the cellular communication module 210 can be set in the processor 201. In some embodiments, at least some of the functional modules of the cellular communication module 210 can be set in the same device as at least some of the modules of the processor 201. In one embodiment of the present application, communication with the cloud server of the display cabinet operator can be carried out through the cellular communication module 210.
[0086] Through the wireless LAN Bluetooth module 204 and the cellular communication module 210, the display cabinet can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications, general packet radio service, code division multiple access, wideband code division multiple access, time division code division multiple access, long term evolution, etc.
[0087] The gyroscope 205 can be used to determine the real-time attitude of the display case door.
[0088] The pressure sensor 206 is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 206 can be set on the display screen. There are many types of pressure sensors 206, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 206, the capacitance between the electrodes changes, and the intensity of the pressure is determined according to the change in capacitance. When a touch operation acts on the display screen, the touch operation intensity is identified by the pressure sensor 206, and the touch position can also be calculated according to the identification signal of the pressure sensor 206. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the beverage selection application icon, an instruction to view the specific information of the beverage is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the beverage selection application icon, an instruction to purchase a beverage is executed.
[0089] Microphone 207, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 207 with their mouth to input the sound signal into the microphone 207. The display cabinet can be provided with at least one microphone 207. In other embodiments, the display cabinet can be provided with two microphones 207, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the display cabinet can also be provided with three, four or more microphones 207 to realize the collection of sound signals, noise reduction, identification of sound sources, realization of directional recording function, etc. In one embodiment of the present application, the sound of the display cabinet when it is running can be collected by the microphone 207.
[0090] The speaker 208, also called a "loudspeaker", is used to convert the audio electrical signal into a sound signal. The display cabinet can play music or a prompt voice through the speaker 208.
[0091] The camera 209 is used to capture images, which include static images and dynamic images (i.e., videos). The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge-coupled device or a complementary metal oxide semiconductor phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the image signal processor to convert it into a digital image signal. The image signal processor outputs the digital image signal to the digital signal processor for processing. The digital signal processor converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the display cabinet may include one or more cameras 209. In one embodiment of the present application, the camera 209 may have the function of heating itself to ensure that its lens does not fog up.
[0092] In one embodiment of the present application, Figure 3 A schematic structural block diagram of a control panel according to an embodiment of the present disclosure is shown as follows: Figure 3 As shown, the control board 300 includes a power input interface 301, a power output interface 302, a metering chip 303, a micro control unit chip 304, a real-time clock chip, a light switch interface 305, a temperature control switch interface 306, an evaporating fan interface 307, a compressor interface 308, a condensing fan interface 309, a temperature sensor interface 310, a communication interface 311 and a power interface 312.
[0093] Among them, the metering chip 303 is an electric quantity sensor, and voltage data, current data, real-time power data and average power data can be obtained through the metering chip 303. The time of the microcontrol unit chip 304 can be maintained through the real-time clock chip. The control signal of the light switch of the display cabinet can be received through the light switch interface 305. The control signal of the temperature control switch of the display cabinet can be received through the temperature control switch interface 306. The evaporation fan control signal can be sent to the evaporation fan of the display cabinet through the evaporation fan interface 307 to control the operation of the evaporation fan. The compressor control signal can be sent to the compressor of the display cabinet through the compressor interface 308 to control the operation of the compressor. The condensing fan control signal can be sent to the condensing fan of the display cabinet through the condensing fan interface 309 to control the operation of the condensing fan. The temperature sensor data collected by one or more temperature sensors can be received through the temperature sensor interface 310 to determine the temperature value of one or more positions of the display cabinet.
[0094] In one embodiment of the present application, Figure 4 A schematic structural block diagram of a power management module according to an embodiment of the present disclosure is shown as follows: Figure 4 As shown, the power management module 400 includes an AC to DC conversion module 401, a charging management module 402 and a battery 403. The power management module 400 is used to power the mainboard and the control board and manage the charging and discharging of the battery. The power management module 400 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 400 can also be set in the processor.
[0095] In one embodiment of the present application, the display cabinet further comprises a display screen. The display cabinet realizes the display function through a graphics processor, a display screen, and an application processor. The graphics processor is a microprocessor for image processing, connected to the display screen and the application processor. The graphics processor is used to perform mathematical and geometric calculations for graphics rendering. The processor may include one or more graphics processors, which execute program instructions to generate or change display information.
[0096] The display screen is used to display static images, videos, etc. The display screen includes a display panel. The display panel can be a liquid crystal display, an organic light emitting diode, an active matrix organic light emitting diode or an active matrix organic light emitting diode, a flexible light emitting diode, a quantum dot light emitting diode, etc. In some embodiments, the display cabinet may include one or more display screens.
[0097] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the display cabinet. In other embodiments of the present application, the display cabinet may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware. Exemplarily, by combining different components, the display cabinet in the embodiment of the present application can be any one of a retail cabinet, a heating cabinet, a refrigerated cabinet, a freezer, a combination cabinet, and a display cabinet.
[0098] Figure 5 A flowchart of an object identification method according to an embodiment of the present disclosure is shown. The method can be applied to a server or a terminal device, wherein the server may include a cloud server, a distributed server or other data processing server, and the terminal device may include an intelligent mobile communication terminal, a tablet computer, a laptop computer, a desktop computer, a wearable device, etc.
[0099] like Figure 5 As shown, the object identification method includes the following steps S101-S105:
[0100] In step S101, at least one image to be recognized collected from a display cabinet is obtained.
[0101] In one embodiment of the present disclosure, obtaining the image to be identified may be receiving the image to be identified sent by the image acquisition device to be identified that matches the showcase, or reading the image to be identified stored in advance, or receiving the image to be identified sent by other devices or systems. The image to be identified may be a static image, or a dynamic image or video.
[0102] In one embodiment of the present disclosure, the image to be identified may include at least a portion of an item entrance and exit of a display cabinet, wherein the item entrance and exit of the display cabinet can be understood as items stored in the display cabinet can only be moved out of the display cabinet through the item entrance and exit of the display cabinet, and items outside the display cabinet can only be moved into the display cabinet through the item entrance and exit of the display cabinet. The item entrance and exit can be closed or opened by a door of the display cabinet.
[0103] It should be noted that, under the premise of including at least a part of the item entrance and exit of the display cabinet, the image to be recognized may also include the image of all or part of the display cabinet, or may also include the image of all or part of the items in the display cabinet.
[0104] In one embodiment of the present disclosure, the image acquisition device to be identified that matches the display cabinet can be an image acquisition device that is independent of the display cabinet and is connected to the display cabinet in a wired or wireless manner; or, the image acquisition device to be identified that matches the display cabinet can also be an image acquisition device set on the cabinet body or cabinet door of the display cabinet. For example, the image acquisition device to be identified can be set on the top or bottom of the cabinet door, or on the side wall of the cabinet door close to the cabinet body, or on the side wall of the cabinet door away from the cabinet body, or on the door handle of the cabinet door. The present application does not limit the specific setting position of the image acquisition device to be identified. The display cabinet may include one or more image acquisition devices to be identified, and the present application does not limit the specific number of image acquisition devices to be identified.
[0105] For example, Figure 6 A schematic structural diagram of a display cabinet according to an embodiment of the present disclosure is shown. Figure 7 A schematic top view of a display cabinet according to an embodiment of the present disclosure is shown. Figure 6 as well as Figure 7 As shown, the display cabinet includes a cabinet body 501 , a cabinet door 502 , and a to-be-recognized image acquisition device 503 , wherein the to-be-recognized image acquisition device 503 is connected to the top surface of the inner wall of the cabinet body 501 .
[0106] Among them, the cabinet 501 includes a display area 511 and an item entrance and exit 521. The display area 511 is connected to the outside of the cabinet 501 through the item entrance and exit 521. The display area 511 is used to accommodate items stored in the display cabinet. The items in the display area 511 can be moved out of the display cabinet through the item entrance and exit 521, or the items can be moved into the display area 511 through the item entrance and exit 521.
[0107] The cabinet door of the display cabinet can be connected to the cabinet body in a rotatable manner or in a slidable manner, or the cabinet door can be connected to the cabinet body in a folding manner. It should be noted that the embodiment of the present application does not specifically limit the manner in which the cabinet door is connected to the cabinet body. For ease of understanding, Figure 6 as well as Figure 7 The cabinet door 502 is rotatably connected to the cabinet body 501 as an example for description. The cabinet door 502 is used to open or close the article entrance 521.
[0108] The image acquisition device 503 to be identified can be used to acquire at least one of the images of the entire display area 511, the images of a portion of the display area 511, and the images of the item entrance and exit 521 to obtain the image to be identified. It should be noted that the display cabinet may include only one image acquisition device 503 to be identified, or may include multiple image acquisition devices 503 to be identified that respectively acquire images to be identified from different directions. The present disclosure does not specifically limit the number of image acquisition devices 503 to be identified.
[0109] In step S102, image recognition is performed on at least one image to be recognized, and a target location where the target object is stored in the display cabinet is determined according to the image recognition result.
[0110] The target object is an object that has been removed from the display cabinet in at least one image to be identified.
[0111] In one embodiment of the present disclosure, image recognition is performed on at least one image to be recognized, and the target position of the target object in the display cabinet is determined based on the image recognition result. This can be understood as performing image recognition on at least one image to be recognized according to a pre-acquired algorithm to obtain the position information of the target object, and can also be understood as inputting at least one image to be recognized into a pre-acquired image recognition model to obtain the position information output by the image recognition model.
[0112] It should be noted that in order to ensure the accuracy of the determined target position, at least two images to be identified can be obtained, and image recognition can be performed on the at least two images to be identified respectively to determine the positions of the target object in the at least two images to be identified respectively, and the motion trajectory of the target object can be fitted according to the determined positions, and the target position of the target object in the display cabinet can be estimated according to the motion trajectory.
[0113] In one embodiment of the present disclosure, the items in the display cabinet can be understood as the smallest stock keeping unit (SKU) for storage in the display cabinet. The unit of the items in the display cabinet can be piece, box, etc. The present disclosure does not limit the specific implementation method of the items in the display cabinet.
[0114] In step S103, target object image features of the target object are extracted from at least one image to be identified.
[0115] In one embodiment of the present disclosure, extracting target item image features of a target item from at least one image to be identified can be understood as performing image feature extraction on at least one image to be identified according to a pre-acquired image feature extraction algorithm to obtain the target item image features of the target item; it can also be understood as inputting at least one image to be identified into a pre-acquired image feature extraction model to obtain the target item image features output by the image feature extraction model.
[0116] In step S104, the target location object image features corresponding to the target location and the target location object information corresponding to the target location are acquired.
[0117] In one embodiment of the present disclosure, obtaining target location object image features corresponding to the target location and target location object information corresponding to the target location can be understood as reading the target location object image features corresponding to the target location and the target location object information corresponding to the target location from a corresponding database acquired in advance, and can also be understood as sending target location indication information for indicating the target location to other devices or systems, and receiving the target location object image features corresponding to the target location and the target location object information corresponding to the target location sent by other devices or systems in response to the target location indication information.
[0118] It should be noted that the target location item image features can be understood as the image features of the items that should be stored at the target location according to the prior agreement. The target location item image features can be understood as image features obtained by capturing images of the items that should be stored at the target location according to the prior agreement from one or more perspectives, and extracting image features based on the captured images. Similarly, the target location item information can be understood as the item information corresponding to the items that should be stored at the target location according to the prior agreement, wherein the item information can include the name, type, selling price, etc. of the corresponding item.
[0119] In step S105 , in response to the target position object image feature matching the target object image feature, the target position object information is determined as the object information of the target object.
[0120] In one embodiment of the present disclosure, the target position object image feature matches the target object image feature, which can be understood as the target position object image feature is the same as the target object image feature, or the target position object image feature includes the target object image feature, or the similarity between the target position object image feature and the target object image feature is greater than or equal to a similarity threshold, wherein the similarity between the target position object image feature and the target object image feature can be calculated based on a pre-acquired similarity algorithm by substituting the target position object image feature and the target object image feature into the calculation.
[0121] In the technical solution of the present disclosure, at least one image to be identified is acquired by the display cabinet, image recognition is performed on the at least one image to be identified, and the target position where the target object is stored in the display cabinet is determined according to the image recognition result, and the target position object image feature corresponding to the target position and the target position object information corresponding to the target position are acquired. In general, since the service personnel of the display cabinet maintenance company will periodically maintain the objects stored in the display cabinet to ensure that the position where the corresponding object is stored in the display cabinet matches the corresponding object storage position agreed in advance, the target position object image feature can be understood as the image feature of the object that should be stored in the target position according to the prior agreement. Similarly, the target position object information can be understood as the information of the object that should be stored in the target position according to the prior agreement. Then, the target object image feature of the target object is extracted from the at least one image to be identified. When the target position object image feature matches the target object image feature, it can be understood that the target object in the at least one image to be identified is determined to be the object that should be stored in the target position according to the prior agreement. Therefore, the target position object information can be determined as the object information of the target object. In summary, the solution of the present disclosure reduces the amount of computation required for matching image features, increases the speed of obtaining object information, and improves user experience, while ensuring that relatively accurate object information in at least one image to be identified is obtained as much as possible.
[0122] In one implementation of the present disclosure, the method further includes the following steps:
[0123] In response to the target position object image feature not matching the target object image feature, acquiring the same-layer target position object image feature corresponding to the same-layer target position and the same-layer target position object information corresponding to the same-layer target position;
[0124] The same-layer target position is any other position in the display cabinet on the same display layer as the target position;
[0125] In response to the image feature of the object at the target position on the same layer matching the image feature of the target object, the object information at the target position on the same layer is determined as the object information of the target object.
[0126] In one embodiment of the present disclosure, the image features of the same-layer target position items can be understood as the image features of the same-layer target items at other locations on the same display layer as the target position that should be stored in the display cabinet according to the prior agreement, wherein the image features of the same-layer target position items can be understood as including image features obtained by capturing images of the same-layer target items from one or more viewing angles and extracting image features based on the captured images. Similarly, the same-layer target position item information can be understood as the item information of the above-mentioned same-layer target items.
[0127] In one embodiment of the present disclosure, obtaining the same-layer target position object image features corresponding to the same-layer target position, and the same-layer target position object information corresponding to the same-layer target position can be understood as reading the same-layer target position object image features and the same-layer target position object information corresponding to other positions on the same display layer as the target position from a corresponding database obtained in advance, and can also be understood as sending target display layer indication information for indicating the display layer where the target position is located to other devices or systems, and receiving the same-layer target position object image features corresponding to the same-layer target position, and the same-layer target position object information corresponding to the same-layer target position, which are sent by other devices or systems in response to the target display layer indication information.
[0128] In one embodiment of the present disclosure, the image features of the object at the target position on the same layer match the image features of the target item, which can be understood as the image features of the object at the target position on the same layer are the same as the image features of the target item, or the image features of the object at the target position on the same layer include the image features of the target item, or the similarity between the image features of the object at the target position on the same layer and the image features of the target item is greater than or equal to a similarity threshold, wherein the similarity between the image features of the object at the target position on the same layer and the image features of the target item can be calculated by substituting the image features of the object at the target position on the same layer and the image features of the target item based on a pre-acquired similarity algorithm.
[0129] In the technical solution disclosed in the present invention, it is considered that when the image features of the target position object and the target object image features fail to match successfully, it may be because the maintenance personnel or users of the display cabinet mistakenly placed the objects that should be stored at other positions on the same display layer of the target position according to the prior agreement at the target position. Therefore, in response to the mismatch between the image features of the target position object and the target object image features, the image features of the object at the target position on the same layer corresponding to the target position on the same layer and the object information at the target position on the same layer corresponding to the target position on the same layer are obtained, and in response to the match between the image features of the object at the target position on the same layer and the image features of the target object image features, the object information at the target position on the same layer is determined as the object information of the target object. This can ensure that the object information of the target object moved out of the display cabinet can be obtained while minimizing the amount of calculation for image feature matching, thereby improving the user experience.
[0130] In one implementation of the present disclosure, the method further includes the following steps:
[0131] In response to the target position object image feature and the same-layer target position object image feature both not matching the target object image feature, obtaining the same-showcase position object image feature corresponding to the same display case position and the same-showcase position object information corresponding to the same display case position, the same display case position being any other position in the display case except the target position and the same-layer target position;
[0132] In response to the image feature of the object at the same display case location matching the image feature of the target object, the object information at the same display case location is determined as the object information of the target object.
[0133] In one embodiment of the present disclosure, the image features of items at the same display cabinet position can be understood as the image features of items at the same display cabinet position that should be stored in the display cabinet according to a prior agreement, except for the position in the display layer where the target position is located. The image features of items at the same display cabinet position can be understood as image features obtained by performing image capture of the same display cabinet position from one or more viewing angles and performing image feature extraction based on the captured images. Similarly, the information of items at the same display cabinet position can be understood as the item information of the items at the same display cabinet position mentioned above.
[0134] In one embodiment of the present disclosure, obtaining the image features of objects at the same display cabinet position corresponding to the same display cabinet position, and the object information at the same display cabinet position corresponding to the same display cabinet position, can be understood as reading the image features of objects at the same display cabinet position and the object information at the same display cabinet position corresponding to any position other than the position in the display layer where the target position is located in the same display cabinet as the target position from a corresponding database obtained in advance, and can also be understood as sending target display cabinet indication information for indicating the display cabinet where the target position is located to other devices or systems, and receiving the image features of objects at the same display cabinet position and the object information at the same display cabinet position sent by other devices or systems in response to the target display cabinet indication information.
[0135] In one embodiment of the present disclosure, the image features of the object at the same display cabinet position match the image features of the target object, which can be understood as the image features of the object at the same display cabinet position are the same as the image features of the target object, or the image features of the object at the same display cabinet position include the image features of the target object, or the similarity between the image features of the object at the same display cabinet position and the image features of the target object is greater than or equal to a similarity threshold, wherein the similarity between the image features of the object at the same display cabinet position and the image features of the target object can be calculated by substituting the image features of the object at the same display cabinet position and the image features of the target object based on a pre-acquired similarity algorithm.
[0136] In the technical solution disclosed in the present invention, it is considered that when both the image features of the target position object and the image features of the target position object on the same layer do not match the image features of the target object, it may be because the maintenance personnel or the user of the display cabinet mistakenly placed the object that should be stored in any position of the display layer other than the display layer where the target position is located in the display cabinet according to the prior agreement at the target position. Therefore, in response to the fact that both the image features of the target position object and the image features of the target position object on the same layer do not match the image features of the target object, the image features of the object at the same display cabinet position corresponding to the same display cabinet position and the object information at the same display cabinet position corresponding to the same display cabinet position are obtained, and in response to the fact that the image features of the object at the same display cabinet position match the image features of the target object, the object information at the same display cabinet position is determined as the object information of the target object. This ensures that the object information of the target object removed from the display cabinet can be obtained while minimizing the amount of computation for matching the image features, thereby improving the user experience.
[0137] In one implementation of the present disclosure, obtaining the target location object image features corresponding to the target location and the target location object information corresponding to the target location can be achieved through the following steps:
[0138] Acquire a storage item table corresponding to the display cabinet, the storage item table including at least one position item index, the position item index being used to indicate a corresponding relationship between an item stored in the display cabinet and a position where the item is stored;
[0139] Obtain the target location item index corresponding to the target location according to the storage item table;
[0140] The target location item image feature is read in the image feature library according to the target location item index, and the target location item information is read in the commodity information library according to the target location item index.
[0141] In one embodiment of the present disclosure, the image feature library can be understood as a database for storing at least one location item index and an item image feature corresponding to each location item index, wherein the item image feature can be understood as being obtained by extracting image features from at least one image of the corresponding item. The image feature library can be stored in advance or obtained from other devices or systems.
[0142] In the technical solution disclosed in the present invention, by obtaining a storage item table corresponding to the display cabinet, and obtaining a target location item index corresponding to the target location based on the storage item table, reading the target location item image features in an image feature library based on the target location item index, and reading the target location item information in a commodity information library based on the target location item index, the index query can be separated from the image feature reading and the item information reading, so as to minimize the amount of calculation required to obtain the target location item image features and the target location item information.
[0143] In one implementation of the present disclosure, at least one image to be recognized is captured after a door of the display cabinet is unlocked;
[0144] To obtain the storage item table corresponding to the display cabinet, you can do the following:
[0145] In response to the number of times that the door of the showcase is unlocked after the items stored in the showcase are maintained is 1, acquiring an initial stored item table corresponding to the showcase, and determining the initial stored item table as the stored item table;
[0146] Or, in response to the door of the showcase being unlocked more than once after the items stored in the showcase are maintained, an updated stored item table corresponding to the showcase is obtained, and the updated stored item table is determined as the stored item table.
[0147] In one embodiment of the present disclosure, the initial storage item table can be understood as indicating the correspondence between the storage positions of the items stored in the corresponding display cabinet and the items according to the prior agreement. It should be noted that when the items stored in the corresponding display cabinet are maintained, the positions of the corresponding items in the display cabinet should match the positions of the corresponding items indicated by the position item index in the initial storage item table. In addition, there may be certain differences in the initial storage item tables of different regions. Therefore, obtaining the initial storage item table corresponding to the display cabinet can be understood as obtaining the initial storage item table corresponding to the location area where the display cabinet is located, where the location area can be a street, district, city or province, etc.
[0148] In one embodiment of the present disclosure, updating the storage item table can be understood as being used to indicate the corresponding relationship between the storage position of the items stored in the corresponding display cabinet and the items at the current moment. It should be noted that when the items stored in the corresponding display cabinet are moved out, the position item index in the storage item table can be updated based on the determined item information and item position of the removed items.
[0149] In the technical solution of the present disclosure, in response to the number of times the door of the display cabinet is unlocked after the items stored in the display cabinet are maintained being 1, an initial storage item table corresponding to the display cabinet is obtained, and the initial storage item table is determined as the storage item table; or, in response to the number of times the door of the display cabinet is unlocked being greater than 1 after the items stored in the display cabinet are maintained, an updated storage item table corresponding to the display cabinet is obtained, and the updated storage item table is determined as the storage item table. It is relatively convenient to obtain a storage item table that can accurately reflect the positions of the items stored in the corresponding display cabinet.
[0150] In one implementation of the present disclosure, the method further includes the following steps:
[0151] The storage item table is updated according to the item information of the target item and the target location.
[0152] In the technical solution disclosed in the present invention, by updating the storage item table according to the item information of the target item and the target location, the accuracy of updating the location item index stored in the storage item table can be improved.
[0153] In one implementation of the present disclosure, the method further includes the following steps:
[0154] In response to the door of the display cabinet being unlocked more than once after the items stored in the display cabinet are maintained, and the updated stored object image features obtained by querying in the image feature library according to any position object index in the updated stored object table do not match the target object image features, obtaining at least one different position object index in the initial stored object table that is different from the stored object table;
[0155] Reading image features of items at different positions in an image feature library according to the index of items at different positions;
[0156] Read the information of the items at different positions in the commodity information database according to the index of the items at different positions;
[0157] In response to the different-position item image feature matching the target item image feature, the different-position item information is determined as the item information of the target item.
[0158] In one embodiment of the present disclosure, the difference position item index can be understood as the difference position item index being an index in the initial storage item table used to indicate that a corresponding item is stored in a corresponding position, but in the updated storage item table, there is an index used to indicate that another item is stored in the corresponding position. Alternatively, it can also be understood as the difference position item index being an index in the initial storage item table used to indicate that a corresponding item is stored in at least one corresponding position, but in the updated storage item table, there is an index used to indicate that the corresponding item is stored in a position other than the at least one corresponding position.
[0159] In one embodiment of the present disclosure, in response to the door of the display cabinet being unlocked more than once after the items stored in the display cabinet are maintained, and the updated stored object image features obtained by querying in the image feature library according to any position object index in the updated stored object table do not match the target object image features, at least one difference position object index in the initial stored object table that is different from the stored object table is obtained, the difference position object image features are read in the image feature library according to the difference position object index, the difference position object information is read in the commodity information library according to the difference position object index, and in response to the difference position object image features matching the target object image features, the difference position object information is determined as the object information of the target object. In the case where there may be errors in the updated stored object table, it is possible to ensure that the object information of the target object removed from the display cabinet can be obtained as much as possible, thereby improving the user experience.
[0160] The following are embodiments of the apparatus of the present disclosure, which can be used to execute embodiments of the method of the present disclosure.
[0161] Figure 8 FIG. 1 is a schematic structural block diagram of an object identification device according to an embodiment of the present disclosure. The object identification device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 8 As shown, the object identification device 600 includes:
[0162] The image acquisition module 601 is configured to acquire at least one image to be identified collected from the display cabinet;
[0163] The image recognition module 602 is configured to perform image recognition on at least one image to be recognized, and determine a target location where a target object is stored in the display cabinet according to the image recognition result, wherein the target object is an object that is removed from the display cabinet in at least one image to be recognized;
[0164] The feature extraction module 603 is configured to extract the target object image features of the target object from at least one image to be identified;
[0165] The object information acquisition module 604 is configured to acquire the target location object image features corresponding to the target location and the target location object information corresponding to the target location;
[0166] The item information determination module 605 is configured to determine the item information at the target location as the item information of the target item in response to the image feature of the item at the target location matching the image feature of the target item.
[0167] The above technical solution obtains at least one image to be identified collected by the display cabinet, performs image recognition on the at least one image to be identified, and determines the target position where the target item is stored in the display cabinet according to the image recognition result, and obtains the target position item image feature corresponding to the target position and the target position item information corresponding to the target position. In general, since the service personnel of the display cabinet maintenance provider will periodically maintain the items stored in the display cabinet to ensure that the position where the corresponding item is stored in the display cabinet matches the corresponding item storage position agreed in advance, the target position item image feature can be understood as the image feature of the item that should be stored in the target position according to the prior agreement. Similarly, the target position item information can be understood as the information of the item that should be stored in the target position according to the prior agreement. Then, by extracting the target item image feature of the target item from the at least one image to be identified, when the target position item image feature matches the target item image feature, it can be understood that the target item in the at least one image to be identified is determined to be the item that should be stored in the target position according to the prior agreement, and therefore the target position item information can be determined as the item information of the target item. In summary, the solution of the present disclosure reduces the amount of computation required for matching image features, increases the speed of obtaining object information, and improves user experience, while ensuring that relatively accurate object information in at least one image to be identified is obtained as much as possible.
[0168] The present disclosure also discloses an electronic device, Fig. 9 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.
[0169] like Fig. 9 As shown, the electronic device includes a memory and a processor, wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method according to an embodiment of the present disclosure.
[0170] Fig.10 A schematic diagram showing the structure of a computer system suitable for implementing the object identification method according to an embodiment of the present disclosure is shown.
[0171] like Fig.10 As shown, the computer system includes a processing unit, which can perform the various methods in the above-mentioned embodiments according to the program stored in the read-only memory (ROM) or the program loaded from the storage part into the random access memory (RAM). In the RAM, various programs and data required for the operation of the computer system are also stored. The processing unit, ROM and RAM are connected to each other through a bus. The input / output (I / O) interface is also connected to the bus.
[0172] The following components are connected to the I / O interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a LAN card, a modem, etc. The communication part performs a communication process via a network such as the Internet. The drive is also connected to the I / O interface as needed. Removable media, such as disks, optical disks, magneto-optical disks, semiconductor memories, etc., are installed on the drive as needed so that the computer program read therefrom is installed into the storage part as needed. Among them, the processing unit can be implemented as a processing unit such as a CPU, a GPU, a TPU, an FPGA, an NPU, etc.
[0173] In particular, according to an embodiment of the present disclosure, the method described above can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes a program code for executing the above method. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium.
[0174] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0175] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or programmable hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.
[0176] As another aspect, the present disclosure further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the electronic device or computer system in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into a device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present disclosure.
[0177] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.
Claims
1. A method for object identification, characterized in that: The method comprises: Obtain at least one image to be identified collected from the display cabinet; Performing image recognition on the at least one image to be recognized, and determining a target position where a target object is stored in the display cabinet according to the image recognition result, wherein the target object is an object that is moved out of the display cabinet in the at least one image to be recognized; Extracting a target object image feature of the target object from the at least one image to be identified; Acquire a target location object image feature corresponding to the target location and target location object information corresponding to the target location; In response to the target location object image feature matching the target object image feature, the target location object information is determined as the object information of the target object.
2. The object identification method according to claim 1, characterized in that: The method further comprises: In response to the target position object image feature not matching the target object image feature, acquiring the same-layer target position object image feature corresponding to the same-layer target position and the same-layer target position object information corresponding to the same-layer target position, wherein the same-layer target position is any other position in the showcase that is on the same display layer as the target position; In response to the image feature of the object at the target position on the same layer matching the image feature of the target object, the object information at the target position on the same layer is determined as the object information of the target object.
3. The object identification method according to claim 2, characterized in that: The method further comprises: In response to the target position object image feature and the same-layer target position object image feature both not matching the target object image feature, acquiring the same-display case position object image feature corresponding to the same display case position and the same-display case position object information corresponding to the same display case position, wherein the same-display case position is any other position in the display case except the target position and the same-layer target position; In response to the image feature of the object at the same display case location matching the image feature of the target object, the object information at the same display case location is determined as the object information of the target object.
4. The object identification method according to any one of claims 1 to 3, characterized in that: The acquiring the target location object image feature corresponding to the target location and the target location object information corresponding to the target location includes: Acquire a storage item table corresponding to the display cabinet, wherein the storage item table includes at least one position item index, and the position item index is used to indicate a corresponding relationship between an item stored in the display cabinet and a position where the item is stored; Acquire a target location item index corresponding to the target location according to the storage item table; The image feature of the object at the target location is read from an image feature library according to the object index at the target location, and the object information at the target location is read from a commodity information library according to the object index at the target location.
5. The object identification method according to claim 4, characterized in that: The at least one image to be recognized is captured after the door of the display cabinet is unlocked; The step of obtaining a storage item table corresponding to the display cabinet includes: In response to the number of times that the door of the showcase is unlocked after the articles stored in the showcase are maintained is 1, acquiring an initial stored article table corresponding to the showcase, and determining the initial stored article table as the stored article table; Or, in response to the door of the showcase being unlocked more than once after the items stored in the showcase are maintained, an updated stored item table corresponding to the showcase is obtained, and the updated stored item table is determined as the stored item table.
6. The object identification method according to claim 5, characterized in that: The method further comprises: The object storage table is updated according to the object information of the target object and the target location.
7. The object identification method according to claim 5, characterized in that: The method further comprises: In response to the door of the display cabinet being unlocked more than once after the items stored in the display cabinet are maintained, and the updated stored object image features obtained by querying the image feature library according to any position object index in the updated stored object table do not match the target object image features, obtaining at least one different position object index in the initial stored object table that is different from the stored object table; Reading image features of items at different positions in an image feature library according to the index of items at different positions; Reading the different-position item information in the commodity information database according to the different-position item index; In response to the different-position item image feature matching the target item image feature, the different-position item information is determined as the item information of the target item.
8. An object identification device, characterized in that: The device comprises: An image acquisition module is configured to acquire at least one image to be identified collected from the display cabinet; an image recognition module, configured to perform image recognition on the at least one image to be recognized, and determine a target position where a target object is stored in the display cabinet according to the image recognition result, wherein the target object is an object that is moved out of the display cabinet in the at least one image to be recognized; A feature extraction module is configured to extract a target object image feature of the target object from the at least one image to be identified; An object information acquisition module is configured to acquire a target position object image feature corresponding to the target position and a target position object information corresponding to the target position; The item information determination module is configured to determine the target location item information as the item information of the target item in response to the target location item image feature matching the target item image feature.
9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Commodity dynamic identification method and system based on computer vision and commodity container
CN115393366A
Transitioning items from a materials handling facility
US20150012396A1
