A method and system for intelligent perception of delivery port
By screening the interference data of the infrared receiving tube and generating a vertical projection bitmap of the object, the problem of poor infrared detection accuracy in the existing technology is solved, and accurate perception and measurement of the dropped objects are achieved.
Patent Information
- Application Number
- CN202410725581.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-06-06
Smart Images

Figure CN118310563B
Abstract
Description
Technical Field
[0001] The present application relates to the field of infrared detection technology, and in particular to an intelligent sensing method and system for a delivery port. Background Art
[0002] Infrared detection at the delivery port is a new sensing technology applied to the delivery box. Through infrared detection at the delivery port, it can be determined whether any objects have been put into the delivery box.
[0003] The infrared detection method used in the prior art counts as long as an object is delivered, which makes it difficult to accurately measure or detect the number of deliveries, whether the delivery is made, whether the delivery is taken out, etc., and is prone to generate false data that is not conducive to statistics. Summary of the invention
[0004] In order to solve the problem of poor infrared sensing accuracy at the feeding port, the present application provides a feeding port intelligent sensing method and system.
[0005] In a first aspect of the present application, a method for intelligent perception of a port is provided, comprising:
[0006] Acquire available status data of the infrared receiving tube, the infrared receiving tube is at different vertical distances from the injection port, and the status data is the IO result of the infrared receiving tube receiving multiple high-speed scans;
[0007] Obtaining a vertical projection bitmap of the object according to the available state data;
[0008] According to the vertical projection bitmap of the object and the preset detection items, the drop object parameters corresponding to the detection items are determined.
[0009] By adopting the above technical solution, the available status data of the undisturbed infrared receiving tubes are first screened to avoid calculation accuracy problems caused by interference, and then a vertical projection bitmap of the object is generated according to the status data. Based on the vertical projection bitmap of the object, the parameters of the dropped object are detected in multiple detection items, thereby improving the accuracy of perception of the dropped object.
[0010] In a possible implementation, determining the drop object parameters corresponding to the detection items according to the object vertical projection bitmap and the preset detection items includes:
[0011] The detection items include: presence, direction, speed, width and dispersion state;
[0012] The vertical projection bitmaps of the objects corresponding to the multiple groups of infrared receiving tubes are spliced and synthesized according to the positions of the infrared receiving tubes to obtain a result projection bitmap;
[0013] According to the result projection bitmap, the presence, direction, speed, width and dispersion state of the dropped object are determined.
[0014] In a possible implementation, judging whether there is a droplet according to the result projection bitmap includes:
[0015] According to the result projection bitmap, determining whether there is a projection of an obstacle;
[0016] According to the projected outline in the result projection bitmap, it is determined whether the obstacle includes human hands and dropped objects.
[0017] In a possible implementation, judging the direction, speed and width of the object according to the result projection bitmap includes:
[0018] Determine the direction of the objects to be placed according to the order in which the infrared receiving tubes detect the objects;
[0019] The speed of the delivery is calculated based on the time when the delivery is detected between different groups and the distance between groups;
[0020] According to the projection outline and the preset ratio, the maximum width, minimum width and average width of the object are determined.
[0021] In a possible implementation, judging the dispersion state of the droplets according to the result projection bitmap includes:
[0022] Determining the continuity of the projection according to the contour of the projection in the resulting projection bitmap;
[0023] The dispersion state of the object is determined based on the continuity of the projection.
[0024] In a possible implementation, obtaining available status data of the infrared receiving tube includes:
[0025] Obtain status data of multiple groups of infrared receiving tubes set at the injection port;
[0026] determining an interference level based on the status data;
[0027] The available status data are filtered from the status data according to the interference level and a preset filtering rule.
[0028] In a possible implementation, the method further includes determining a parameter of a delivery object according to the interference level:
[0029] According to the interference level, matching detection items corresponding to the interference level from a pre-stored database;
[0030] The parameters of the detection items corresponding to the interference level in the delivery object parameters are extracted as new delivery object parameters.
[0031] In a second aspect of the present application, a delivery port intelligent sensing system is provided, comprising:
[0032] An infrared sensing module, which scans the injection port at high speed and collects scanning data;
[0033] A control module is electrically connected to the infrared sensing module.
[0034] In a possible implementation, the control module is configured as follows:
[0035] An acquisition module is used to acquire available status data of an infrared receiving tube, wherein the infrared receiving tube is at different vertical distances from the injection port, and the status data is an IO result of the infrared receiving tube receiving multiple high-speed scans;
[0036] An image generation module, which obtains a vertical projection bitmap of the object according to the available state data;
[0037] The calculation module determines the drop object parameters corresponding to the detection items according to the vertical projection bitmap of the object and the preset detection items.
[0038] In a possible implementation, the infrared sensing module includes:
[0039] An infrared emitting board and an infrared receiving board; the infrared emitting board and the infrared receiving board are arranged opposite to each other;
[0040] A filter plate, wherein the filter plate is bonded to the infrared receiving plate;
[0041] A light collecting plate, wherein the light collecting plate is arranged in contact with the infrared emitting plate;
[0042] The filter plate and the light collecting plate are located between the infrared emitting plate and the infrared receiving plate.
[0043] In summary, the present application includes at least one of the following beneficial technical effects: first, the available status data of the undisturbed infrared receiving tubes are screened to avoid calculation accuracy problems caused by interference, and then a vertical projection bitmap of the object is generated based on the status data, and based on the vertical projection bitmap of the object, the parameters of the dropped object are detected in multiple detection items, thereby improving the accuracy of perception of the dropped object. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a flow chart of an intelligent sensing method for a port according to one embodiment of the present application.
[0045] Figure 2 It is a schematic diagram of a control module in an intelligent sensing system for a delivery port according to one embodiment of the present application.
[0046] Figure 3 It is a schematic diagram of an infrared sensing module in an intelligent sensing system for a slot according to one embodiment of the present application.
[0047] Figure 4 It is a structural diagram of a terminal according to an embodiment of the present application.
[0048] Explanation of the reference numerals: 201, infrared sensing module; 2011, infrared transmitting board; 2012, infrared receiving board; 2013, filter plate; 2014, focusing plate; 202, control module; 2021, acquisition module; 2022, image generation module; 2023, operation module; 301, CPU; 302, ROM; 303, RAM; 304, bus; 305, I / O interface; 306, input part; 307, output part; 308, storage part; 309, communication part; 310, drive; 311, removable medium. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0050] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0051] The following is combined with Figures 1 to 4 This application is described in further detail.
[0052] In order to improve the accuracy of object perception, the present application provides an intelligent perception method for a delivery port.
[0053] Reference Figure 1 , a method for intelligent perception of a port, comprising the following steps:
[0054] S101: Obtain available status data of the infrared receiving tube.
[0055] Specifically, the status data of multiple groups of infrared receiving tubes set at the injection port are obtained, wherein the vertical distances between the infrared receiving tubes and the injection port are different, and the status data is the IO result of the infrared receiving tube receiving multiple high-speed scans. Then, the interference level is determined according to the status data. Then, the available status data is filtered from the status data according to the interference level and the preset filtering rules. The binary values of the IO results of each scan are stored in an array in order, namely the status data. The binary value is the binary value of the IO result.
[0056] The method of determining the available status data is to first determine the abnormal data that is interfered with. When the infrared light emission is turned on, the infrared receiving tube receives the infrared light. When the infrared light emission stops, the infrared receiving tube can still receive the infrared light, which means that the corresponding infrared receiving tube has been interfered by the external light source. Then the available status data is screened.
[0057] Specifically, the interference level is also used to determine the accuracy of the corresponding value of the detection item. As the interference level increases, the detection results for some detection items become less accurate, so the corresponding detection items need to be excluded. The specific method is to match the detection items corresponding to the interference level from the pre-stored database according to the interference level. Then extract the parameters of the detection items corresponding to the interference level in the delivery object parameters as new delivery object parameters.
[0058] In one implementation scenario, the screening of available status data and the matching of corresponding detection items include: dividing the interference level into level one, level two, level three and level four. When only a preset number of infrared receiving tube status data among multiple groups of infrared receiving tube status data are abnormal. At this time, accurate detection can still be performed by shielding a few infrared receiving tubes with abnormal data. At this time, the interference level is level one, and the corresponding detection items are: the presence, direction, speed, width and dispersion state of the drop.
[0059] When there are a preset number of infrared receiving tube status data abnormalities in the same group among multiple groups of infrared receiving tube status data, the data of the corresponding group will not be used, and the corresponding group needs to be shielded and then tested. At this time, the interference level is level 2, and the corresponding detection items are: the presence, direction and speed of the drop.
[0060] When a preset number of infrared receiving tube status data in the same row is abnormal and a preset number of infrared receiving tube status data in the same group are abnormal, and complete data cannot be spliced out by data splicing and other methods, and there is missing data, the interference level is level 3, and the corresponding detection item is: the presence or absence of the drop.
[0061] When a preset number of infrared receiving tube status data in each of the multiple groups of infrared receiving tube status data are abnormal, each group of data cannot be used, the interference level is level four, and no detection is performed.
[0062] S102: Obtaining a vertical projection bitmap of the object according to available status data.
[0063] According to the arrays corresponding to multiple groups of infrared receiving tube status data, the object vertical projection bitmap corresponding to each group of arrays is generated. The acquisition of the object vertical projection bitmap is determined according to the distribution contour of 0 and 1 in the array. By pre-calculating the scanning frequency, the scanning of the projected object can be realized.
[0064] The vertical projection bitmaps of multiple groups of objects are spliced and synthesized according to their positions to obtain the result projection bitmap, and then the presence, direction, speed, width and dispersion state of the projected objects are judged based on the result projection bitmap. The result projection bitmap is spliced by the vertical projection bitmaps of multiple groups of objects at the same time, not just a bitmap of one time.
[0065] S103: Determine the drop object parameters corresponding to the detection items according to the object vertical projection bitmap and the preset detection items.
[0066] Among them, judging the presence or absence of objects includes: judging whether there are obstacles based on the result projection bitmap. When there are obstacles, further judging whether the obstacles are only human hands or include objects dropped by human hands. The way to judge whether it is human hands is: determine the outline of the obstacle based on the result projection bitmap at one time. When the outline of the obstacle is irregular and does not belong to the preset shape, it is determined to be only human hands; if the edges of the outline of the obstacle are regular, it is determined that there are objects dropped.
[0067] Among them, judging the direction of the object includes: determining the direction of the object according to the order in which the infrared receiving tubes detect the object, and the order of inward delivery should be that the front infrared receiving tubes detect the object first, and the rear infrared receiving tubes detect the object later, and the signal release of the front infrared receiving tubes is earlier than the signal release of the rear infrared receiving tubes. The detection of the direction of the object is determined based on the detection of the object first, and the part where the human hand is detected should be ignored.
[0068] Among them, judging the speed of the object includes: calculating the speed of the object according to the time when the object is detected between different groups and the distance between groups. The distance between groups is fixed, that is, the actual distance between two groups of infrared receiving tubes, and the time when the object is detected can also be obtained from the log, so the speed of the object can be calculated according to the speed formula. The detection of the direction of the object is determined based on the detection of the object first, and the part where the human hand is detected should be ignored.
[0069] Among them, judging the width of the drop includes: according to the result projection bitmap at one time, based on the spacing between groups and the outline of the drop, the width of the drop is calculated in proportion. The width of the drop can be calculated in many ways, including maximum width, minimum width and average width.
[0070] Among them, judging the dispersion state of the projected object includes: judging the continuity of the projection according to the contours of the projection in the result projection bitmap at multiple times, and when there is a discontinuous projection state, determining the dispersion state of the projected object according to the number of discontinuities. In this process, the result projection bitmap needs to be spliced according to time to obtain a result projection bitmap containing a complete image of the projected object. Then, according to the continuity of the projection in the result projection bitmap containing a complete image of the projected object, determine the dispersion state of the projected object. When only a human hand and one projected object are included, the dispersion state is 1, and when N projected objects are included, the dispersion state is N.
[0071] The present application provides an intelligent sensing system for a feeding port, which adopts the following technical solutions:
[0072] Reference Figure 2 and Figure 3 , a delivery intelligent perception system, comprising:
[0073] Infrared sensing module 201, infrared sensing module 201 scans the injection port at high speed and collects scanning data. Control module 202, control module 202 is electrically connected to infrared sensing module 201. Infrared sensing module 201 further comprises: infrared emitting board 2011, infrared receiving board 2012, filter board 2013 and focusing board 2014, infrared emitting board 2011 and infrared receiving board 2012 are arranged opposite to each other, and infrared emitting board 2011 is used to send infrared light to infrared receiving board 2012 at high frequency. Filter board 2013 is arranged in close contact with infrared receiving board 2012 to filter out interference from light sources of other similar wavebands. Focusing board 2014 is arranged in close contact with infrared emitting board 2011 to aggregate the infrared light of infrared emitting board 2011, which can improve the aggregation degree of infrared light, thereby reducing the light-transmitting hole on filter board 2013, and further reducing interference from external light sources.
[0074] The infrared emitting tubes of the infrared emitting board 2011 and the infrared receiving tubes on the infrared receiving board 2012 are arranged opposite to each other and distributed in rows. Each group of infrared emitting tubes / infrared receiving tubes includes at least one row of infrared emitting tubes / infrared receiving tubes.
[0075] The control module 202 further comprises:
[0076] The acquisition module 2021 acquires available status data of the infrared receiving tube. The vertical distance between the infrared receiving tube and the injection port is different. The status data is the IO result of the infrared receiving tube receiving multiple high-speed scans.
[0077] The image generation module 2022 obtains a vertical projection bitmap of the object according to the available status data.
[0078] The calculation module 2023 determines the drop object parameters corresponding to the detection items according to the object vertical projection bitmap and the preset detection items.
[0079] Figure 4 A schematic diagram of the structure of a terminal suitable for implementing an embodiment of the present application is shown.
[0080] like Figure 4 As shown, the terminal includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part to the random access memory (RAM) 303. In the RAM 303, various programs and data required for system operation are also stored. The CPU 301, the ROM 302 and the RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0081] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.
[0082] In particular, according to the embodiments of the present application, the above reference process Figure 1 The described process can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a machine-readable medium, and the computer program contains program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 309, and / or installed from the removable medium 311. When the computer program is executed by the central processing unit (CPU) 301, the above-mentioned functions defined in the system of the present application are executed.
[0083] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, register file (RF), etc., or any suitable combination of the above.
[0084] 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 application. 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 aforementioned module, a program segment or a part of a code contains one or more executable instructions for implementing 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.
[0085] The units or modules involved in the embodiments described in the present application may be implemented by software or hardware. The units or modules described may also be set in a processor, for example, it may be described as: a processor includes an acquisition module 2021, an image generation module 2022, and a calculation module 2023. The names of these units or modules do not constitute limitations on the units or modules themselves in some cases.
[0086] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the terminal described in the above embodiment; or may exist independently and not be assembled into the terminal. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the data encryption transmission method described in the present application.
[0087] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application 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 aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
Claims
1. A method for intelligent perception of a delivery port, characterized in that: include: Obtain status data of multiple groups of infrared receiving tubes set at the injection port; The state data is the IO result of the infrared receiving tube receiving multiple high-speed scans; determining an interference level based on the status data; Filter available status data from the status data according to the interference level and the preset filtering rules, the vertical distance between the infrared receiving tube and the injection port is different; Obtaining a vertical projection bitmap of the object according to the available state data; Determine the object parameters corresponding to the detection items according to the vertical projection bitmap of the object and the preset detection items: the detection items include: presence, direction, speed, width and dispersion state; The vertical projection bitmaps of the objects corresponding to the multiple groups of infrared receiving tubes are spliced and synthesized according to the positions of the infrared receiving tubes to obtain a result projection bitmap; According to the result projection bitmap, the presence, direction, speed, width and dispersion state of the dropped objects are determined.
2. The intelligent sensing method for delivery port according to claim 1, characterized in that: According to the result projection bitmap, judging whether there is a drop object includes: According to the result projection bitmap, determining whether there is a projection of an obstacle; According to the projected outline in the result projection bitmap, it is determined whether the obstacle includes human hands and dropped objects.
3. The intelligent sensing method for delivery port according to claim 2, characterized in that: According to the result projection bitmap, the direction, speed and width of the dropped object are determined, including: Determine the direction of the objects to be placed according to the order in which the infrared receiving tubes detect the objects; The speed of the delivery is calculated based on the time when the delivery is detected between different groups and the distance between groups; According to the projection outline and the preset ratio, the maximum width, minimum width and average width of the object are determined.
4. The intelligent sensing method for delivery port according to claim 2, characterized in that: According to the result projection bitmap, the dispersion state of the droplets is determined, including: Determining the continuity of the projection according to the contour of the projection in the resulting projection bitmap; The dispersion state of the object is determined based on the continuity of the projection.
5. The intelligent sensing method for delivery port according to claim 1, characterized in that: The method also includes determining the parameters of the delivery object according to the interference level: According to the interference level, matching detection items corresponding to the interference level from a pre-stored database; The parameters of the detection items corresponding to the interference level in the delivery object parameters are extracted as new delivery object parameters.
6. An intelligent sensing system for feeding port, characterized in that: include: An infrared sensing module (201), the infrared sensing module (201) scans the injection port at high speed and collects scanning data; A control module (202), the control module (202) being electrically connected to the infrared sensing module (201); The infrared sensing module comprises: an infrared emitting board (2011) and an infrared receiving board (2012); the infrared emitting board (2011) and the infrared receiving board (2012) are arranged opposite to each other; A filter plate (2013), wherein the filter plate (2013) is arranged in close contact with the infrared receiving plate (2012); A light collecting plate (2014), wherein the light collecting plate (2014) is arranged in close contact with the infrared emitting plate (2011); The filter plate (2013) and the focusing plate (2014) are located between the infrared emitting plate (2011) and the infrared receiving plate (2012); The control module is configured as follows: an acquisition module (2021) acquires status data of multiple groups of infrared receiving tubes arranged at the injection port; determines the interference level according to the status data; and filters available status data from the status data according to the interference level and a preset filtering rule, wherein the infrared receiving tubes have different vertical distances from the injection port, and the status data is the IO result of the infrared receiving tubes receiving multiple high-speed scans; An image generation module (222) obtains a vertical projection bitmap of the object according to the available state data; The operation module (223) determines the parameters of the drop object corresponding to the detection items according to the object vertical projection bitmap and the preset detection items: the detection items include: presence, direction, speed, width and dispersion state; the object vertical projection bitmaps corresponding to the multiple groups of infrared receiving tubes are spliced and synthesized according to the positions of the infrared receiving tubes to obtain a result projection bitmap; and the presence, direction, speed, width and dispersion state of the drop object are judged according to the result projection bitmap.
