CN114494983A - Railway foreign matter invasion monitoring method and system - Google Patents
Railway foreign matter invasion monitoring method and system Download PDFInfo
- Publication number
- CN114494983A CN114494983A CN202210392148.9A CN202210392148A CN114494983A CN 114494983 A CN114494983 A CN 114494983A CN 202210392148 A CN202210392148 A CN 202210392148A CN 114494983 A CN114494983 A CN 114494983A
- Authority
- CN
- China
- Prior art keywords
- image
- gaussian
- background model
- volume
- gaussian mixture
- 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.)
- Pending
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 35
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000009545 invasion Effects 0.000 title claims abstract description 16
- 239000000203 mixture Substances 0.000 claims abstract description 42
- 238000001514 detection method Methods 0.000 claims abstract description 30
- 238000009826 distribution Methods 0.000 claims description 34
- 230000015654 memory Effects 0.000 claims description 16
- 238000003860 storage Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 14
- 239000013598 vector Substances 0.000 claims description 12
- 230000006870 function Effects 0.000 claims description 8
- 239000011159 matrix material Substances 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 10
- 239000004575 stone Substances 0.000 description 10
- 238000005259 measurement Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 239000013307 optical fiber Substances 0.000 description 4
- 239000011435 rock Substances 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000002372 labelling Methods 0.000 description 3
- 230000014759 maintenance of location Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000005422 blasting Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000009440 infrastructure construction Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 244000144972 livestock Species 0.000 description 1
- 230000033001 locomotion Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Mathematical Analysis (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Computational Mathematics (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computing Systems (AREA)
- Bioinformatics & Computational Biology (AREA)
- Evolutionary Biology (AREA)
- Operations Research (AREA)
- Probability & Statistics with Applications (AREA)
- Train Traffic Observation, Control, And Security (AREA)
- Image Analysis (AREA)
Abstract
The invention provides a method and a system for monitoring railway foreign matter invasion, and relates to the field of image recognition. Firstly, reading images of a video sequence, and defining a detection area in the images; judging whether the image is matched with a Gaussian mixture background model, if not, extracting a foreground object of the image; calculating the volume of a foreground object in the detection area; judging whether the volume is larger than a first threshold value or not, if so, judging that the foreign matter is invaded; and marking the position and the volume of the invasive foreign body. Determining a foreground object of an image by judging whether the acquired image is matched with a Gaussian mixture background model; and further judging whether the foreground image is an invasive foreign object or not based on the volume of the foreground image. The invasion foreign matter in the tunnel can be effectively identified, the alarm is given to the working personnel in time, and the accident is avoided.
Description
Technical Field
The present disclosure relates to the field of image recognition, and in particular, to a method and a system for monitoring intrusion of foreign objects into a railway, a medium and a device.
Background
In recent years, the country has vigorously developed the infrastructure construction of high-speed railways, and the four-longitudinal four-transverse' express railway network has been developed in an initial scale, so that great convenience is brought to people for going out. Due to the characteristic that the high-speed railway is high in running speed, the curve radius of the high-speed railway is determined to be large, the slope rate is determined to be low, and therefore the tunnel proportion in the high-speed railway is heavy. Due to the closeness of tunnels, railway related safety accidents also sometimes occur, particularly derailment and rollover of trains caused by natural disasters, which indicate the necessity of inspection and early warning along the railway.
The disturbance of tunnel country rock may be very big that natural disasters or peripheral blasting arouse, cause the country rock more loose, can lead to the tunnel country rock step to drop, and the safe operation of train in the tunnel can not obtain the guarantee like this. Therefore, it is an urgent problem to find a monitoring method for detecting the block falling in the railway tunnel more quickly and intelligently.
Disclosure of Invention
In order to overcome the problems in the related art, the railway foreign matter intrusion monitoring method, the railway foreign matter intrusion monitoring system, the railway foreign matter intrusion monitoring medium and the railway foreign matter intrusion monitoring equipment are provided, and a foreground object of an image is determined by judging whether the acquired image is matched with a Gaussian mixed background model or not; and further judging whether the foreground image is an invasive foreign object or not based on the volume of the foreground image. The invasion foreign matter in the tunnel can be effectively identified, the alarm is given to the working personnel in time, and the accident is avoided.
According to a first aspect herein, there is provided a railway foreign object intrusion monitoring method comprising: reading an image of a video sequence, delimiting a detection area in the image; judging whether the image is matched with a Gaussian mixed background model or not, and if not, extracting a foreground object of the image; calculating the volume of a foreground object in the detection area; judging whether the volume is larger than a first threshold value or not, and if so, judging that the foreign body is invaded; and marking the position and the volume of the invasive foreign body.
Based on the scheme, before judging whether the original image is matched with a Gaussian mixture background model or not, modeling the Gaussian mixture background model; each pixel of the background image is respectively modeled by a Gaussian mixture model formed by K Gaussian distributions, and the modeling of the Gaussian mixture background model specifically comprises the following steps:
wherein,representing the value of the pixel j at the time t, if the pixel j is an RGB three-channelIn the form of a vector, the vector,,an estimate of the weight coefficients representing the ith gaussian distribution in the gaussian background model at time t,the mean vector of the ith Gaussian distribution in the mixed Gaussian background model at the moment t is represented;and (2) representing the covariance matrix of the ith Gaussian distribution in the mixed Gaussian background model at the moment t, and eta representing the probability density function of the Gaussian distribution.
Based on the scheme, the matching of the original image and the Gaussian mixture background model is judged, wherein the matching comprises pixel valuesDefining the distance between the mean value of the ith Gaussian distribution in the Gaussian mixture background model and the standard deviation of the mean value of the ith Gaussian distribution to be less than 2.5 times of the standard deviation of the mean value of the ith Gaussian distribution in the Gaussian mixture background modelMatching; namely, it is。
Based on the scheme, after the volume is judged to be larger than a first threshold value, the staying time of the foreground object is calculated, and if the staying time is larger than a second threshold value, the intrusion foreign matter is judged.
According to another aspect herein, there is provided a railway foreign object intrusion monitoring system comprising: the device comprises a detection unit, a detection unit and a processing unit, wherein the detection unit is used for reading images of a video sequence and demarcating a detection area in the images; the first judgment unit is used for judging whether the image is matched with the Gaussian mixture background model or not, and if not, extracting a foreground object of the image; a calculation unit for calculating the volume of a foreground object within the detection area; the second judgment unit is used for judging whether the volume is larger than the first threshold value or not, and if so, judging that the foreign body is invaded; and the marking unit is used for marking the position and the volume of the invasion foreign matter.
According to another aspect herein, there is provided a computer readable storage medium having stored thereon a computer program which, when executed, implements the above-mentioned railway foreign object intrusion monitoring method.
According to another aspect of the present document, there is provided a computer device comprising a processor, a memory and a computer program stored on the memory, the processor implementing the above mentioned steps of the railway foreign object intrusion method when executing the computer program.
The text provides a method and a system for monitoring railway foreign matter invasion. Firstly, reading images of a video sequence, and delimiting a detection area in the images; judging whether the image is matched with a Gaussian mixed background model or not, and if not, extracting a foreground object of the image; calculating the volume of a foreground object in the detection area; judging whether the volume is larger than a first threshold value or not, and if so, judging that the foreign body is invaded; and marking the position and the volume of the invasive foreign body. Determining a foreground object of an image by judging whether the acquired image is matched with a Gaussian mixture background model; and further judging whether the foreground image is an invasive foreign object or not based on the volume of the foreground image. The invasion foreign matter in the tunnel can be effectively identified, the alarm is given to the working personnel in time, and the accident is avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification. In the drawings:
fig. 1 is a flow chart illustrating a method for monitoring intrusion of foreign objects into a railway according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method for intrusion monitoring of foreign objects into a railway according to another exemplary embodiment.
Fig. 3 is a block diagram illustrating a foreign object intrusion apparatus for a railway according to an exemplary embodiment.
FIG. 4 is a block diagram illustrating a computer device according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention, and it is obvious that the described embodiments are some but not all of the embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments herein without making any creative effort, shall fall within the scope of protection. It should be noted that the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict.
Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including, but not limited to".
In the description of the present disclosure, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present disclosure, "a plurality" means two or more unless otherwise specified.
The foreign matter in the railway tunnel can be a large falling stone, the monitoring of the foreign matter invading in the tunnel is substantially to track a moving target, and the falling stone becomes a static object after rolling. Therefore, the research of the intrusion detection of the foreign matters in the tunnel is based on the moving target detection in video monitoring, and the intrusion detection of the foreign matters can be converted into the detection of moving objects. The invention provides a method and a system for monitoring railway foreign matter intrusion, wherein a foreground object of an image is determined by judging whether the acquired image is matched with a Gaussian mixture background model; and further judging whether the foreground image is an invasive foreign object or not based on the volume of the foreground image. The invasion foreign matter in the tunnel can be effectively identified, the alarm is given to the working personnel in time, and the accident is avoided.
Fig. 1 is a flow chart illustrating a method for railway foreign object intrusion monitoring according to an exemplary embodiment. Referring to fig. 1, the method for monitoring railway foreign object intrusion at least comprises the following steps:
step 101: reading an image of a video sequence, delimiting a detection area in the image;
specifically, an image of a video sequence refers to a continuous image frame within a certain time period; for example, successive frame images acquired by the camera for one hour. The invasion foreign matter in the present text generally refers to an object with a large volume, such as a falling large stone block, which may cause a safety hazard to the passing of a train, and the falling stone block has a certain volume range, and the stone block volume affecting the safety of the train has a certain lower limit. It is common that tunnel railways are closed and difficult for other moving animals to enter, apart from regular inspections by maintenance personnel. And the motion of other moving objects, such as livestock, is continuous and eventually not as static as a stone.
Further, a detection area is defined based on the layout of the cameras in the tunnel and the detection distance range. The layout system of the cameras in the tunnel comprises a static camera measurement and control device, a video data transmission line, video and optical fiber signal conversion equipment, an optical fiber cable and optical fiber and video signal conversion equipment.
In one embodiment, the detection distance range of each camera measurement and control device is 15m, each camera is provided with one monitoring section every 15m, each monitoring section is provided with 1 set of camera measurement and control system, each set of monitoring system comprises 7 camera measurement and control devices, and the coverage range is 105 m; the installation height of the camera measurement and control device is 1.5M relative to the vertical height of the surface of the cable groove, and the camera measurement and control device is rigidly fixed on the surface of the side wall of the tunnel through an M10 internal expansion bolt; the video data transmission line is protected by a PVC pipe with the diameter of 10mm and fixed on the side wall of the tunnel below the camera measurement and control device, and a data cable connected with the measurement and control device and the optical fiber conversion equipment is arranged in a cable groove.
The defined detection area may be a middle area based on an image captured by the camera, or an area in which the user is interested; the extraction of regions of interest from images is not limited to using OpenCV and Python. The demarcated detection area is the area most capable of showing the appearance of the foreign matter. Therefore, the whole image shot by the camera is prevented from being recognized, only the key image area is analyzed in a centralized manner, the workload of subsequent image processing is reduced, and the image recognition efficiency is improved.
Step 102: judging whether the image is matched with a Gaussian mixed background model or not, and if not, extracting a foreground object of the image;
in particular, a fixed camera views the scene, the background remaining almost unchanged. In this case, the element of interest is an object moving in the scene. We refer to these moving objects as foreground objects and in order to extract these foreground objects we need to model the image background and then compare the model of the current image frame with the background model to detect the foreground objects.
The Gaussian mixture background model modeling uses K (K is 3-5) Gaussian models to represent the characteristics of each pixel point in the image. The specific process of modeling the Gaussian mixture background model is as follows:
Representing the value of the pixel j at the time t, if the pixel j is an RGB three-channelIn the form of a vector, the vector,,an estimate of the weight coefficients representing the ith gaussian distribution in the gaussian background model at time t,the mean vector of the ith Gaussian distribution in the mixed Gaussian background model at the moment t is represented;
and (2) representing the covariance matrix of the ith Gaussian distribution in the mixed Gaussian background model at the moment t, wherein eta represents a Gaussian distribution probability density function, and n is the length of the video frame.
And matching each pixel point in the current image with the Gaussian mixture background model, if the matching is successful, judging the pixel point as a background point, and if the matching is not successful, judging the pixel point as a foreground point. The set of foreground points constitutes a foreground object. The matching condition is a pixel valueDefining the distance between the mean value of the ith Gaussian distribution in the Gaussian mixture background model and the standard deviation of the mean value of the ith Gaussian distribution to be less than 2.5 times of the standard deviation of the mean value of the ith Gaussian distribution in the Gaussian mixture background modelAnd (6) matching. Namely, it is
It should be noted that, the foreground image is extracted through the gaussian mixture background model, and the foreground object is focused and analyzed, so that the moving object can be accurately identified.
Step 103: calculating the volume of a foreground object in the detection area;
specifically, the shape characteristics of the foreground object do not vary much; the size of the moving object can be known by calculating the volume of the foreground object. Methods for calculating the image size that are conventional in the art include a calculation method based on the contour of the object shape, an OpenCV extraction method, and the like. The present disclosure is not limited in this particular manner.
Step 104: judging whether the volume is larger than a first threshold value or not, and if so, judging that the foreign body is invaded;
specifically, the invading foreign body generally refers to a large-volume object, such as a falling large stone block, which may cause a safety hazard to train traffic, and the falling stone block has a certain volume range, and the volume of the stone block affecting train safety has a certain lower limit. The first threshold may be set as a lower stone volume limit that affects train safety. Can be set by a person skilled in the art on the basis of practical experience.
Step 105: and marking the position and the volume of the invasive foreign body.
Specifically, when there is an invading foreign body, the invading foreign body is marked. The marking means may be conventional means commonly used in the art for image marking. For example, rectangular box labeling, key point labeling, point cloud labeling, and the like. And is not particularly limited herein. The marking position may be marked by the position of the camera.
Further, the position and the volume of the invading foreign matter are output to the monitoring terminal through the transmission line, the monitoring terminal gives an alarm to remind a worker to check in time, and the worker can be on site at the first time, so that accidents are avoided.
In the embodiment, the foreground object of the image is determined by judging whether the acquired image is matched with the Gaussian mixture background model; and further judging whether the foreground image is an invasive foreign object or not based on the volume of the foreground image. The invasion foreign matter in the tunnel can be effectively identified, the alarm is given to the working personnel in time, and the accident is avoided.
The second embodiment of the present application relates to a method for monitoring intrusion of foreign objects into a railway, which is a further supplement to the first embodiment, and adds other relevant steps to step 104, and specifically describes step 104.
As shown in fig. 2, the present embodiment includes steps 201 to 205. Step 201, step 202, step 203 and step 205 are substantially the same as step 101, step 102, step 103 and step 105 in the first embodiment, and are not described in detail here, and the following differences are mainly described:
step 204: and after the volume is judged to be larger than a first threshold value, calculating the retention time of the foreground object, and if the retention time is larger than a second threshold value, judging that the foreign object is invaded.
Specifically, in order to improve the accuracy of identifying the intrusion foreign matter, the imaging size and the retention time of the object appearing in the monitored area are used as important criteria for judging whether the intrusion foreign matter exists. An intruding object, such as a falling rock, can stay for a long time until it is cleaned. When the dwell time exceeds a second threshold value, for example 1 hour, 2 hours, the accuracy of identifying the foreign object is further improved on the basis of being identified as an intruding foreign object. In addition, when the stay time does not exceed the second threshold, the foreign object cannot be identified as an invasive foreign object, for example, an operator enters the monitoring range, and the foreign object cannot be identified as an invasive foreign object due to the short stay time. The second threshold value can be set according to actual needs. The embodiment can further improve the accuracy of identifying the invading foreign body.
Fig. 3 illustrates a railway foreign object intrusion monitoring system 30 according to an exemplary embodiment. The device 30 comprises:
a detection unit 301 for reading images of a video sequence, in which images detection areas are delimited;
a first determining unit 302, configured to determine whether the image is matched with a gaussian mixture background model, and if not, extract a foreground object of the image;
a calculating unit 303, configured to calculate a volume of a foreground object in the detection area;
a second determining unit 304, configured to determine whether the volume is greater than a first threshold, and if so, determine that a foreign object is invaded;
and a marking unit 305 for marking the position and volume of the invasive foreign object.
It should be understood that this embodiment is an example of the apparatus corresponding to the first embodiment, and may be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
Further, the first judging unit models the Gaussian mixture background model before judging whether the image is matched with the Gaussian mixture background model; and modeling the Gaussian mixture background model before judging whether the image is matched with the Gaussian mixture background model.
In another embodiment, the first determining unit determines that the original image matches the gaussian mixture background model, and includes pixel valuesDefining the distance between the mean value of the ith Gaussian distribution in the Gaussian mixture background model and the standard deviation of the mean value of the ith Gaussian distribution to be less than 2.5 times of the standard deviation of the mean value of the ith Gaussian distribution in the Gaussian mixture background modelMatching; namely, it is。
In another embodiment, after the second determining unit determines that the volume is greater than the first threshold, the second determining unit calculates a staying time of the foreground object, and determines that the foreground object is an intrusion if the staying time is greater than the second threshold.
In a further aspect, a computer-readable storage medium is proposed, on which a computer program is stored, which, when executed, implements the method for railway foreign object intrusion monitoring described in any of the above method embodiments.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
FIG. 4 is a block diagram illustrating a method for a computer device 40 according to an example embodiment. Referring to fig. 4, the apparatus 40 includes a processor 401, and the number of the processors may be set to one or more as necessary. The device 40 also includes a memory 402 for storing instructions, such as an application program, that are executable by the processor 401. The number of the memories can be set to one or more according to requirements. Which may store one or more application programs. The processor 401 is configured to execute instructions to perform the above-described method.
The memory 402 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store a list of options, etc. Further, the memory 402 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 embodiments, memory 402 may optionally include memory located remotely from processor 401, which may be connected to an external device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
As will be appreciated by one skilled in the art, the embodiments herein may be provided as a method, apparatus (device), or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied in the medium. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, including, but not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computer, and the like. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments herein. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments herein have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of this disclosure.
It will be apparent to those skilled in the art that various changes and modifications may be made herein without departing from the spirit and scope thereof. Thus, it is intended that such changes and modifications be included herein, provided they come within the scope of the appended claims and their equivalents.
Claims (10)
1. A railway foreign body intrusion monitoring method is characterized by comprising the following steps:
reading an image of a video sequence, delimiting a detection area in the image;
judging whether the image is matched with a Gaussian mixed background model or not, and if not, extracting a foreground object of the image;
calculating the volume of a foreground object in the detection area;
judging whether the volume is larger than a first threshold value or not, and if so, judging that the foreign body is invaded;
and marking the position and the volume of the invasive foreign body.
2. The method for monitoring the invasion of foreign matters into the railway according to claim 1, wherein before judging whether the image is matched with a Gaussian mixture background model, the Gaussian mixture background model is modeled; each pixel of the background image is respectively modeled by a Gaussian mixture model formed by K Gaussian distributions, and the modeling of the Gaussian mixture background model specifically comprises the following steps:
wherein,representing the value of the pixel j at the time t, if the pixel j is an RGB three-channelIn the form of a vector, the vector,,an estimate of the weight coefficients representing the ith gaussian distribution in the mixed gaussian background model at time t,mean vectors representing the ith Gaussian distribution in the mixed Gaussian background model at the time t;and (2) representing the covariance matrix of the ith Gaussian distribution in the mixed Gaussian background model at the moment t, and eta representing the probability density function of the Gaussian distribution.
3. The method of claim 2, wherein said determining that said image matches a Gaussian mixture background model comprises pixel valuesDefining the distance between the mean value of the ith Gaussian distribution in the Gaussian mixture background model and the standard deviation of the mean value of the ith Gaussian distribution to be less than 2.5 times of the standard deviation of the mean value of the ith Gaussian distribution in the Gaussian mixture background modelMatching; namely, it is。
4. The method for monitoring invasion of foreign matters into railways according to claim 3, wherein after the volume is judged to be larger than a first threshold value, the staying time of the foreground object is calculated, and if the staying time is larger than a second threshold value, the invasion of foreign matters is judged.
5. A railway foreign object intrusion monitoring system, comprising:
a detection unit for reading an image of a video sequence, defining a detection area in said image;
the first judgment unit is used for judging whether the image is matched with the Gaussian mixture background model or not, and if not, extracting a foreground object of the image;
a calculation unit for calculating the volume of a foreground object within the detection area;
the second judgment unit is used for judging whether the volume is larger than the first threshold value or not, and if so, judging that the foreign body is invaded;
and the marking unit is used for marking the position and the volume of the invasion foreign matter.
6. The system for monitoring intrusion of foreign matter into a railway according to claim 5, wherein the first judging unit models the gaussian mixture background model before judging whether the image is matched with the gaussian mixture background model; each pixel of the background image is respectively modeled by a Gaussian mixture model formed by K Gaussian distributions, and the modeling of the Gaussian mixture background model specifically comprises the following steps:
wherein,representing the value of the pixel j at the time t, if the pixel j is an RGB three-channelIn the form of a vector, the vector,,an estimate of the weight coefficients representing the ith gaussian distribution in the gaussian background model at time t,the mean vector of the ith Gaussian distribution in the mixed Gaussian background model at the moment t is represented;and (2) representing the covariance matrix of the ith Gaussian distribution in the mixed Gaussian background model at the moment t, and eta representing the probability density function of the Gaussian distribution.
7. The system of claim 6, wherein said image is determined to match a Gaussian mixture background model comprising pixel valuesDefining the distance between the mean value of the ith Gaussian distribution in the Gaussian mixture background model and the standard deviation of the mean value of the ith Gaussian distribution to be less than 2.5 times of the standard deviation of the mean value of the ith Gaussian distribution in the Gaussian mixture background modelMatching; namely, it is。
8. The system for monitoring invasion of foreign matters into railways according to claim 7, wherein the second determination unit calculates the staying time of the foreground object after determining that the volume is larger than a first threshold value, and determines to invade foreign matters if the staying time is larger than a second threshold value.
9. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed, implements the steps of the method according to any one of claims 1-4.
10. A computer arrangement comprising a processor, a memory and a computer program stored on the memory, characterized in that the steps of the method according to any of claims 1-4 are implemented when the computer program is executed by the processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210392148.9A CN114494983A (en) | 2022-04-15 | 2022-04-15 | Railway foreign matter invasion monitoring method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210392148.9A CN114494983A (en) | 2022-04-15 | 2022-04-15 | Railway foreign matter invasion monitoring method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114494983A true CN114494983A (en) | 2022-05-13 |
Family
ID=81488256
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210392148.9A Pending CN114494983A (en) | 2022-04-15 | 2022-04-15 | Railway foreign matter invasion monitoring method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114494983A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115019158A (en) * | 2022-08-03 | 2022-09-06 | 威海海洋职业学院 | Image recognition-based marine pollution area recognition method and system |
CN115797866A (en) * | 2022-12-06 | 2023-03-14 | 河北知数信息技术有限公司 | Electric power safety control method and device based on twin network and electronic equipment |
CN115892131A (en) * | 2023-02-15 | 2023-04-04 | 深圳大学 | Intelligent monitoring method and system for subway tunnel |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110232682A (en) * | 2019-05-31 | 2019-09-13 | 宁波中车时代传感技术有限公司 | A kind of track foreign body detecting method based on image |
CN111488866A (en) * | 2020-06-29 | 2020-08-04 | 北京大成国测科技有限公司 | Invading object identification method and device based on deep learning and electronic equipment |
CN111507235A (en) * | 2020-04-13 | 2020-08-07 | 北京交通大学 | Video-based railway perimeter foreign matter intrusion detection method |
CN111681267A (en) * | 2020-06-10 | 2020-09-18 | 北京大成国测科技有限公司 | Track anti-intrusion method based on image recognition |
CN111914784A (en) * | 2020-08-10 | 2020-11-10 | 北京大成国测科技有限公司 | Method and device for detecting intrusion of trackside obstacle in real time and electronic equipment |
CN112528861A (en) * | 2020-12-11 | 2021-03-19 | 中国铁道科学研究院集团有限公司电子计算技术研究所 | Foreign matter detection method and device applied to track bed in railway tunnel |
CN112776856A (en) * | 2021-01-15 | 2021-05-11 | 中国神华能源股份有限公司神朔铁路分公司 | Track foreign matter intrusion monitoring method, device and system and monitoring host equipment |
CN112949484A (en) * | 2021-03-01 | 2021-06-11 | 浙江大学 | High-speed railway rockfall real-time detection method based on aggregated channel features and texture features |
CN114005074A (en) * | 2021-12-30 | 2022-02-01 | 以萨技术股份有限公司 | Traffic accident determination method and device and electronic equipment |
CN114241390A (en) * | 2021-12-23 | 2022-03-25 | 通号工程局集团北京研究设计实验中心有限公司 | Railway foreign matter detection and identification method based on deep learning theory |
-
2022
- 2022-04-15 CN CN202210392148.9A patent/CN114494983A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110232682A (en) * | 2019-05-31 | 2019-09-13 | 宁波中车时代传感技术有限公司 | A kind of track foreign body detecting method based on image |
CN111507235A (en) * | 2020-04-13 | 2020-08-07 | 北京交通大学 | Video-based railway perimeter foreign matter intrusion detection method |
CN111681267A (en) * | 2020-06-10 | 2020-09-18 | 北京大成国测科技有限公司 | Track anti-intrusion method based on image recognition |
CN111488866A (en) * | 2020-06-29 | 2020-08-04 | 北京大成国测科技有限公司 | Invading object identification method and device based on deep learning and electronic equipment |
CN111914784A (en) * | 2020-08-10 | 2020-11-10 | 北京大成国测科技有限公司 | Method and device for detecting intrusion of trackside obstacle in real time and electronic equipment |
CN112528861A (en) * | 2020-12-11 | 2021-03-19 | 中国铁道科学研究院集团有限公司电子计算技术研究所 | Foreign matter detection method and device applied to track bed in railway tunnel |
CN112776856A (en) * | 2021-01-15 | 2021-05-11 | 中国神华能源股份有限公司神朔铁路分公司 | Track foreign matter intrusion monitoring method, device and system and monitoring host equipment |
CN112949484A (en) * | 2021-03-01 | 2021-06-11 | 浙江大学 | High-speed railway rockfall real-time detection method based on aggregated channel features and texture features |
CN114241390A (en) * | 2021-12-23 | 2022-03-25 | 通号工程局集团北京研究设计实验中心有限公司 | Railway foreign matter detection and identification method based on deep learning theory |
CN114005074A (en) * | 2021-12-30 | 2022-02-01 | 以萨技术股份有限公司 | Traffic accident determination method and device and electronic equipment |
Non-Patent Citations (1)
Title |
---|
荆静: "基于图像处理的轨旁异物入侵检测研究", 《中国优秀博硕士学位论文全文数据库(硕士)工程科技Ⅰ辑》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115019158A (en) * | 2022-08-03 | 2022-09-06 | 威海海洋职业学院 | Image recognition-based marine pollution area recognition method and system |
CN115019158B (en) * | 2022-08-03 | 2022-10-25 | 威海海洋职业学院 | Image recognition-based marine pollution area recognition method and system |
CN115797866A (en) * | 2022-12-06 | 2023-03-14 | 河北知数信息技术有限公司 | Electric power safety control method and device based on twin network and electronic equipment |
CN115797866B (en) * | 2022-12-06 | 2023-08-25 | 河北知数信息技术有限公司 | Electric power safety control method and device based on twin network and electronic equipment |
CN115892131A (en) * | 2023-02-15 | 2023-04-04 | 深圳大学 | Intelligent monitoring method and system for subway tunnel |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114494983A (en) | Railway foreign matter invasion monitoring method and system | |
CN108345822B (en) | Point cloud data processing method and device | |
US20210004607A1 (en) | Identification and classification of traffic conflicts | |
Zhang et al. | Real-time traffic analysis using deep learning techniques and UAV based video | |
KR101095528B1 (en) | An outomatic sensing system for traffic accident and method thereof | |
CN109993789A (en) | A kind of the separated of shared bicycle stops determination method, device and camera | |
CN105303191A (en) | Method and apparatus for counting pedestrians in foresight monitoring scene | |
CN107239746A (en) | A kind of obstacle recognition tracking towards roadside assistance security monitoring | |
CN104200466A (en) | Early warning method and camera | |
Ketcham et al. | The intruder detection system for rapid transit using CCTV surveillance based on histogram shapes | |
CN114248819B (en) | Railway intrusion foreign matter unmanned aerial vehicle detection method, device and system based on deep learning | |
CN112071084A (en) | Method and system for judging illegal parking by utilizing deep learning | |
CN113484858A (en) | Intrusion detection method and system | |
CN103632427A (en) | Gate cracking protection method and gate control system | |
CN108156406A (en) | Information processing method and device of automobile data recorder | |
CN113807220A (en) | Traffic event detection method and device, electronic equipment and readable storage medium | |
CN114373162B (en) | Dangerous area personnel intrusion detection method and system for transformer substation video monitoring | |
CN115600124A (en) | Subway tunnel inspection system and inspection method | |
KR102576001B1 (en) | Automation device and method for evaluating Rock Mass Rating(RMR) using deep learning models | |
CN112382068A (en) | Station waiting line crossing detection system based on BIM and DNN | |
CN115440071B (en) | Automatic driving illegal parking detection method | |
CN116311071A (en) | Substation perimeter foreign matter identification method and system integrating frame difference and CA | |
CN110378298B (en) | Mine car queue monitoring method, device, equipment and storage medium | |
CN110333517B (en) | Obstacle sensing method, obstacle sensing device and storage medium | |
Wang et al. | Transportation Safety Improvements Through Video Analysis: An Application of Obstacles and Collision Detection Applied to Railways and Roads |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: B713 (Changping Demonstration Park), Building 8, No. 97, Changping Road, Shahe Town, Changping District, Beijing, 102206 Applicant after: Beijing Dacheng Guoce Technology Co.,Ltd. Address before: 102206 room 503, building 6, No.97, Changping Road, Changping District, Beijing Applicant before: BEIJING DACHENG GUOCE SCIENCE AND TECHNOLOGY CO.,LTD. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220513 |