CN114494983A - Railway foreign matter invasion monitoring method and system - Google Patents

Railway foreign matter invasion monitoring method and system Download PDF

Info

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
Application number
CN202210392148.9A
Other languages
Chinese (zh)
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.)
Beijing Dacheng Guoce Science And Technology Co ltd
Original Assignee
Beijing Dacheng Guoce Science And 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 Beijing Dacheng Guoce Science And Technology Co ltd filed Critical Beijing Dacheng Guoce Science And Technology Co ltd
Priority to CN202210392148.9A priority Critical patent/CN114494983A/en
Publication of CN114494983A publication Critical patent/CN114494983A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex 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

Railway foreign matter invasion monitoring method and system
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:
Figure DEST_PATH_IMAGE001
wherein,
Figure 529893DEST_PATH_IMAGE002
representing the value of the pixel j at the time t, if the pixel j is an RGB three-channel
Figure DEST_PATH_IMAGE003
In the form of a vector, the vector,
Figure 982872DEST_PATH_IMAGE004
Figure DEST_PATH_IMAGE005
an estimate of the weight coefficients representing the ith gaussian distribution in the gaussian background model at time t,
Figure 76467DEST_PATH_IMAGE006
the mean vector of the ith Gaussian distribution in the mixed Gaussian background model at the moment t is represented;
Figure DEST_PATH_IMAGE007
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 values
Figure 261592DEST_PATH_IMAGE008
Defining 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 model
Figure 66737DEST_PATH_IMAGE008
Matching; namely, it is
Figure DEST_PATH_IMAGE009
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:
Figure 759624DEST_PATH_IMAGE010
formula (1)
Figure DEST_PATH_IMAGE011
Formula (2)
Figure 5929DEST_PATH_IMAGE012
Formula (3)
Figure DEST_PATH_IMAGE013
Formula (4)
Figure 893113DEST_PATH_IMAGE014
Representing the value of the pixel j at the time t, if the pixel j is an RGB three-channel
Figure DEST_PATH_IMAGE015
In the form of a vector, the vector,
Figure 825035DEST_PATH_IMAGE016
Figure DEST_PATH_IMAGE017
an estimate of the weight coefficients representing the ith gaussian distribution in the gaussian background model at time t,
Figure 823078DEST_PATH_IMAGE018
the mean vector of the ith Gaussian distribution in the mixed Gaussian background model at the moment t is represented;
Figure DEST_PATH_IMAGE019
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 value
Figure 422424DEST_PATH_IMAGE020
Defining 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 model
Figure 542827DEST_PATH_IMAGE020
And (6) matching. Namely, it is
Figure DEST_PATH_IMAGE021
Formula (5)
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 values
Figure 994668DEST_PATH_IMAGE022
Defining 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 model
Figure 327561DEST_PATH_IMAGE022
Matching; namely, it is
Figure DEST_PATH_IMAGE023
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:
Figure 825680DEST_PATH_IMAGE001
wherein,
Figure 555870DEST_PATH_IMAGE002
representing the value of the pixel j at the time t, if the pixel j is an RGB three-channel
Figure 929082DEST_PATH_IMAGE003
In the form of a vector, the vector,
Figure 793133DEST_PATH_IMAGE004
Figure 951713DEST_PATH_IMAGE005
an estimate of the weight coefficients representing the ith gaussian distribution in the mixed gaussian background model at time t,
Figure 243017DEST_PATH_IMAGE006
mean vectors representing the ith Gaussian distribution in the mixed Gaussian background model at the time t;
Figure 244471DEST_PATH_IMAGE007
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 values
Figure 36847DEST_PATH_IMAGE008
Defining 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 model
Figure 440146DEST_PATH_IMAGE008
Matching; namely, it is
Figure 509209DEST_PATH_IMAGE009
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:
Figure 732380DEST_PATH_IMAGE010
wherein,
Figure 328446DEST_PATH_IMAGE011
representing the value of the pixel j at the time t, if the pixel j is an RGB three-channel
Figure 55094DEST_PATH_IMAGE012
In the form of a vector, the vector,
Figure 829146DEST_PATH_IMAGE013
Figure 398667DEST_PATH_IMAGE014
an estimate of the weight coefficients representing the ith gaussian distribution in the gaussian background model at time t,
Figure 142632DEST_PATH_IMAGE015
the mean vector of the ith Gaussian distribution in the mixed Gaussian background model at the moment t is represented;
Figure 130311DEST_PATH_IMAGE016
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 values
Figure 934319DEST_PATH_IMAGE017
Defining 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 model
Figure 256716DEST_PATH_IMAGE017
Matching; namely, it is
Figure 804372DEST_PATH_IMAGE018
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.
CN202210392148.9A 2022-04-15 2022-04-15 Railway foreign matter invasion monitoring method and system Pending CN114494983A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (10)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
荆静: "基于图像处理的轨旁异物入侵检测研究", 《中国优秀博硕士学位论文全文数据库(硕士)工程科技Ⅰ辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
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