CN115646817A - Contraband elimination method, device, electronic equipment, system and storage medium - Google Patents

Contraband elimination method, device, electronic equipment, system and storage medium Download PDF

Info

Publication number
CN115646817A
CN115646817A CN202211670572.1A CN202211670572A CN115646817A CN 115646817 A CN115646817 A CN 115646817A CN 202211670572 A CN202211670572 A CN 202211670572A CN 115646817 A CN115646817 A CN 115646817A
Authority
CN
China
Prior art keywords
distance
rejected
rejection
contraband
article
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211670572.1A
Other languages
Chinese (zh)
Other versions
CN115646817B (en
Inventor
吴小洲
刘飞
毛苗炎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Zhuoyun Intelligent Technology Co ltd
Original Assignee
Zhejiang Zhuoyun Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Zhuoyun Intelligent Technology Co ltd filed Critical Zhejiang Zhuoyun Intelligent Technology Co ltd
Priority to CN202211670572.1A priority Critical patent/CN115646817B/en
Publication of CN115646817A publication Critical patent/CN115646817A/en
Application granted granted Critical
Publication of CN115646817B publication Critical patent/CN115646817B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application discloses a contraband removing method, a contraband removing device, electronic equipment, a contraband removing system and a storage medium. When the security check machine detects contraband, taking the contraband as an object to be removed, and acquiring delay time; acquiring a first distance between an article to be rejected and one side of the rejection equipment in the width direction; and rejecting the article to be rejected according to the delay time length and the first distance. The method and the device improve the rejection accuracy of the contraband.

Description

Contraband elimination method, device, electronic equipment, system and storage medium
Technical Field
The present invention relates to security inspection technologies, and in particular, to a method, an apparatus, an electronic device, a system, and a storage medium for rejecting contraband.
Background
The security check machine is used for detecting the parcel that passes through to in time reject out from the conveyer belt with the parcel that contains contraband, make things convenient for the security check personnel to unpack the inspection.
In the prior art, packages containing contraband are removed from a conveyor belt by calculating the removal time and the removal duration of the articles.
However, due to the fact that the speed of the conveyor belt becomes slow, or due to the fact that the packages containing contraband are dragged and the like, the packages containing the contraband may enter in a delayed manner, and a rejection error may be generated; and under the condition that the speed of the conveyor belt is high, the interval between two similar packages entering the removing device is short, and under the condition that the removing speed is slow, the removing error can be generated.
Disclosure of Invention
The application provides a contraband rejection method, a contraband rejection device, electronic equipment, a contraband rejection system and a storage medium, so as to improve the accuracy of the contraband rejection.
In a first aspect, an embodiment of the present application provides a method for removing contraband, which is applied to a removing device installed at a tail end of an object conveying direction of a security inspection machine, and the method for removing contraband includes:
when the security check machine detects contraband, taking the contraband as an object to be removed, and acquiring delay time;
acquiring a first distance between an article to be rejected and one side of the rejection equipment in the width direction;
and rejecting the article to be rejected according to the delay time and the first distance.
In a second aspect, an embodiment of the present application further provides a contraband removing apparatus, configured to a removing device installed at a tail end of an object conveying direction of a security inspection machine, where the contraband removing apparatus includes:
the time delay duration acquisition module is used for taking contraband as an object to be removed and acquiring time delay duration when the security check machine detects the contraband;
the first distance acquisition module is used for acquiring a first distance between an article to be rejected and one side of the rejection equipment in the width direction;
and the contraband rejection module is used for rejecting the objects to be rejected according to the delay time length and the first distance.
In a third aspect, an embodiment of the present application further provides an electronic device, where the electronic device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement any of the methods for contraband rejection provided by the embodiments of the present application.
In a fourth aspect, an embodiment of the present application further provides a contraband rejection system, including: the system comprises a security check machine, a distance sensor and a rejection device;
the removing equipment is arranged at the tail end of the security check machine in the object conveying direction and is respectively in communication connection with the security check machine and the distance sensor;
the security inspection machine is used for taking the contraband as an object to be removed when the contraband is detected, determining the delay time length and sending the delay time length to the removing equipment;
the distance sensor is used for acquiring a first distance between an article to be rejected and one side of the rejection equipment in the width direction;
the rejecting device is used for acquiring the time delay duration and the first distance acquired by the distance sensor when the security check machine detects the object to be rejected, and rejecting the object to be rejected according to the time delay duration and the first distance.
In a fifth aspect, the present application further provides a storage medium including computer-executable instructions, which when executed by a computer processor, are configured to perform any one of the methods for contraband rejection as provided by the embodiments of the present application.
According to the method and the device, when the security inspection machine detects contraband, the contraband is used as an object to be removed, and the time delay duration is obtained; acquiring a first distance between an article to be removed and one side of the removing equipment in the width direction, compensating an error of a delay time length through the first distance, improving the fault tolerance of the delay time length, judging whether the article to be removed is removed or completely removed, and solving the problem that the article to be removed is not removed or not completely removed; according to the time delay and the first distance, the articles to be removed are removed, the operation time of the removing device can be accurately controlled through the first distance, other articles behind or in front of the positions of the articles to be removed are prevented from being removed by mistake, the removing accuracy of the contraband articles is improved, the duration of the removing device for removing the articles to be removed is not required to be calculated, and computing resources are saved.
Drawings
Fig. 1 is a flowchart of a contraband rejection method according to an embodiment of the present application;
fig. 2 is a flowchart of a contraband rejection method in the second embodiment of the present application;
fig. 3a is a flowchart of a contraband rejection method in the third embodiment of the present application;
fig. 3b is a schematic diagram of an X-ray projection of a security inspection machine in the third embodiment of the present application;
fig. 4 is a schematic structural diagram of a contraband rejection apparatus in a fourth embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device in a fifth embodiment of the present application;
fig. 6 is a schematic structural diagram of a contraband rejection system in the sixth embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first" and "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1 is a flowchart of a method for rejecting contraband provided in an embodiment of the present application, where the present embodiment is applicable to rejection of contraband detected by a security inspection machine, and the method may be implemented by a contraband rejection apparatus, which may be implemented by software and/or hardware and is specifically configured in rejection equipment, such as a pendulum wheel machine, a mechanical arm, and the like.
Referring to fig. 1, the method for rejecting contraband is applied to a rejection device installed at the tail end of an object conveying direction of a security inspection machine, and specifically comprises the following steps:
s110, when the security inspection machine detects contraband, the contraband is used as an object to be removed, and the time delay is obtained.
The security check machine can be an electronic device for detecting the object and is used for determining whether the object is contraband or not according to the reflection condition of the object to the ray emitted by the security check machine. The categories of the contraband may be preset and used to determine the articles to be removed, and the contraband in different scenes may be different, which is not specifically limited in the present application. For example, in a baggage inspection scenario in an airport, contraband may be a non-shippable item. The articles to be removed are determined by the preset categories in the security inspection machine, and the articles conforming to the preset categories of the security inspection machine are contraband articles. For example, in an airport scenario, contraband may be an item of the flammable and explosive category. The articles to be removed can be articles which need to be removed by the removing equipment, namely contraband articles determined after detection by the security check machine.
The time delay duration is the shortest time delay duration before the articles to be removed are removed, and is used for determining the duration from the time when the articles are determined to be the articles to be removed by the security inspection machine to the time when the articles are conveyed to the removing equipment. Specifically, the delay time period can be determined by the following formula:
t=t All -(t 1 -t 0 );
wherein t is a delay time duration. t is t AII For the duration from the detection position to the entry into the rejection apparatus, t 1 Time at which the article is determined to be an article to be rejected, t 0 The time when the security inspection machine acquires first frame data of an article is the time;
wherein, t AII Determined by the speed of the security check machine and the length of the conveyor belt, more specifically t can be determined by AII
t All =s/v;
Wherein s is the distance between the detection position and one side, close to the conveyor belt, of the length direction of the removing equipment, the length direction of the removing equipment is the conveying direction of the conveyor belt, and v is the average conveying speed of the conveyor belt of the security inspection machine.
S120, acquiring a first distance between the article to be rejected and one side of the rejection equipment in the width direction.
The width direction of the removing device is a direction perpendicular to the transmission direction of the conveyor belt. The first distance can be distance information acquired by a distance sensor on one side of the security inspection machine close to the removing equipment, and can be used for controlling the removing action of the removing equipment. Specifically, the first distance may be a distance between the article to be rejected and the distance sensor, and the distance sensor determines the first distance by emitting a ray forward and according to a time when the reflected ray is received.
In an alternative embodiment, the first distance is acquired by a distance sensor; the distance sensor is installed at the position, close to the tail end of the conveyor belt of the removing device, in the security inspection machine.
The distance sensor may be a sensor that detects distance for determining whether an item to be rejected has entered or moved out of the working area of the rejection device. The security check machine and the operation area of the removing device are adjacent, namely when the object to be removed enters the tail end of the conveyor belt of the security check machine, the object to be removed enters the operation area of the removing device at the same time.
The distance sensor can be installed at a fixed position, close to the tail end of the conveyor belt of the removing device, in the security inspection machine, and the direction of the detection ray emitted by the distance sensor is perpendicular to the conveying direction of the conveyor belt of the security inspection machine. Therefore, when the article to be rejected reaches the position right in front of the distance sensor, the distance information acquired by the distance sensor changes due to the shielding of the article to be rejected, and at the moment, the article to be rejected can be determined to enter the operation area of the rejection equipment.
The device is arranged at a position close to the tail end of a conveyor belt of the removing equipment in the security inspection machine through a distance sensor; the distance information is acquired through the distance sensor, the moment when the article to be rejected enters the rejection equipment can be accurately determined, and the rejection accuracy of the rejection equipment is improved.
And S130, removing the articles to be removed according to the delay time length and the first distance.
After the article is determined as the article to be removed and after a delay time, the article to be removed should enter the operation area of the removing device under the normal condition, and at the moment, whether the article to be removed is determined to enter the operation area of the removing device is further determined through the acquired first distance, so that the article to be removed can be accurately removed by the removing device.
The rejecting of the article to be rejected can be the controlling of rejecting equipment to reject the article to be rejected from a conveyor belt of the security inspection machine. Specifically, the rejecting of the article to be rejected comprises controlling the rejecting device to start or stop rejecting operation and controlling the rejecting device to reject the article. Specifically, when the article to be rejected is determined to enter the operation area of the rejection equipment according to the first distance, the rejection equipment is controlled to start executing rejection operation on the article to be rejected according to the determined rejection direction; and when the articles to be removed are determined to be moved out of the operation area of the removing device according to the first distance, controlling the removing device to stop performing removing operation on the articles to be removed.
For example, the rejecting device may reject the article to be rejected by the robotic arm; alternatively, the rejecting device may reject the article to be rejected through a swing wheel machine, which is not specifically limited in this application. If the to-be-rejected articles are rejected by the rejection equipment through the wheel oscillating machine, an included angle is formed between the transmission direction of the rejection equipment and the transmission direction of the security inspection machine, and the to-be-rejected articles are rejected from the wheel oscillating machine in a way of deviating from the original transmission direction. For example, the removing device is controlled to remove the article to be removed from the conveyor belt of the security inspection machine through the swing wheel machine, and the removing device can be controlled to rotate according to the determined removing direction when the article to be removed is determined to enter the working area of the removing device according to the first distance; and when the articles to be removed are determined to move out of the operation area of the removing device according to the distance information, controlling the removing device to stop rotating.
According to the technical scheme of the embodiment, when the security inspection machine detects the contraband, the contraband is taken as an object to be removed, and the delay time length is obtained; acquiring a first distance between an article to be removed and one side of the removing equipment in the width direction, compensating an error of a delay time length through the first distance, improving the fault tolerance of the delay time length, judging whether the article to be removed is removed or completely removed, and solving the problem that the article to be removed is not removed or not completely removed; according to the time delay and the first distance, the articles to be removed are removed, the operation time of the removing device can be accurately controlled through the first distance, other articles behind or in front of the positions of the articles to be removed are prevented from being removed by mistake, the removing accuracy of contraband articles is improved, the duration time of removing the articles to be removed by the removing device does not need to be calculated, and the calculation resources are saved. Therefore, the technical scheme of the application solves the problem that the conveyor belt is slow in speed or the objects to be removed are dragged to delay arrival; and under the condition that the speed of the conveyor belt is high, the interval between two similar articles entering the rejection equipment is short, and under the condition that rejection is slow, the problem that rejection errors are possibly generated is solved, so that the effect of improving the rejection accuracy of the contraband articles is achieved.
Example two
Fig. 2 is a flowchart of a method of a flowchart of a contraband rejection method provided in the second embodiment of the present application, and the technical solution of this embodiment is further refined based on the above technical solutions.
Further, the method comprises the following steps of removing the objects to be removed according to the delay time and the first distance, and refining: when the transmission time length of the articles to be removed is longer than or equal to the delay time length, if the first distance is smaller than the initial distance, the removing equipment is controlled to remove the articles to be removed; the initial distance is the distance in the width direction of the removing equipment and is used for indicating that the articles to be removed do not enter the operation area of the removing equipment so as to control the removing equipment to remove the articles;
after the 'control of the rejecting device to begin rejecting the article to be rejected' is finished, adding: if the first distance is recovered to be the initial distance, the rejecting device is controlled to stop rejecting the articles to be rejected so as to control the rejecting device to stop rejecting the articles.
Referring to fig. 2, a method for rejecting contraband includes:
s210, when the security inspection machine detects contraband, the contraband is used as an object to be removed, and delay time is obtained.
S220, acquiring a first distance between the article to be rejected and one side of the rejection equipment in the width direction.
S230, when the transmission time length of the article to be rejected is longer than or equal to the delay time length, if the first distance is smaller than the initial distance, controlling the rejection equipment to begin rejecting the article to be rejected; the initial distance is the distance in the width direction of the removing equipment and is used for indicating that the articles to be removed do not enter the operation area of the removing equipment.
And the initial distance is a distance value detected by the distance sensor when the article to be rejected does not reach the position right in front of the distance sensor, and the distance value is used for indicating that the article to be rejected does not enter the operation area of the rejection equipment. For example, a shield can be installed at the end of the security inspection machine on the other side of the side where the distance sensor is installed to determine the initial distance, and the line connecting the shield and the distance sensor is perpendicular to the conveying direction of the security inspection machine. It should be noted that the position of the blocking object for determining the initial distance value may be specifically defined according to the working environment of the security inspection machine, as long as the determined initial distance value is greater than the width of the conveyor belt of the security inspection machine, and the blocking object is not blocked by other objects besides the objects conveyed on the conveyor belt when the initial distance is detected.
If the value of the first distance is smaller than the value of the initial distance, it is indicated that the article is in front of the distance sensor, that is, the article begins to enter the operation area of the rejecting device. After the time delay, if the numerical value of the first distance is smaller than the numerical value in the initial distance, the article to be rejected enters the operation area of the rejection device, and at the moment, the rejection device is controlled to reject the article to be rejected. Specifically, if the removing equipment works through the robot arm, the robot arm is controlled to grab the article to be removed and move towards the removing direction so as to remove the article to be removed; and if the eliminating equipment works through the swing wheel machine, controlling the swing wheel machine to rotate towards the eliminating direction so as to eliminate the articles to be eliminated.
In practice, on one hand, the running speed of the conveyor belt can be influenced when the weight of the articles on the conveyor belt is large, so that the speed of the conveyor belt is reduced within a certain time; on the other hand, due to the fact that the size of the article to be rejected is large and the article to be rejected is in contact with the edge of the security inspection machine, or due to manual contact, the article to be rejected moves backwards, the actual time when the article to be rejected enters the operation area of the rejection device is later than the corresponding time when the delay time duration is over, and at this time, if other articles before the article to be rejected are not moved out of the operation area of the rejection device, the articles may be rejected mistakenly. Therefore, the first distance between the article to be rejected and one side of the width direction of the rejection equipment is obtained when the transmission time length of the article to be rejected is greater than or equal to the delay time length, so that the fault tolerance of the delay time length can be improved, and the rejection accuracy and completeness of the article to be rejected by the follow-up rejection equipment are improved.
And S240, if the first distance is recovered to the initial distance, controlling the removing equipment to stop removing the articles to be removed.
The first distance is restored to the original distance, i.e. the value of the first distance changes from a value smaller than the original distance to a value equal to the original distance. And after the first distance is smaller than the initial distance, if the first distance is recovered to the initial distance, indicating that the article to be removed moves out of the operation area of the removing device, and controlling the removing device to stop removing the article to be removed from the conveyor belt of the security inspection machine. Specifically, if the removing device works through the robot arm, the robot arm is controlled to loosen the articles to be removed and move to the operation position; and if the rejecting equipment works through the swing wheel machine, controlling the swing wheel machine to stop rotating.
In practice, the article to be rejected has a certain length and the length value is not fixed, so that the rejection operation lasts for a period of time. In the prior art, the rejection duration is determined by calculating the length of the article to be rejected. On the one hand, however, the articles to be rejected may not be perpendicular to the rejection direction of the rejection device, and the speed of the conveyor belt of the security inspection machine may vary, possibly resulting in inaccurate calculation results; on the other hand, two articles on a conveyor belt of the security inspection machine may be close to each other, a time interval of entering the removing device may be short, and if the removing device performs a removing operation at a low speed, the articles behind the articles to be removed may be removed by mistake. According to the first distance information, the rejecting device is controlled to stop rejecting the articles to be rejected, rejection duration calculation is not needed, calculation resources are saved, and meanwhile the rejecting device is controlled through actual distance information, so that control is more accurate in time dimension, false rejection is avoided, and rejection accuracy is improved.
According to the technical scheme of the embodiment, when the transmission time length of the article to be rejected is longer than or equal to the delay time length, if the first distance is smaller than the initial distance, the rejection equipment is controlled to begin to reject the article to be rejected; the initial distance is the distance in the width direction of the rejection equipment, and is used for indicating that the articles to be rejected do not enter the operation area of the rejection equipment, so that the error of the delay time length can be compensated, the fault tolerance of the delay time length is improved, the accuracy of the rejection starting action in the time dimension is improved, and the rejection accuracy of the contraband is improved; if the first distance is recovered to the initial distance, the removing equipment is controlled to stop removing the articles to be removed, removing duration calculation is not needed, calculation resources are saved, time accuracy at the stop moment is improved, article wrong removing after the positions of the articles to be removed is avoided, and accuracy of contraband removing is improved.
EXAMPLE III
Fig. 3a is a flowchart of a flowchart method of a contraband rejection method provided in the third embodiment of the present application, and the technical scheme of the present embodiment is further refined on the basis of the above technical scheme.
Further, the method comprises the following steps of eliminating the articles to be eliminated according to the delay time length and the first distance, and is refined as follows: acquiring a second distance between the article to be rejected and the other side of the rejection equipment in the width direction; determining the removing direction of removing equipment according to the first distance and the second distance; and according to the removing direction, removing the articles to be removed "so as to determine the removing direction of the removing equipment.
Referring to fig. 3a, a contraband rejection method includes:
s310, when the security inspection machine detects contraband, the contraband is used as an article to be removed, and the time delay is obtained.
S320, acquiring a first distance between the article to be rejected and one side of the rejection equipment in the width direction.
And S330, acquiring a second distance between the article to be rejected and the other side of the rejection equipment in the width direction.
The second distance can be the distance between the surface of the article to be rejected, which is far away from the sensor, and the edge of the side rejecting device, and is used for determining the rejecting direction. The first distance is actually the distance between the side of the article to be rejected, which is opposite to the distance sensor, and the edge of the side rejection equipment. The article to be removed has a certain width, so that the distance between the article to be removed and one side of two edges of the removing device cannot be determined only by the first distance, the minimum removing distance cannot be determined, and the second distance between the article to be removed and the other side of the removing device in the width direction needs to be acquired. Specifically, the position of the article to be rejected on the conveyor belt can be defaulted to be fixed and moves forward along with the transmission of the conveyor belt, so that the position of the article to be rejected in the width direction when the article enters the rejection equipment can be replaced by the position of the article to be rejected on the conveyor belt, and the second distance can be acquired by the security inspection machine.
In an optional embodiment, obtaining a second distance between the article to be rejected and the other side of the rejection device in the width direction includes: determining a pixel distance according to an X-ray projection image of an article to be rejected; and determining the second distance according to the pixel distance and the actual physical distance corresponding to the single pixel.
The X-ray projection drawing of the article to be rejected is a projection drawing obtained by X-ray projection when the article to be rejected passes through the security inspection machine. Fig. 3b is a schematic diagram of a security inspection machine X-ray projection. In fig. 3b, the light source is a light source emitting point for emitting X-rays, the article is an article entering the security inspection machine for detection, and the L-shaped detection plate is a device in the security inspection machine. In fig. 3b, AB is the first distance and CD is the second distance. As can be seen from fig. 3B, since the light source is usually installed at one side, and the object has a certain height, the distance of the X-ray projection diagram is B' C, not BC of the orthographic projection, only the second distance can be accurately determined by the X-ray projection diagram of the security inspection machine, and the first distance cannot be accurately determined.
And determining the pixel distance corresponding to the second distance according to the X-ray projection image of the article to be removed, and determining the second distance according to the product of the pixel distance corresponding to the second distance and the actual physical distance corresponding to a single pixel.
Determining the pixel distance according to an X-ray projection image of an article to be rejected; the second distance is determined according to the pixel distance and the actual physical distance corresponding to the single pixel, the second distance can be determined while contraband detection is carried out, the method is simple, the accuracy is high, the efficiency is high, and the efficiency of subsequent removal direction determination can be improved.
S340, determining the removing direction of the removing device according to the first distance and the second distance.
The rejecting direction is the direction of rejecting the articles to be rejected from the conveyor belt of the security inspection machine by controlling the rejecting device, and the rejecting direction is perpendicular to the conveying direction of the security inspection machine. The articles to be removed are randomly placed on the conveyor belt of the security inspection machine, so that the articles to be removed are close to one side in the width direction of the conveyor belt. The width direction of the conveyor belt is a direction perpendicular to the conveying direction of the conveyor belt. Through first distance and second distance, can confirm to wait to reject one side that article are close to the conveyer belt edge of security check machine, will regard as to reject the direction to this side direction, can shorten and reject the distance, shorten and reject the time, improve and reject efficiency.
In an alternative embodiment, determining the rejecting direction of the rejecting device according to the first distance and the second distance includes: when the first distance is smaller than the second distance, acquiring the direction of the first distance as a rejection direction; and when the first distance is greater than or equal to the second distance, the direction of acquiring the second distance is the rejecting direction.
When the first distance is smaller than the second distance, the object to be rejected can be determined to be closer to one side where the distance sensor is installed, the direction of acquiring the first distance is taken as a rejection direction, and the side which is to move towards the distance sensor is taken as the rejection direction.
When the first distance is larger than or equal to the second distance, the distance between the article to be rejected and the side where the distance sensor is installed can be determined to be far, the direction of acquiring the second distance is taken as a rejection direction, and the side which moves far away from the distance sensor is taken as the rejection direction.
When the first distance is smaller than the second distance, acquiring the direction of the first distance as a rejection direction; when the first distance is larger than the second distance, the direction for acquiring the second distance is the rejecting direction, the moving distance of rejecting operation can be shortened, and the rejecting speed is improved.
And S350, rejecting the articles to be rejected according to the rejection direction.
And controlling the removing equipment to remove the articles to be removed from the conveyor belt of the security inspection machine according to the removing direction. Specifically, the moving direction of the machine arm is controlled according to the removing direction, or the rotating direction of the wheel swinging machine is controlled.
According to the technical scheme of the embodiment, a second distance between the article to be removed and the other side of the removing equipment in the width direction is obtained; determining the removing direction of removing equipment according to the first distance and the second distance; according to the rejecting direction, articles to be rejected are rejected, the moving distance of rejecting operation is shortened, the rejecting speed is improved, the rejecting operation can be completed quickly under the condition that the conveying speed of the security inspection machine is high, other articles behind the articles to be rejected are prevented from being rejected by mistake, and the rejection accuracy of contraband articles is improved.
Example four
Fig. 4 is a schematic structural diagram of a contraband removing apparatus according to a fourth embodiment of the present application, where the present embodiment is applicable to a situation where a contraband detected by a security inspection machine is removed, and the apparatus is configured at a tail end of an object conveying direction of the security inspection machine, and the structure of the contraband removing apparatus is as follows:
a delay time length obtaining module 410, configured to, when the security inspection machine detects a contraband, take the contraband as an object to be removed, and obtain a delay time length;
a first distance obtaining module 420, configured to obtain a first distance between an article to be rejected and one side of the rejection apparatus in the width direction;
and the contraband rejection module 430 is used for rejecting the articles to be rejected according to the delay time length and the first distance.
According to the technical scheme of the embodiment, when the security inspection machine detects the contraband, the time delay duration acquisition module takes the contraband as an object to be removed and acquires the time delay duration; the first distance between the article to be rejected and one side of the rejection equipment in the width direction is acquired through the first distance acquisition module, the error of the delay time length can be made up through the first distance, the fault tolerance of the delay time length is improved, whether the article to be rejected is rejected or not is judged, and the problem that the article to be rejected is not rejected or not is not rejected completely is solved; according to the time delay and the first distance, the articles to be removed are removed, the operation time of the removing device can be accurately controlled through the first distance, other articles behind or in front of the positions of the articles to be removed are prevented from being removed by mistake, the removing accuracy of the contraband articles is improved, the duration of the removing device for removing the articles to be removed is not required to be calculated, and computing resources are saved. Therefore, the technical scheme of the application solves the problem that the conveyor belt is slow in speed or the objects to be removed are dragged to delay the arrival; and under the condition that the speed of the conveyor belt is high, the interval between two similar articles entering the rejection equipment is short, and under the condition that the rejection is slow, the problem that the rejection error is possibly generated is solved, so that the effect of improving the rejection accuracy rate of the contraband is achieved.
Optionally, the contraband rejection module 430 includes:
the rejecting starting unit is used for controlling the rejecting device to reject the article to be rejected if the first distance is smaller than the initial distance when the transmission time length of the article to be rejected is longer than or equal to the delay time length; the initial distance is the distance in the width direction of the removing device and is used for indicating that the articles to be removed do not enter the operation area of the removing device.
Optionally, the contraband rejection module 430 further includes:
and the rejecting stop unit is used for controlling the rejecting device to stop rejecting the articles to be rejected if the first distance is recovered to the initial distance.
Optionally, the contraband rejection module 430 includes:
the second distance acquisition unit is used for acquiring a second distance between the article to be rejected and the other side of the rejection equipment in the width direction;
the removing direction determining unit is used for determining the removing direction of the removing equipment according to the first distance and the second distance;
and the rejecting direction application unit is used for rejecting the articles to be rejected according to the rejecting direction.
Optionally, the second distance obtaining unit includes:
the pixel distance determining subunit is used for determining the pixel distance according to the X-ray projection image of the article to be rejected;
and the second distance determining subunit is used for determining the second distance according to the pixel distance and the actual physical distance corresponding to the single pixel.
Optionally, the removing direction determining unit includes:
the first direction determining subunit is used for acquiring the direction of the first distance as a rejection direction when the first distance is smaller than the second distance;
and the second direction determining subunit is used for acquiring the direction of the second distance as the removing direction when the first distance is greater than or equal to the second distance.
Optionally, the contraband rejecting apparatus includes:
the distance information acquisition module is used for acquiring distance information through a distance sensor; the distance sensor is installed at the position, close to the tail end of the conveyor belt of the removing device, in the security inspection machine.
The contraband rejection device provided by the embodiment of the application can execute the contraband rejection method provided by any embodiment of the application, and has the corresponding functional modules and beneficial effects of executing the contraband rejection method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present disclosure, as shown in fig. 5, the electronic device includes a processor 510, a memory 520, an input device 530, and an output device 540; the number of the processors 510 in the electronic device may be one or more, and one processor 510 is taken as an example in fig. 5; the processor 510, the memory 520, the input device 530 and the output device 540 in the electronic apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.
The memory 520 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules (e.g., the delay time duration obtaining module 410, the first distance obtaining module 420, and the contraband rejection module 430) corresponding to the contraband rejection method in the embodiment of the present application. The processor 510 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the memory 520, so as to implement the above-mentioned contraband rejection method.
The memory 520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 520 may further include memory located remotely from processor 510, which may be connected to an electronic device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 530 may be used to receive input character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 540 may include a display device such as a display screen.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a contraband rejection system according to a sixth embodiment of the present application, including: security check machine 610, distance sensor 620, and reject device 630.
The rejecting apparatus 630 is installed at the end of the security check machine in the object conveying direction, and when the article to be rejected reaches the end of the security check machine 610 by the conveyance of the security check machine 610, it is considered that the article to be rejected enters the working area of the rejecting apparatus 630.
Rejection device 630 is in communication with security inspection machine 610 and distance sensor 620, respectively. Specifically, the communication connection may be a wired connection or a wireless connection, which is not specifically limited in this application.
The security inspection machine 610 is configured to, when the contraband is detected, take the contraband as an object to be removed, determine a delay time length, and send the delay time length to a removal device. Specifically, the method comprises the following steps. The security check machine 610 determines an article conforming to the contraband category as contraband and determines the contraband as an article to be rejected by a detection apparatus, for example, an x-ray detection apparatus. At this time, the security inspection machine 610 determines the delay time length through a delay time length calculation formula, and sends the delay time length to the rejecting device 630. The specific formula for calculating the delay time length has already been described in the foregoing embodiments, and is not described here again. When the security check machine 610 sends the delay duration to the rejecting apparatus 630, it also sends the time at which the item to be rejected is determined to the rejecting apparatus 630.
The distance sensor 620 is configured to obtain a first distance between the article to be rejected and one side of the rejecting apparatus 630 in the width direction, and send the first distance to the rejecting apparatus 630 in real time, so as to determine the start and stop time of the rejecting operation for the rejecting apparatus 630, and provide a data basis for determining the rejecting direction.
The rejecting device 630 is configured to obtain the delay time length and the first distance obtained by the distance sensor 620 when the security check machine 610 detects the article to be rejected, and reject the article to be rejected according to the delay time length and the first distance.
Specifically, if the distance value of the first distance is smaller than the initial distance value, the removing device 630 is controlled to remove the article to be removed from the conveyor belt of the security inspection machine 610; and controls the rejecting device 630 to stop rejecting articles from the conveyor belt of the security inspection machine 610 after the first distance returns to the initial distance. The initial distance is the distance in the width direction of the rejecting device, and is used for indicating that the article to be rejected does not enter the working area of the rejecting device 630.
Meanwhile, obtaining an X-ray projection image of the article to be removed through the security inspection machine 610, and determining a pixel distance of a second distance through the X-ray projection image; and determining the second distance according to the pixel distance and the actual physical distance corresponding to the single pixel. When the first distance is smaller than the second distance, acquiring the direction of the first distance as a rejection direction; and when the first distance is greater than or equal to the second distance, acquiring the direction of the second distance as a rejection direction.
According to the technical scheme, the contraband rejection system is composed of the security check machine, the distance sensor and the rejection equipment, the rejection equipment is installed at the tail end of the object conveying direction of the security check machine and is in communication connection with the security check machine and the distance sensor respectively, and transmission of distance information and information determined by the objects to be rejected is achieved. The security check machine is used for taking the contraband as an article to be rejected, determining the delay time length and sending the delay time length to rejection equipment when the contraband is detected; the distance sensor is used for acquiring a first distance between an article to be rejected and one side of the rejection equipment in the width direction; the rejecting device is used for acquiring time delay duration and acquiring a first distance acquired by the distance sensor when the security inspection machine detects an article to be rejected, rejecting the article to be rejected according to the time delay duration and the first distance, the error of the time delay duration can be compensated through the first distance, the fault tolerance of the time delay duration is improved, the rejecting device can accurately determine different operation moments through the first distance, other articles behind or in front of the position of the article to be rejected are prevented from being rejected mistakenly, the rejection accuracy of contraband articles is improved, the duration of rejecting the article to be rejected does not need to be calculated, and computing resources are saved. Therefore, the technical scheme of the application solves the problem that the conveyor belt is slow in speed or the articles to be removed are dragged to delay entering; and under the condition that the speed of the conveyor belt is high, the interval between two similar articles entering the rejection equipment is short, and under the condition that rejection is slow, the problem that rejection errors are possibly generated is solved, so that the effect of improving the rejection accuracy of the contraband articles is achieved.
EXAMPLE seven
A seventh embodiment of the present application further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for contraband rejection, the method comprising: when the security inspection machine detects contraband, taking the contraband as an object to be removed, and acquiring delay time; acquiring a first distance between an article to be rejected and one side of the rejection equipment in the width direction; and rejecting the article to be rejected according to the delay time and the first distance.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the contraband rejection method provided in any embodiment of the present application.
From the above description of the embodiments, it is obvious for those skilled in the art that the present application can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling an electronic device (which may be a personal computer, a server, or a network device) to execute the methods described in the embodiments of the present application.
It should be noted that, in the embodiment of the above search apparatus, each included unit and module are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (11)

1. A contraband rejection method is characterized in that the method is applied to rejection equipment arranged at the tail end of an object conveying direction of a security inspection machine, and comprises the following steps:
when the security check machine detects contraband, taking the contraband as an object to be removed, and acquiring delay time;
acquiring a first distance between the article to be rejected and one side of the rejection equipment in the width direction;
and rejecting the article to be rejected according to the delay time length and the first distance.
2. The method according to claim 1, wherein said rejecting said item to be rejected based on said delay time duration and said first distance comprises:
when the transmission time length of the articles to be removed is longer than or equal to the delay time length, if the first distance is smaller than the initial distance, controlling the removing equipment to remove the articles to be removed;
and the initial distance is the distance in the width direction of the removing equipment and is used for indicating that the article to be removed does not enter the operation area of the removing equipment.
3. The method according to claim 2, characterized in that, after said controlling of said rejection device to start rejecting said item to be rejected, it further comprises:
and if the first distance is recovered to the initial distance, controlling the rejecting device to stop rejecting the article to be rejected.
4. The method according to claim 1, wherein said rejecting said item to be rejected based on said delay time duration and said first distance comprises:
acquiring a second distance between the article to be rejected and the other side of the rejecting device in the width direction;
determining the removing direction of the removing equipment according to the first distance and the second distance;
and rejecting the article to be rejected according to the rejection direction.
5. A method according to claim 4, wherein said obtaining a second distance between the item to be rejected and the other side of the rejection device in the width direction comprises:
determining a pixel distance according to an X-ray projection image of an article to be rejected;
and determining the second distance according to the pixel distance and the actual physical distance corresponding to the single pixel.
6. The method according to claim 4, wherein said determining a rejection direction of said rejection device from said first distance and said second distance comprises;
when the first distance is smaller than the second distance, acquiring the direction of the first distance as the removing direction;
and when the first distance is greater than or equal to the second distance, acquiring the direction of the second distance as the rejecting direction.
7. The method of claim 1, wherein the distance information is obtained by a distance sensor;
the distance sensor is installed at a position, close to the tail end of the conveyor belt of the removing device, in the security inspection machine.
8. A contraband removing device is characterized in that a removing device arranged at the tail end of an object conveying direction of a security inspection machine comprises:
the device comprises a delay time length determining module, a judging module and a judging module, wherein the delay time length determining module is used for taking contraband as an object to be removed and acquiring delay time length when the security inspection machine detects the contraband;
the distance information acquisition module is used for acquiring a first distance between the article to be rejected and one side of the rejection equipment in the width direction;
and the rejecting device control module is used for rejecting the article to be rejected according to the delay time length and the first distance.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the contraband rejection method according to any one of claims 1 to 7 when executing the program.
10. A contraband rejection system, comprising: the system comprises a security check machine, a distance sensor and a rejection device;
the removing equipment is arranged at the tail end of the security check machine in the object conveying direction and is respectively in communication connection with the security check machine and the distance sensor;
the security inspection machine is used for taking the contraband as an article to be removed when the contraband is detected, determining the delay time length and sending the delay time length to the removing equipment;
the distance sensor is used for acquiring a first distance between the article to be rejected and one side of the rejection equipment in the width direction;
the rejecting device is used for acquiring time delay duration and the first distance acquired by the distance sensor when the security check machine detects the object to be rejected, and rejecting the object to be rejected according to the time delay duration and the first distance.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a method of contraband rejection according to any one of claims 1 to 7.
CN202211670572.1A 2022-12-26 2022-12-26 Contraband elimination method, device, electronic equipment, system and storage medium Active CN115646817B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211670572.1A CN115646817B (en) 2022-12-26 2022-12-26 Contraband elimination method, device, electronic equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211670572.1A CN115646817B (en) 2022-12-26 2022-12-26 Contraband elimination method, device, electronic equipment, system and storage medium

Publications (2)

Publication Number Publication Date
CN115646817A true CN115646817A (en) 2023-01-31
CN115646817B CN115646817B (en) 2023-04-07

Family

ID=85022840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211670572.1A Active CN115646817B (en) 2022-12-26 2022-12-26 Contraband elimination method, device, electronic equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN115646817B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11351838A (en) * 1998-06-12 1999-12-24 Nippon Telegr & Teleph Corp <Ntt> Method and apparatus for inputting picture and record medium with this method recorded thereon
CN106414280A (en) * 2014-01-27 2017-02-15 莱特拉姆有限责任公司 Induction conveyor
CN108254393A (en) * 2016-12-27 2018-07-06 合肥美亚光电技术股份有限公司 Safety check hazardous material detection device and safety inspection method
CN111617971A (en) * 2020-05-27 2020-09-04 北京谛测科技有限公司 Bobbin yarn detection system, method and device
CN114669510A (en) * 2022-03-21 2022-06-28 宜宾五粮液股份有限公司 False touch correction system and method suitable for production line

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11351838A (en) * 1998-06-12 1999-12-24 Nippon Telegr & Teleph Corp <Ntt> Method and apparatus for inputting picture and record medium with this method recorded thereon
CN106414280A (en) * 2014-01-27 2017-02-15 莱特拉姆有限责任公司 Induction conveyor
CN108254393A (en) * 2016-12-27 2018-07-06 合肥美亚光电技术股份有限公司 Safety check hazardous material detection device and safety inspection method
CN111617971A (en) * 2020-05-27 2020-09-04 北京谛测科技有限公司 Bobbin yarn detection system, method and device
CN114669510A (en) * 2022-03-21 2022-06-28 宜宾五粮液股份有限公司 False touch correction system and method suitable for production line

Also Published As

Publication number Publication date
CN115646817B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN105205431A (en) Two-dimensional code automatic correction system and method in packaging process
CN107220701B (en) Accurate counting detection method for belt conveying bagged objects
US20200320736A1 (en) Image processing method, device and apparatus for multi-object detection
CN111392402B (en) Automatic grabbing method, device, equipment and storage medium
KR102044077B1 (en) Image matching method and device
WO2022205644A1 (en) Target detection method and apparatus, and computer device and storage medium
CN110751300B (en) Fault processing method and device for express cabinet, express cabinet and storage medium
CN105204968A (en) Method and device for detecting fault memory
CN115321090B (en) Method, device, equipment, system and medium for automatically receiving and taking luggage in airport
CN115646817B (en) Contraband elimination method, device, electronic equipment, system and storage medium
CN107833001A (en) Box for material circulation management method, device and electronic equipment
CN106844075A (en) A kind of data transferring method and equipment
CN113781460A (en) Cigarette packet appearance defect online detection method and device, electronic equipment and storage medium
CN116118363B (en) Intelligent defect marking method, device, system and storage medium
CN117055496A (en) Multi-station product processing method and device, electronic equipment and storage medium
JP4421121B2 (en) Intruder detection method
CN111368836A (en) Information processing method, information processing apparatus, electronic device, and medium
CN112130571B (en) Linen conveying method and device for hotel rooms and electronic equipment
US20210350496A1 (en) System and method for three-dimensional scan of moving objects longer than the field of view
CN109922918B (en) Laser processing apparatus
CN115009864B (en) Feeding and discharging method and device, electronic equipment and storage medium
JP2021085659A (en) Inspection equipment and inspection method
CN113256584B (en) Method, device and equipment for sorting packages in anti-collision manner and storage medium
CN114898274A (en) Package detection method and device
CN114359759A (en) Method, device and equipment for determining weighing state

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant