Object intrusion identification method, device and smart shopping cart
The TOF sensor module is used to calibrate and continuously detect item entrances and exits, which solves the problems of high item intrusion identification costs and difficult deployment in the existing technology, and realizes fast and accurate item intrusion identification and smart shopping cart automatic settlement functions.
Patent Information
- Application Number
- CN202410460997.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-17
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-04-17
AI Technical Summary
Existing item intrusion identification technology is costly, requires a large amount of sample data to train the model, and requires high computing power for deployment, making it difficult to expand.
The TOF sensor module is used to calibrate the entrance and exit of items. By collecting the TOF image of the calibration template, the detection space is calibrated based on the original depth information of the pixels, and changes in the depth information are continuously detected. If the number of changes exceeds the threshold, the intrusion of the item is determined.
It realizes item intrusion identification that is low-cost, fast in detection and easy to deploy and expand. It is suitable for automatic settlement scenarios of smart shopping carts and reduces energy consumption and computing power requirements.
Smart Images

Figure CN118097094B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an object intrusion identification method, device and smart shopping cart. Background Art
[0002] Object intrusion detection refers to identifying whether an object has entered the target space. Object intrusion detection is applied in many business scenarios, such as warehouse management, shopping cart item settlement, etc. However, the existing technology mostly adopts recognition solutions based on deep learning models, which require a large amount of sample data to train the recognition model, which is costly, and requires high computing power of the device during deployment, and is not easy to expand. Summary of the invention
[0003] Purpose of the invention: The present invention aims to overcome the above technical problems and proposes an object intrusion identification method, device and smart shopping cart, which has low cost, fast detection speed and is easy to deploy and expand.
[0004] Invention content: To achieve the above-mentioned purpose, the present invention proposes the following technical solutions:
[0005] In a first aspect, a method for identifying an object intrusion is provided, the method comprising:
[0006] The TOF sensor module disposed above the object entrance and exit is calibrated by taking the plane where the object entrance and exit of the target container is located as the calibration plane, including: placing a calibration template adapted to the object entrance and exit at the object entrance and exit, and collecting a TOF image of the calibration template through the TOF sensor module; calibrating the detection space of the TOF sensor module based on the original depth information of the pixel points on the TOF image of the calibration template; the original depth information of the pixel points is the distance between the pixel points and the TOF sensor module during calibration;
[0007] The detection space is continuously detected by the TOF sensor module. If it is detected that the depth information of the pixel points changes, and the number of the pixel points whose depth information changes is greater than a preset threshold, it is determined that there is an intrusion of an object into the target container.
[0008] As an optional implementation manner of the method described in the first aspect, in the above-mentioned object intrusion identification method, the object intrusion refers to an object entering the target container from the object entrance and exit.
[0009] As an optional implementation of the method of the first aspect, in the above-mentioned object intrusion identification method, the TOF sensor module determines that the depth information of the detected pixel point changes, specifically including:
[0010] During each detection, the TOF sensor module obtains the distance information between each pixel and the TOF sensor module, and compares the distance information with the original depth information of the pixel. If the distance information is less than the corresponding original depth information, it is determined that the depth information of the pixel has changed.
[0011] In a second aspect, an object intrusion identification device is provided, the device comprising: a TOF sensor module and an identification module;
[0012] The TOF sensor module is arranged above the article entrance and exit of the target container, and is used to calibrate the plane where the article entrance and exit are located, including: placing a calibration template adapted to the article entrance and exit at the article entrance and exit, and collecting a TOF image of the calibration template through the TOF sensor module; based on the original depth information of the pixel points on the TOF image of the calibration template, calibrating the detection space of the TOF sensor module; the original depth information of the pixel point is the distance between the pixel point and the TOF sensor module during calibration;
[0013] The TOF sensor module is also used to continuously detect the detection space and transmit the detection result to the recognition module;
[0014] The identification module is used to determine whether there is an object intrusion based on the detection results of the TOF sensor module, including: if it is detected that the depth information of the pixel point has changed, and the number of the pixel points whose depth information has changed is greater than a preset threshold, it is determined that there is an object intrusion in the target container.
[0015] In a third aspect, a commodity intrusion identification method is provided, which is applicable to a smart shopping cart, and the method includes:
[0016] The TOF sensor module disposed above the item entrance and exit of the smart shopping cart is calibrated by taking the plane where the item entrance and exit of the smart shopping cart is located as the calibration plane, including: placing a calibration template adapted to the item entrance and exit at the item entrance and exit of the smart shopping cart, and collecting a TOF image of the calibration template through the TOF sensor module; calibrating the detection space of the TOF sensor module based on the original depth information of the pixel points on the TOF image of the calibration template; the original depth information of the pixel point is the distance between the pixel point and the TOF sensor module during calibration;
[0017] The detection space is continuously detected by the TOF sensor module. If it is detected that the depth information of the pixel points changes, and the number of the pixel points whose depth information changes is greater than a preset threshold, it is determined that there is product intrusion in the smart shopping cart.
[0018] As an optional implementation of the method described in the third aspect, in the above-mentioned commodity intrusion identification method, the commodity intrusion refers to the commodity entering the frame of the smart shopping cart from the item entrance and exit.
[0019] As an optional implementation of the method described in the third aspect, in the above-mentioned commodity intrusion identification method, the TOF sensor module determines that the depth information of the detected pixel point changes, specifically including:
[0020] During each detection, the TOF sensor module obtains the distance information between each pixel and the TOF sensor module, and compares the distance information with the original depth information of the pixel. If the distance information is less than the corresponding original depth information, it is determined that the depth information of the pixel has changed.
[0021] In a fourth aspect, a smart shopping cart is provided, comprising:
[0022] A TOF sensor module disposed above the commodity entrance and exit of the smart shopping cart is used to perform commodity intrusion identification according to the above-mentioned commodity intrusion identification method, and to send a first trigger signal when identifying commodity intrusion in the smart shopping cart;
[0023] A gravity sensor module disposed at the bottom of the smart shopping cart frame, used to detect the weight of the goods in the frame and send a second trigger signal when the weight of the goods in the frame changes;
[0024] An image acquisition module is configured to acquire images of commodities in the frame of the smart shopping cart in response to the first trigger signal; and to stop acquiring images of commodities in the frame of the smart shopping cart in response to the second trigger signal;
[0025] The settlement module is used to identify the category of the commodity based on the commodity image captured by the image acquisition module; determine the quantity of the commodity based on the weight change value of the commodity in the vehicle frame detected by the gravity sensor module and the category of the commodity; and determine the amount of the commodity based on the category and quantity of the commodity.
[0026] Beneficial effects: Compared with the prior art, the present invention has the following advantages:
[0027] 1. The object intrusion identification method and device proposed in the present invention can quickly and accurately identify object intrusion. Compared with the existing AI recognition technology, this solution does not require a large amount of sample data to train the model, which reduces costs and is easy to deploy and expand.
[0028] 2. The commodity intrusion identification method and smart shopping cart proposed in the present invention can be applied to the automatic settlement scenario of smart shopping carts. The method can quickly identify the intrusion of commodities in the frame of the smart shopping cart, thereby triggering the image acquisition module to collect commodity images. Combined with the gravity sensor module set at the bottom of the frame of the smart shopping cart, the weight change of commodities in the frame of the smart shopping cart can be quickly identified, and the image acquisition device can be triggered to stop collecting. Based on this, the image acquisition module can only collect valid images without the need to continuously collect images, and the required energy consumption and computing power are low, the cost is low, and it is easy to deploy on the smart shopping cart. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 The figure is a flow chart of a method for identifying object intrusion according to an embodiment.
[0030] Figure 2 The figure is a schematic diagram of the structure of an object intrusion identification device involved in an embodiment.
[0031] Figure 3 The present invention is a flowchart of a method for identifying product intrusion into a frame of a smart shopping cart according to an embodiment.
[0032] Figure 4 The figure is a schematic diagram of the structure of a smart shopping cart involved in an embodiment.
[0033] Figure 5 The figure is a schematic diagram of the calibration principle of a smart shopping cart involved in an embodiment.
[0034] Figure 6 The present invention is a schematic diagram of the commodity intrusion identification principle of a smart shopping cart involved in an embodiment.
[0035] Figure 7 The present invention is a schematic diagram of a smart settlement process for goods in a smart shopping cart according to an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. However, it should be understood that the present invention can be implemented in various forms, and some exemplary and non-limiting embodiments shown in the accompanying drawings and described below are not intended to limit the present invention to the specific embodiments described.
[0037] It should be understood that, where technically feasible, the technical features listed above for different embodiments can be combined with each other to form other embodiments within the scope of the present invention. In addition, the specific examples and embodiments described in the present invention are non-limiting, and the structures, steps, and sequences described above can be modified accordingly without departing from the scope of protection of the present invention.
[0038] Please refer to Figure 1 This embodiment proposes a method for identifying object intrusion, the process of which includes the following steps:
[0039] S100: TOF sensor module calibration.
[0040] The working principle of the TOF sensor is to continuously send light pulses to the target, and then use the TOF sensor to receive the light returned from the object. The distance of the target object is obtained by detecting the flight (round-trip) time of the light pulse. Specifically, the TOF sensor emits a beam of pulsed light waves, and uses an optical shutter to quickly and accurately obtain the time difference t of the light wave reflected back after irradiating the three-dimensional object. Since the speed of light c is known, as long as the time difference between the emitted light and the received light is known, the round-trip distance of this light beam can be calculated by the formula D=t·c, and then the distance between the target object and the TOF sensor d = t / 2·c can be calculated. The accuracy of the TOF sensor can reach the millimeter level.
[0041] In this step, the TOF sensor module is set above the object entrance and exit of the target container using the above principle of the TOF sensor. Before the TOF sensor module works, the detection range of the TOF sensor module needs to be calibrated. Specifically, the calibration process of the TOF sensor module is as follows:
[0042] The plane where the object entrance and exit of the target container is located is used as the calibration surface, and then a calibration template with a thickness that matches the size of the object entrance and exit is made. The thickness of this calibration template can be set according to needs. Usually, a calibration template with a thickness greater than the detection accuracy of the TOF sensor module is selected.
[0043] Place the calibration template at the entrance and exit of the target container, and then collect the TOF image of the calibration template through the TOF sensor module. In the TOF image captured by the TOF sensor module, each pixel can be regarded as a point. These pixel points record the distance information from the camera to the corresponding position in the scene, so each pixel point represents a specific position in the scene and its corresponding depth information. When calibrating the template, you only need to record the depth information of each pixel point of the calibration template in the TOF image. The depth information corresponding to these pixel points is valid information. These pixel points are also called valid pixel points. The depth information of the pixel points outside the calibration template is invalid information and is not recorded. For example, A is a valid pixel point, the coordinates of A are (x1, y1), the depth information of A is d1, B is a valid pixel point, the coordinates of B are (x2, y2), the depth information of B is d2, etc. The calibration of the TOF sensor module is to obtain the depth information and coordinate data of these valid pixel points and store them in the TOF sensor. This solution calls this area with depth space formed within a specific range using optical principles as the detection area.
[0044] S102: Object intrusion identification.
[0045] After completing the calibration of the TOF sensor module, the TOF sensor module can be used to continuously detect the detection space determined during the above calibration. If it is detected that the depth information of the pixel points has changed, and the number of pixel points whose depth information has changed is greater than the preset threshold, it is determined that there is an intrusion of an object in the above target container.
[0046] Specifically, the TOF sensor module detects the depth information of each effective pixel point in each frame when it is working, and can reach 1-60 frames per second. The number of frames can be set according to demand. When an object enters the pre-calibrated detection area, it will inevitably block the effective pixel points, making the depth information of the blocked effective pixel points smaller. Based on this feature,
[0047] The TOF sensor module detects the depth information of each valid pixel in each detected frame and compares it with the original depth information stored during calibration. When the most recently detected depth information dx of a valid pixel is less than the calibrated depth information d, the valid pixel will be marked or recorded. When the number of marked valid pixels reaches the set threshold, it can be determined that there is an intrusion of objects in the above-mentioned target container. The threshold setting here is to avoid misjudgment. The specific value of the threshold can be set according to the scene and the required sensitivity, and this embodiment does not limit this. For example, considering the recognition accuracy problem, it can be set that when the most recently detected depth information dx of a valid pixel is less than the value of the calibrated depth information d and reaches a preset threshold interval, the valid pixel will be marked or recorded.
[0048] It should be noted that the above-mentioned object intrusion refers to an object entering the target container from an object entrance or exit of the target container.
[0049] Corresponding to the above-mentioned object intrusion identification method, this embodiment also proposes an object intrusion identification device, which can be independently set up or integrated into a hardware system of a specific business scenario to implement the above-mentioned object intrusion identification method. Figure 2 The device includes: a TOF sensor module 201 and an identification module 202.
[0050] The TOF sensor module 201 is arranged above the article entrance and exit of the target container, and is used to calibrate the plane where the article entrance and exit are located, including: placing a calibration template that is compatible with the article entrance and exit at the article entrance and exit, and collecting the TOF image of the calibration template through the TOF sensor module; based on the original depth information of the pixel points on the TOF image of the calibration template, calibrating the detection space of the TOF sensor module; the original depth information of the pixel point is the distance between the pixel point and the TOF sensor module during calibration.
[0051] The TOF sensor module is also used to continuously detect the detection space determined by the above calibration process and transmit the detection results to the recognition module.
[0052] The identification module 202 is used to determine whether there is an intrusion of an object based on the detection results of the TOF sensor module, including: if it is detected that the depth information of the pixel point has changed, and the number of pixels whose depth information has changed is greater than a preset threshold, it is determined that there is an intrusion of an object in the target container.
[0053] It should be noted that the object intrusion determined by the identification module 202 may be that the object enters the target container from the object entrance or exit of the target container, or may be that the object leaves the target container from the object entrance or exit of the target container.
[0054] Specifically, during the calibration process, the TOF sensor module collects the TOF image of the calibration template. In the TOF image captured by the TOF sensor module, each pixel can be regarded as a point. These pixel points record the distance information from the camera to the corresponding position in the scene, so each pixel point represents a specific position in the scene and its corresponding depth information. The recognition module 202 can record the depth information of each pixel point of the calibration template in the TOF image. The depth information corresponding to these pixel points is valid information. These pixel points are also called valid pixel points. The depth information of the pixel points outside the calibration template is invalid information and is not recorded.
[0055] When determining whether there is an intrusion by an object, the recognition module 202 can obtain the depth information of each valid pixel point in each frame detected by the TOF sensor module, and compare it with the original depth information stored during calibration. When the newly detected depth information dx of a valid pixel point is less than the calibrated depth information d, the valid pixel point will be marked or recorded. When the number of marked valid pixels reaches the set threshold, the recognition module 202 can determine that there is an intrusion by an object in the above-mentioned target container.
[0056] The above-mentioned object intrusion identification method can be applied to different business scenarios. The following only takes the smart shopping cart as an example to illustrate the use principle of the above-mentioned object intrusion identification method in a specific application scenario. Figure 3 , Figure 3 A flow chart of a method for identifying product intrusion on a frame of a smart shopping cart is shown, the process comprising:
[0057] S300: Using the plane where the item entrance and exit of the smart shopping cart is located as the calibration plane, calibrating the TOF sensor module arranged above the item entrance and exit.
[0058] Specifically, the calibration process may include: placing a calibration template that matches the commodity entrance and exit of the smart shopping cart, and collecting a TOF image of the calibration template through the TOF sensor module; calibrating the detection space of the TOF sensor module based on the original depth information of the pixel points on the TOF image of the calibration template; the original depth information of the pixel point is the distance between the pixel point and the TOF sensor module during calibration;
[0059] S302: Identify the intrusion of goods in the smart shopping cart frame.
[0060] The detection space is continuously detected through the TOF sensor module. If it is detected that the depth information of the pixel points has changed, and the number of pixel points whose depth information has changed is greater than a preset threshold, it is determined that there is product intrusion in the smart shopping cart.
[0061] It should be noted that the above-mentioned product intrusion in the smart shopping cart specifically refers to the product entering the frame of the smart shopping cart from the item entrance and exit of the smart shopping cart.
[0062] The TOF sensor module determines that the depth information of the detected pixel point has changed, specifically including:
[0063] During each detection, the TOF sensor module obtains the distance information between each pixel in each frame of the shot and the pixel, and compares the distance information with the original depth information of the pixel. If the distance information is less than the corresponding original depth information, it is determined that the depth information of the pixel has changed.
[0064] The above-mentioned commodity intrusion identification method can also be applied to the automatic checkout scenario of smart shopping carts. Figure 4 , Figure 4 A smart shopping cart is shown, which includes: a shopping cart smart terminal 1, a cart frame 4 and a gravity sensor, wherein the shopping cart smart terminal 1 includes an image acquisition module and a TOF sensor 3.
[0065] In some feasible implementations, the image acquisition module can be implemented by an RGB camera 2, and the gravity sensor can be implemented by an electronic scale 5. The working principle of the smart shopping cart is described below in conjunction with specific implementations.
[0066] like Figure 4As shown in the figure, the shopping cart intelligent terminal 1 is set above the cart frame 4 of the intelligent shopping cart. Both the RGB camera 2 and the TOF sensor 3 of the shopping cart intelligent terminal 1 are aligned with the opening of the cart frame 4. The electronic scale 5 is set at the bottom of the cart frame 4 and is used to weigh the items in the cart frame 4. The electronic scale 5 is communicatively connected to the shopping cart intelligent terminal 1, and the electronic scale 5 sends the weighing result to the shopping cart intelligent terminal 1 through the communication link with the shopping cart intelligent terminal 1.
[0067] Before use, it is necessary to calibrate the detection space of the TOF sensor 3 of the shopping cart intelligent terminal 1. The principle of calibration is as Figure 5 shown. First, take the plane where the opening of the cart frame 4 is located as the calibration plane, and determine the coordinates of each position point in the calibration plane. Then, take a calibration template 6 that fits the size of the opening of the cart frame 4. Place the calibration template 6 at the opening of the cart frame 4, and collect the TOF image of the calibration template 6 through the TOF sensor 3 to obtain the depth information of each pixel point in the TOF image. Finally, save the position coordinates and depth information of each pixel point in the TOF image as calibration reference data. Based on the above process, the detection space 7 between the TOF sensor 3 and the calibration plane can be constructed.
[0068] After the calibration of the TOF sensor is completed, commodity intrusion recognition can be started. The principle is as Figure 6 shown. The TOF sensor continuously detects the detection space 7 and calculates the depth information of the pixel points in each frame of the detected image. When a certain commodity enters the detection space 7, there must be some pixel points in the detection space 7 that are blocked. Taking pixel point A as an example, when it is not blocked, the depth information of pixel point A is the original depth information d1 during calibration, and when pixel point A is blocked, the depth information of pixel point A will become smaller, that is, the current depth information d1x of pixel point A detected by the TOF sensor < d1. Based on this principle, only by comparing the depth information of the pixel points in each frame of the image detected by the TOF sensor with the original depth information of the corresponding position points during calibration, it is possible to find out whether there is commodity intrusion (including commodities entering the cart frame 4 and commodities being taken out of the cart frame 4). To avoid misjudgment, a threshold can also be set, that is, when the depth information of a certain pixel point changes in the image detected by the TOF sensor, record or calibrate this pixel point. If the number of pixel points with changed depth information in this image is greater than or equal to the preset threshold, it is determined that there is commodity intrusion in the cart frame 4.
[0069] Based on the above commodity intrusion recognition, intelligent commodity settlement can be carried out. The process is as Figure 7 shown:
[0070] The TOF sensor 3 continuously detects the detection space 7, and sends a first trigger signal when it identifies that there is merchandise intruding into the frame 4 of the smart shopping cart. In response to the first trigger signal, the shopping cart smart terminal 1 triggers the RGB camera 2 to shoot the items in the frame 4.
[0071] The electronic scale 5 continuously detects the weight of the items in the cart frame 4. When the weight of the items is detected to change, it means that an item has fallen into the cart frame 4. At this time, the electronic scale 5 sends a second trigger signal; the shopping cart intelligent terminal 1 responds to the first trigger signal and controls the RGB camera 2 to stop shooting. The video captured during this period is the valid image data that the shopping cart intelligent terminal 1 needs to process.
[0072] The shopping cart intelligent terminal 1 will perform local frame extraction calculation on the data or upload the extracted frame image to the cloud server through the network for cloud computing. The extracted frame is an image of the process of the product falling into the car frame 4. The category of the product in the above-mentioned valid image can be identified by AI recognition technology. According to the category of the product, the standard weight of the product can be retrieved in the pre-built product search library (including detailed data of all listed products, such as product category / name, unit price, weight, etc.), and the quantity of the product can be determined by combining the weighing value of the electronic scale 5 before the product falls into the car frame 4 and the weighing value of the product after the product falls into the car frame 4. Based on the identified category and quantity of the product, the amount of the product can be determined to achieve intelligent settlement of the product.
[0073] If the weighing value corresponding to the identified commodity category does not match the standard weight of the commodity, the shopping cart intelligent terminal 1 generates an alarm message to remind relevant personnel to conduct manual inspection to determine whether there is any smuggling, or whether it is an AI recognition error or an error in the relevant data of the commodity in the commodity search library. If it is determined that it is an AI recognition error, the sample data of the commodity is collected again to optimize the training of the AI recognition model. If it is determined that the relevant data of the commodity in the commodity search library is wrong, the relevant data of the commodity in the commodity search library is updated.
[0074] The advantages of the above-mentioned smart shopping cart equipped with TOF sensor to achieve product intrusion detection are:
[0075] 1. This solution can calibrate or demarcate any desired detection area according to the shape of the shopping cart frame, and the behavior outside the area will not be affected.
[0076] 2. Smart shopping carts in the same batch only need to be calibrated once, and the parameters are shared. Other shopping carts do not need to be calibrated additionally, which improves the efficiency of smart shopping cart deployment and implementation.
[0077] 3. The detection work of the TOF sensor is independent and does not affect other performance of the smart terminal.
[0078] 4. The TOF sensor is small in size and has low power consumption.
[0079] 5. Through the above implementation plan, 95% of AI computing processing is effectively reduced, or the network upload bandwidth pressure is reduced, and the power consumption of smart terminals is reduced. The purchase cost of equipment and the operating cost of supermarkets are reduced, and the service life of equipment is extended.
[0080] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0081] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A method for identifying object intrusion, characterized in that: include: The TOF sensor module disposed above the object entrance and exit is calibrated by taking the plane where the object entrance and exit of the target container is located as the calibration plane, including: placing a calibration template adapted to the object entrance and exit at the object entrance and exit, and collecting a TOF image of the calibration template through the TOF sensor module; calibrating the detection space of the TOF sensor module based on the original depth information of the pixel points on the TOF image of the calibration template; the original depth information of the pixel points is the distance between the pixel points and the TOF sensor module during calibration; Continuously detecting the detection space by the TOF sensor module, obtaining distance information between each pixel and the TOF sensor module for each pixel during each detection, and comparing the distance information with original depth information of the pixel, and determining that the depth information of the pixel has changed if the distance information is less than the corresponding original depth information; If the TOF sensor module detects that the depth information of the pixel points has changed, and the number of the pixel points whose depth information has changed is greater than a preset threshold, it is determined that there is an object intrusion into the target container; the object intrusion refers to an object entering the target container from the object entrance and exit.
2. An object intrusion identification device, characterized in that: include: TOF sensor module and recognition module; The TOF sensor module is arranged above the article entrance and exit of the target container, and is used to calibrate the plane where the article entrance and exit are located, including: placing a calibration template adapted to the article entrance and exit at the article entrance and exit, and collecting a TOF image of the calibration template through the TOF sensor module; based on the original depth information of the pixel points on the TOF image of the calibration template, calibrating the detection space of the TOF sensor module; the original depth information of the pixel point is the distance between the pixel point and the TOF sensor module during calibration; The TOF sensor module is also used to continuously detect the detection space and transmit the detection result to the recognition module; The identification module is used to determine whether there is an object intrusion based on the detection result of the TOF sensor module, including: during each detection, for each pixel point, obtaining the distance information between the pixel point and the TOF sensor module, and comparing the distance information with the original depth information of the pixel point; if the distance information is less than the corresponding original depth information, it is determined that the depth information of the pixel point has changed; if it is detected that the depth information of the pixel point has changed, and the number of the pixels whose depth information has changed is greater than a preset threshold, it is determined that there is an object intrusion in the target container; the object intrusion refers to the entry of an object into the target container from the object entrance and exit.
3. A commodity intrusion identification method, applicable to a smart shopping cart, characterized in that: include: The TOF sensor module disposed above the item entrance and exit of the smart shopping cart is calibrated by taking the plane where the item entrance and exit of the smart shopping cart is located as the calibration plane, including: placing a calibration template adapted to the item entrance and exit at the item entrance and exit of the smart shopping cart, and collecting a TOF image of the calibration template through the TOF sensor module; calibrating the detection space of the TOF sensor module based on the original depth information of the pixel points on the TOF image of the calibration template; the original depth information of the pixel point is the distance between the pixel point and the TOF sensor module during calibration; Continuously detecting the detection space by the TOF sensor module, obtaining distance information between each pixel and the TOF sensor module for each pixel during each detection, and comparing the distance information with original depth information of the pixel, and determining that the depth information of the pixel has changed if the distance information is less than the corresponding original depth information; If it is detected that the depth information of the pixel point changes, and the number of the pixel points whose depth information changes is greater than a preset threshold, it is determined that there is product intrusion in the smart shopping cart; the product intrusion refers to the product entering the car frame of the smart shopping cart from the item entrance and exit.
4. A smart shopping cart, characterized in that: include: A TOF sensor module disposed above the commodity entrance and exit of the smart shopping cart, used to identify commodity intrusion according to the method of claim 3, and to send a first trigger signal when identifying commodity intrusion in the smart shopping cart; A gravity sensor module disposed at the bottom of the smart shopping cart frame, used to detect the weight of the goods in the frame and send a second trigger signal when the weight of the goods in the frame changes; An image acquisition module, configured to acquire an image of a commodity in the frame of the smart shopping cart in response to the first trigger signal; And, in response to the second trigger signal, stop collecting the product images in the frame of the smart shopping cart; A settlement module, used to identify the category of the commodity based on the commodity image collected by the image collection module; The quantity of the goods is determined based on the weight change value of the goods in the vehicle frame detected by the gravity sensor module and the category of the goods; and the amount of the goods is determined based on the category and quantity of the goods.
