Rail feature identification system
Patent Information
- Application Number
- JP2023524529
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-10-23
- Filing Date
- 2021-10-23
- Publication Date
- 2024-10-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Rising costs and a lack of qualified labor are reducing track maintenance productivity, leading to costly mistakes in rail maintenance due to the use of inexperienced or overworked line workers.
A rail feature identification system using machine learning to identify and track rail features in real time, employing a camera, processor, and neural networks to detect and classify rail features, generate alerts for misalignments, and control maintenance operations.
The system enables real-time detection of rail features with high accuracy, reduces human error, and automates maintenance operations, improving productivity and reducing costs by digitizing and monitoring extensive track sections.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] This application claims the benefit and priority of U.S. Provisional Application No. 63 / 105,057, filed on October 23, 2020, the content of which is incorporated herein by reference in its entirety.
[0002] The present invention generally relates to a rail feature identification system, and more particularly to an identification and tracking system that uses machine learning to identify rail features and track the position of rail features in real time.
Background Art
[0003] Labor and productivity are among the most important issues in today's track maintenance programs. In a typical Class I maintenance unit (e.g., tie replacement or rail replacement gangs), multiple machines are used. Each machine performs various functions and requires multiple personnel to operate.
Summary of the Invention
Problems to be Solved by the Invention
[0004] The productivity of track maintenance is decreasing due to rising costs and a shortage of skilled labor. As a result, inexperienced or overworked track workers are common, and costly mistakes can occur.
Means for Solving the Problems
[0005] This disclosure relates in general to systems, apparatus, and methods for object recognition and / or feature identification. For example, the systems, apparatus, and methods described herein may be used to recognize rail features, color markers, or other components of a rail line. In some configurations, the disclosure includes a rail vehicle, the rail vehicle having a frame configured to be coupled to a plurality of rail wheels and to move along a rail line, and a rail line feature detection system coupled to the frame. The rail line feature detection system has a camera and a computer, coupled to the frame and configured and positioned to take a plurality of images of the rail line as the rail vehicle moves along the rail line, the computer having at least one memory containing instructions and at least one processor configured to execute the instructions. The system may be configured such that, by the instructions, the at least one processor receives the plurality of images, assigns a position identifier to each of the images, detects one or more rail features in the images, identifies the one or more rail features as relevant rail features from a given dataset of rail features, and assigns a feature identifier to each identified rail feature. In one embodiment, based on the location identifier and the feature identifier, the at least one processor may be configured to further determine the geographic location of one or more railway feature segments and to track one or more rail feature segments.
[0006] In some configurations, the instructions include a convolutional neural network. In addition to or separately from this, the processor may be configured to identify one or more rail feature segments in real time. In some configurations, the processor may be configured to determine whether one of the rail feature segments is missing or misaligned on a first rail plate, and to generate a warning signal based on whether one of the rail feature segments is missing or misaligned on the first rail plate. Some configurations of a rail vehicle have work units coupled to the frame and configured to perform one or more rail maintenance or driving functions. In some of such configurations, the processor is configured to control the work units based on the warning signal to perform maintenance functions on the first rail plate.
[0007] The rail feature identification system has several advantages over conventional identification systems. Specifically, the system detects features in real time (e.g., between 10 and 50 milliseconds), can be trained to detect any rail feature without software modification, does not rely on lasers for 2D measurement, can classify up to 600 individual objects using a convolutional neural network, can uniquely identify all features found in the measurement of each identified feature using an object tracker, can detect color, and can detect ends among others. This system digitizes several miles (e.g., up to several hundred miles of track) of track features (ties, plates, spikes, anchors, etc.) in real time, stores and / or outputs the data to external equipment, and identifies, corrects, or records any problems or potential problems with the rail line.
[0008] Some of the aforementioned configurations include first and second light sources. The first and second light sources may be coupled to the frame via a first bracket assembly, or in some configurations, directly to the frame. The first and second light sources may be coupled to the frame such that they are positioned on opposing sides of the first rail of the rail track. In some configurations, a camera is positioned between the first and second light sources and configured to capture an image of the first rail. The camera may include a polarizing lens or one or more polarizing filters. Some of the aforementioned configurations include a second camera, a third light source, and a fourth light source. In some such configurations, the frame has a second bracket assembly and third and fourth light sources, the third and fourth light sources are positioned on the second bracket assembly, and the light emitted from the third and fourth light sources is directed to opposing sides of the second rail of the rail track. A second camera may be positioned between the third and fourth light sources and configured to capture an image of the second rail.
[0009] Some of the configurations described above include a track feature detection system. The system includes an imaging device configured to be coupled to the frame of a railway vehicle and positioned to take a plurality of images of the rail track as the railway vehicle moves along the rail track, and a computer, the computer having at least one memory containing instructions and at least one processor configured to execute the instructions. The at least one processor and at least one memory may be configured as a neural network. The computer is configured to perform one or more operations, which include receiving the plurality of images, assigning a position identifier to each of the images, and identifying one or more rail feature sections corresponding to one of a plurality of predetermined rail feature sections. The operations may also include determining the position of each of the one or more identified rail feature sections.
[0010] Some configurations include additional operations, such as assigning a first position identifier to a first image of a plurality of images and identifying one or more rail features in the first image. Other operations include assigning a second position identifier to a second image of a plurality of images, comparing the first position identifier with the second position identifier, determining a first displacement distance between the identified rail features in the first image, and determining, based on the first displacement distance, whether one or more rail features in the second image correspond to one or more identified rail features in the first image. Based on the determination that a first subset of the one or more rail features in the second image corresponds to at least one of the one or more identified rail features in the first image, the computer may set the first subset as detected rail features and re-identify the first subset of rail features. In addition to or separately from the above, based on the determination that a second subset of the one or more rail feature portions in the second image does not correspond to at least one of the one or more identified rail feature portions in the first image, the computer may set the second subset as detected rail feature portions and identify the second subset of rail feature portions in the first image.
[0011] The computer's actions further include assigning a third position identifier to a third image of the plurality of images, comparing the third position identifier to the first and second position identifiers to determine a second displacement distance, and determining, based on the second displacement distance, whether one or more rail features in the third image correspond to one of the first and second subsets of rail features. Based on the determination that the first subset of the one or more rail features is not included in the third image, the computer may set the first subset of rail features as tracked rail features. Based on the determination that the third subset of the one or more rail features in the third image corresponds to at least one of the one or more identified rail features in the first or second image, the computer may re-identify the third subset of rail features. Based on the determination that a fourth subset of the one or more rail features in the third image does not correspond to at least one of the one or more identified rail features in the first and second images, the computer may identify the fourth subset of rail features in the third image. In some configurations, identifying one or more rail features includes identifying a rail plate, a hole defined by the rail plate, a color marker, an anchor, a work tie, and / or a joint bar positioned on part of the rail.
[0012] In some of the configurations described above, the computer includes an object detector module, a color detector module, and a tracker module. Each of the object detector module, color detector module, and tracker module may be associated with at least one of one or more processors. In some configurations, the object detector module receives the plurality of images, detects one or more objects in the most recent image of the plurality of images in real time, classifies a first set of the one or more objects as one or more rail feature parts, classifies a second set of the one or more objects as irrelevant feature parts, and / or outputs the one or more rail feature parts. The object detector module may include or be configured as a convolutional neural network. In some configurations, the color detector module is configured to receive the plurality of images, determine the hue / saturation / value (HSV) of multiple pixels in the most recent image of the plurality of images, detect one or more color markers in the most recent image in real time, and / or output the one or more color markers. In some configurations, the tracker module is configured to receive one or more rail feature segments from the object detector module, receive one or more color markers from the color detector module, assign a feature segment ID to each of the one or more rail feature segments and the one or more color markers, and track the position of each of the one or more rail feature segments and the one or more color markers.
[0013] The tracker module may further generate a map of rail routes containing one or more rail features based on the location of each of the one or more rail features and one or more color markers, and transmit the map to an external source. In some of the above configurations, the feature ID may include location information, a feature identifier corresponding to a given rail feature, and a confidence score. In some configurations, for each of the plurality of images, the tracker module is configured to record the feature ID associated with the one or more rail features and one or more color markers in the image, update the output list to include the feature ID of the most recent image, and annotate the image. Annotating an image includes adding a frame around each of the one or more rail features and one or more color markers in the image, an ID number associated with the feature ID of the one or more rail features and one or more color markers in the image, and / or a confidence score associated with the feature ID of the one or more rail features and one or more color markers in the image. In some of such configurations, the tracker module is configured to transmit the annotated image to an external device.
[0014] One or more rail features may be tracked using some of the disclosed systems or devices. Some methods for tracking one or more rail features include: receiving a first image from a camera module; detecting one or more first rail features in the first image; and identifying the one or more first rail features. The method further includes: receiving a second image from the camera module; calculating displacement distances related to the first and second images; detecting one or more second rail features in the second image; identifying a first subset of the one or more second rail features corresponding to one of the one or more first rail features based on the displacement distance; and re-identifying the first subset of the one or more second rail features. Some of the methods described above include the steps of: identifying a second subset of the one or more second rail feature parts that does not correspond to one of the one or more first rail feature parts; identifying a first subset of the one or more first rail feature parts that are not included in the second image; and setting the first subset of the one or more first rail feature parts as a tracked feature part and transmitting the feature part data of the tracked feature part to a display unit.
[0015] Such a method includes the steps of receiving a third image from a camera module, detecting one or more third rail features in the third image, and calculating a second displacement distance relating the third image to the first and second images. Some methods include the steps of identifying a first subset of the one or more third rail features corresponding to one of the one or more first rail features or one of the one or more second rail features based on the displacement distance, re-identifying the first subset of the one or more third rail features, and identifying a second subset of the one or more second rail features that does not correspond to one of the one or more first rail features or one of the one or more second rail features.
[0016] In some configurations, the system and apparatus may be configured to implement a method for identifying rail features using machine learning. Some such methods include: acquiring first image data corresponding to a database of multiple images of a rail line having one or more rail features using one or more processors; performing object detection on at least a portion of the first image data using one or more processors and converting the at least portion of the first image data into training data; and training one or more machine learning (ML) models on the training data using one or more processors and configuring the one or more ML models such that the one or more ML models identify predetermined rail features in subsequent image data. In some of the methods described above, the predetermined rail features include rails, rail ties, tie plates, anchors, spikes, spike holes defined by the tie plates, joint bars, and / or joint bar bolts.
[0017] Some methods further include the steps of: receiving a second image data by one or more processors; and generating an output by one or more processors representing the one or more rail feature segments identified in the second image data by one or more ML models. In addition to or separately from this, the method includes the step of initiating a display of a graphical user interface (GUI) that identifies the one or more rail feature segments based on the output by one or more processors. In some such methods, the GUI display shows an image corresponding to the second image data, as well as a display number and / or confidence score for each identified rail feature segment, corresponding to one of the one or more rail feature segments.
[0018] The various terms used in this application are merely for the purpose of describing a particular configuration and are not intended to limit the configuration. For example, sequential terms used in this application to modify elements such as structure, component, and operation (e.g., “first,” “second,” “third,” etc.) do not in themselves indicate any priority or order of an element relative to another element, but rather merely distinguish the element (for the purpose of using sequential terms) from other elements having the same name. The term “combined” is defined as a state that is directly connected, although it is not necessarily required and is not necessarily mechanical, and the two “combined” items may be integral to each other. The terms “a” and “an” are defined as one or more unless otherwise expressly required in this disclosure. The term “about” as used in this application includes the precisely stated value or range, and may allow for a degree of variation in the value or range within, for example, 10%, 5%, or 1% of the stated value or stated range limit.
[0019] As will be apparent to those skilled in the art, the term “substantially” is defined as the majority of the specified, but not necessarily all of it (including the specified; for example, substantially 90° includes 90°, and substantially parallel includes parallel). In any disclosed configuration, the term “substantially” may be replaced by “within [percentage] of the specified,” where the percentage includes 0.1, 1, or 5 percent. The expression “substantially X to Y” is equivalent to “substantially X to substantially Y” unless otherwise suggested. Similarly, the expression “substantially X, Y, or substantially Z” is equivalent to “substantially X, substantially Y, or substantially Z” unless otherwise suggested.
[0020] The phrase "and / or" means both "and" and "or". For example, A, B, and / or C includes A alone, B alone, C alone, a combination of A and B, a combination of A and C, a combination of B and C, or a combination of A, B, and C. In other words, "and / or" functions as an inclusive "or". Also, the phrase "A, B, C, or any combination thereof" or "A, B, C, or any combination thereof" includes A alone, B alone, C alone, a combination of A and B, a combination of A and C, a combination of B and C, or a combination of A, B, and C. Furthermore, unless otherwise specified, the use of "or" functions as an inclusive "or".
[0021] The terms “have” (and any form of “have,” such as “comprises” and “comprising”), “equip” (and any form of “equip,” such as “has” and “having”), and “include” (and any form of “include,” such as “includes” and “including”) are open-end link verbs. As a result, a device that “haves,” “equips,” or “includes” one or more elements has, but is not limited to having only, these one or more elements. Similarly, a method that “haves,” “equips,” or “includes” one or more steps has, but is not limited to having only, these one or more steps. Any configuration of an article of a system, method, or manufacture may consist of, or substantially consist of, any of the steps, elements, and / or features described, instead of having / equiping / include. Accordingly, in any claim, the terms “consist of” or “substantially consist of” may be replaced with any of the open-end link verbs described herein, to modify the scope of a given claim. Furthermore, an apparatus or system configured in a particular manner may also be configured in at least such manner, but in a manner not specifically described. One or more features of one configuration may apply to other configurations, even if not described or illustrated, unless expressly prohibited by the nature of this disclosure or the configuration.
[0022] Some details of the configuration are described above, and others are described below. Other configurations, advantages, and features of this disclosure will become apparent when considering the entire application, including the brief description of the drawings, the detailed description, and the claims. [Brief explanation of the drawing]
[0023] [Figure 1A] This figure shows a first perspective view of a railway vehicle equipped with a railway line feature detection system. [Figure 1B]This is a figure showing an enlarged view of the railway line feature detection system in FIG. 1A. [Figure 1C] This is a figure showing a second perspective view of the railway vehicle in FIG. 1A. [Figure 1D] This is a figure showing an enlarged view of the railway line feature detection system in FIG. 1C. [Figure 1E] This is a figure showing a front view of the railway vehicle in FIG. 1A. [Figure 1F] This is a figure showing a cross-sectional view of the railway vehicle in FIG. 1A along line B-B in FIG. 1E. [Figure 2A] This is a figure showing a perspective view of the camera module of the railway line feature detection system. [Figure B] This is a figure showing a bottom view of the camera module of the railway line feature detection system. [Figure 2C] This is a figure showing a cross-sectional view of the camera module of the railway line feature detection system. [Figure 2D] This is a figure showing a top view of the camera module of the railway line feature detection system. [Figure 3A] This is a figure showing a side view of the computer of the railway line feature detection system. [Figure 3B] This is a figure showing a top view of the computer of the railway line feature detection system. [Figure 3C] This is a figure showing a left side view of the computer of the railway line feature detection system. [Figure 3D] This is a figure showing a perspective view of the computer of the railway line feature detection system. [Figure 4A] This is a figure showing a first perspective view of another railway vehicle including the railway line feature detection system. [Figure 4B] This is a figure showing a second perspective view of the railway vehicle in FIG. 4A. [Figure 4C] This is a figure showing a side perspective view of the railway vehicle in FIG. 4A. [Figure 4D] This is a figure showing a bottom perspective view of the railway vehicle in FIG. 4A. [Figure 5] This is a figure showing a first schematic diagram of an example of the railway line feature detection system. [Figure 6] This figure shows a second schematic diagram of an example of a railway line feature detection system. [Figure 7A] This diagram shows a schematic representation of the object detection module. [Figure 7B] This diagram shows a schematic representation of how the object detection module works. [Figure 8] This diagram shows a block diagram of another configuration of the railway line feature detection system. [Figure 9A] This diagram shows a flowchart illustrating an exemplary method implemented by the railway line feature detection system. [Figure 9B] This diagram shows a flowchart illustrating an exemplary method implemented by the railway line feature detection system. [Figure 10A] This figure shows an annotated image that can be output by the railway line feature detection system. [Figure 10B] This figure shows an annotated image that can be output by the railway line feature detection system. [Figure 10C] This figure shows an annotated image that can be output by the railway line feature detection system. [Figure 10D] This figure shows an annotated image that can be output by the railway line feature detection system. [Modes for carrying out the invention]
[0024] The following drawings are illustrative examples and not limiting. For brevity and clarity, not all features of a given structure are necessarily shown in every drawing in which the structure appears. The same reference number does not necessarily represent the same structure. Rather, the same reference number may be used to represent similar features or features having similar functions, just as different reference numbers do. The drawings are drawn to scale (unless otherwise noted), meaning that the sizes of the elements depicted are accurate to each other, at least for the configuration shown in the drawings.
[0025] Figures 1A to 1F show a first configuration of a railway line feature detection system 110 coupled to a railway vehicle 114 propelling on a rail line 118. For example, Figure 1A shows a top perspective view of the railway line feature detection system 110 coupled to the railway vehicle 114, Figure 1B shows an enlarged view of the railway line feature detection system in Figure 1A, Figure 1C shows a schematic perspective view of the railway line feature detection system, Figure 1D shows an enlarged view of the railway line feature detection system in Figure 1C, Figure 1E shows a front view of the railway line feature detection system, and Figure 1F shows a side cross-sectional view of the railway line feature detection system.
[0026] As shown in Figures 1A to 1F, the railway track feature detection system ("Detection System 110") comprises one or more cameras 122, one or more light sources 126, and one or more computers 130 (e.g., processors having neural network logic). The Detection System 110 has, or communicates with, a railway vehicle controller 134 (e.g., a Jupiter II controller sold by HARSCO Rail) and can perform one or more functions described herein. For example, the controller 134 may be electrically connected to a work unit 138, which may be configured to perform one or more rail operations (e.g., tamping, spike pulling, anchor diffusion, etc.). In some configurations, the controller 134 may be located in the driver's cab 135 of the railway vehicle 114.
[0027] As shown in Figure 1A, the detection system 110 has two cameras 122 positioned at the front of the railway vehicle 114, each camera may be positioned to capture an image of each rail of the rail track 118. In such a configuration, two light sources 126 may be positioned on either side of each camera (e.g., 122) and configured to illuminate the rail track 118 while images are being captured. Each camera 122 may be connected to one or more computers 130 (e.g., processors) to process the images or transmit the images to one or more other computer systems. In another configuration, each camera 122 may be integrated with the computer 130. The computer 130 can be programmed to perform specific functions based on the reception and / or processing of images. For example, the computer 130 may send one or more signals to a controller 134 based on the images. In some configurations, based on the reception of signals from the computer 130, the controller 134 may perform processes on the railway vehicle 114, such as controlling the movement of the railway vehicle or operating an operational work unit 138 for performing maintenance on the rail track. The computer 130 and the camera 122 work together to perform real-time image processing (e.g., less than 1 second, e.g., less than 0.1 seconds). Thus, the computer 130 quickly transmits a signal to the controller 134, which activates the work unit 138 to perform functions on the imaged portion of the rail track 118 before the railway vehicle 114 moves beyond the imaged portion of the rail track. Naturally, the number of cameras 122, light sources 126, and computers 130 may differ from the indicated amounts (e.g., more or fewer). For example, one camera (e.g., 122) may be positioned to capture images of both rails, or multiple cameras (e.g., 122) may be positioned on each rail.
[0028] In the shown configuration, the camera 122 and light source 126 are coupled to the railway vehicle 114 via a bracket assembly 142. The bracket assembly 142 may have a base 146, a first frame member 150, and a second frame member 154. In the shown configuration, the camera 122 and light source 126 are coupled to the second frame member 154, the base 146 is coupled to the frame or other member of the railway vehicle 114, and the first frame member 150 connects the base to the second frame member. In some configurations as shown, the first frame member 150 includes an adjustable extendable member along the longitudinal axis of the vehicle relative to the railway vehicle 114. As shown in the figure, the second frame member 154 is adjustable along the vertical axis relative to the railway vehicle 114, changing the height of the camera 122. In addition to this, or separately, the base 146 may be adjustable along the vertical axis to correct the height of the camera 122 relative to the rail line 118. In the configurations shown in Figures 1A to 1F, the bracket assembly 142 is suspended from the railway vehicle 114 (e.g., cantilevered) and positioned between 1 and 6 feet above the rail track 118. In some such configurations, the base 146, the first frame member 150, and / or the second frame member 154 may be adjustable along the lateral axis of the railway vehicle 114.
[0029] The computer 130 may be coupled to a bracket assembly 142 or a separate mounting assembly, and the computer may be positioned adjacent to the camera 122. This may enable a wired connection between the camera and the computer (e.g., Ethernet®, USB, or other wired connection), facilitating rapid transmission of information between the computer 130 and the camera 122. However, in other configurations, the camera 122 and the computer 130 may be connected wirelessly. In any configuration, the detection system 110 is configured for real-time processing of images captured by the camera 122. As shown in Figure 1B, the computer 130 may have a housing or be housed within a housing to protect the computer's electrical components from elements (e.g., rain, dust, sunlight exposure, pests, etc.).
[0030] Referring here to Figures 2A to 2D, the camera 122 and light source 126 are shown coupled to the second frame member 154. In the shown configuration, the second frame member 154 has a beam that defines one or more slots 158, the beam receiving a fastener 159 and configured to couple the camera 122 and light source 126 to the second frame member. As shown in the figure, the camera 122 and light source 126 are coupled to the second frame member 154 via a bracket 162. In the shown configuration, the fastener 159 extends through the slot 158 and connects the bracket 162 to the second frame member 154. The fastener 159 can move laterally along the slot 158 to adjust the position of the bracket relative to the second frame member. Once the desired position of the bracket 162 is selected, the fastener 159 may be tightened to prevent further movement along the slot 158 and maintain the bracket in the selected position. In other configurations, the camera 122 and the light source 126 may be directly fixed to the second frame member 154, or they may be coupled in any other preferred way that allows the camera and the light source to be adjusted relative to each other.
[0031] Camera 122 may be any preferred time of an imaging device that outputs image data (e.g., images) or other files showing visual information. In some configurations, the camera is a digital camera; in other configurations, it may be an active pixel sensor (CMOS), a charge-coupled CCD, a LiDAR, a 3D vision camera, a Quanta image sensor, or other image sensor. In some configurations, camera 122 has one or more filters (e.g., a polarizing filter, a neutral density filter, a UV filter, etc.). In some configurations, camera 122 may have a processor (e.g., 130, 134) that is programmed to interact with a light source 126 and / or a computer 130. However, in other configurations, the computer 130 may be configured to control camera 122. In any configuration, the shutter of camera 122 may be adjustable based on illumination (e.g., ambient light and / or exposure) or other factors. For example, camera 122 may be configured to operate in global shutter mode to avoid motion blur. Furthermore, in other configurations, the camera may operate in roller shutter or other shutter modes. In addition to or separately from this, camera 122 may be adjustable (e.g., controllable via a processor) so that the shutter changes depending on lighting conditions such as ambient light, exposure, or other factors. The camera may be automatically controlled based on lighting conditions. For example, if camera 122 detects low illumination conditions, computer 130 may control camera 122 to initiate automatic gain control (AGC) mode. In another example, computer 130 may control camera 122 to adjust the camera's frame rate. Camera 122 may be configured to operate at a sufficiently high frame rate so that one or more track features are captured while the railway vehicle 114 is moving. In some such configurations, computer 130 may control the frame rate based on the speed of the railway vehicle 114. In an exemplary example, camera 122 is configured to capture images at least 40 frames per second (fps) (e.g., 40, 50, 60, 70, 80, 90, 100, 110, or 120 fps or higher).The camera 122 and the computer 130 may be configured to identify one or more rail features in the image of the rail route 118. Multiple rail features may include rails, rail ties, tie plates, anchors, spikes, spike holes defined by the tie plates, joint bars, joint bar bolts, and / or various other hardware. Once rail features are identified, the computer may be configured to perform various functions, as further described below.
[0032] Figures 3A to 3D show some diagrams of the computer 330 of the railway line feature detection system 110. For example, Figure 3A shows a side view of the computer 330, Figure 3B shows a top view of the computer, Figure 3C shows a front view of the computer, and Figure 3D shows a perspective view of the computer. The computer 330 may include or correspond to the computer 130, and may perform any of the functions described above with respect to the computer 130.
[0033] The computer 330 has a housing 331 which may define a cavity 332 configured to protect the processor 334 or one or more computer components (e.g., hardware) from the external environment. In some configurations, the computer 330 may have one or more input / output (I / O) devices 336, although this is not required. The one or more I / O devices 336 may include one or more switches, one or more display devices, one or more touchscreens, one or more speakers, one or more light sources, or other types of components that allow a user to receive information from or provide information to the computer 300. As shown in Figures 3A to 3D, the computer 300 includes I / O devices 336 in the form of a power switch, a start switch, and multiple light sources. In some configurations, the computer 330 may have a cooling element 338, although this is not required, configured to maintain or reduce the temperature of the processor 334 or the cavity 332. In the configuration shown, the cooling element 338 is a fan, but in other configurations, the cooling element may be a heatsink, heat pipe, or liquid cooling system (e.g., heat block, pump, reservoir).
[0034] The processor 334 may be a general-purpose computer system (e.g., a personal computer (PC), server, or tablet device), a central processing unit (CPU), a special-purpose processor platform (e.g., an application-specific integrated circuit (ASIC) or system-on-a-chip (SoC)), or other computing circuit. The processor 334 may include, in exemplary and non-limiting examples, one or more processors such as a baseband processor, an application processor, a graphics processor, or a combination thereof. As will be described in more detail with respect to Figures 6 to 9 below, the computer may have an AI module, a GPU, a microcontroller, one or more other processors, etc., and may be configured as a neural network (e.g., CNN, RNN, LSTM, or GAN). The neural network may be configured to include multiple code libraries (e.g., C, C++, etc.), and one or more instructions may be executed via the processor 334. In some embodiments, the code libraries may include TersorFlow, Caffe, Digits, Darknet, etc.
[0035] Referring here to Figures 4A to 4D, various drawings of the railway route feature detection system 410 are shown. For example, Figure 4A shows a top right perspective view of the railway route feature detection system 410 coupled to a railway vehicle 414, Figure 4B shows a top left perspective view of the railway route feature detection system 410, Figure 4C shows a side perspective view of the railway route feature detection system 410, and Figure 4D shows a bottom perspective view of the railway route feature detection system 410. The railway route feature detection system 410 operates similarly to the railway route feature detection system 110 and may have components of the detection system 110, or components corresponding to components of the detection system 110.
[0036] The detection system 410 may have one or more cameras 422 and a computer 430 electrically coupled to the cameras. The cameras 422 and computer 430 may have cameras 122 and computers 130, 330, or correspond to them, respectively. In some configurations, such as that shown in Figure 4A, one or more light sources 426 are positioned adjacent to the cameras and configured to illuminate the field of view of the cameras 422. Figure 4A shows two cameras (e.g., 422), each coupled to the frame of a railway vehicle 414 and oriented to capture images of their respective rails. As shown in the figure, each camera 422 is coupled to its respective computer 430 via wires, and image / visual information is transmitted to the computer. However, in other configurations, two or more cameras 422 may be coupled to the same computer 430. In addition to this, or separately, the computer 430 may be wirelessly connected to the cameras 422 or integrated with the cameras.
[0037] As shown in Figures 4A and 4B, the camera 422 is mounted in front of the railway vehicle 414 via a bracket assembly 442. The bracket assembly 442 has a number of beams 444 which cooperate to form an opening 446, and the field of view of the camera 422 may extend through the opening. Referring to Figures 4C and 4D, the bracket assembly 442 is interposed at least partially between the camera 422 and the rail line 418. In some configurations, the bracket assembly 442 may surround the camera 422. For example, in Figure 4D, the camera 422 is positioned between a first set of beams (e.g., 444) aligned along an axis substantially parallel to the rail and a second set of beams (e.g., 444) aligned along an axis substantially perpendicular to the rail. At least one of the beams 444 may be positioned in front of the rail line feature detection system 410 to protect the detection system in the event of a collision. In some configurations, the light source 426 is coupled to the bottom of at least one beam 444. As shown in the figure, the light source 426 is coupled to a first pair of beams (e.g., 444) substantially parallel to the rail and configured to illuminate a portion of the rail 418 directly below the camera (e.g., at the intersection of the field of view and the rail). In some configurations, the beam 444 may be sized to block sunlight from the portion of the rail 418 directly below the camera.
[0038] In some configurations, the camera 422 or light source 426 may have one or more filters (e.g., polarizing filters) configured to reduce glare or contrast in the image. In addition to or separately from this, one or more light-shielding members (e.g., screens, curtains, reflectors) may be coupled to the beam 444 to mitigate the amount of sunlight reaching the rail 418. In some configurations, the light source 426 or camera 422 may be positioned to better control the shadows projected onto the rail 418. For example, the camera 422 or light source 426 may be adjustable based on the image captured by the camera (e.g., via actuators coupled to the computer 430). Specifically, in exemplary examples, the camera 422 or light source 426 may be moved (e.g., laterally, vertically, rotated, or a combination thereof) based on the detection of shadows in the image or based on the position of rail features in the image. In this way, and in other ways, the influence of shadows on the image detection process of images captured by the camera 422 described herein can be mitigated.
[0039] Computer 530 may have, or correspond to, an artificial intelligence (AI) module configured to process images captured by camera 522. For example, computer 530 (e.g., the AI module) may be configured to detect one or more rail features in the image, identify the detected rail features from a predetermined list of rail features, determine the location of the identified rail features, or a combination thereof.
[0040] Each computer 530 may be connected to one or more other components to send and receive commands or information relating to image processing. In the shown configuration, the computer 530 is coupled to a controller 534, which may be connected to a vehicle such as a railway vehicle (e.g., 114). The computer 530 and the controller 534 may be coupled via a wired connection (e.g., Ethernet®) or a wireless connection. In a configuration where the controller 534 is coupled to a railway vehicle, the computer 530 may send commands to the controller to operate the railway vehicle in a certain manner based on an image analysis of the rails.
[0041] In addition to or separately from this, the computer 530 may be connected to one or more other hardware components and / or a network (e.g., a router, switch, or other communication hardware). As shown in Figure 5, the computer 530 is connected to a data management system 536, which is configured to store processed image data or to transmit processed image data to one or more other components. The computer 530 may be connected to the data management system 536 via a control area network bus (CAN bus) connection or other preferred connection. In some configurations, the data management system 536 may include or correspond to a gateway or memory. In such configurations, the data management system 536 may convert image data or transmit image data to one or more external devices 538. The external devices 538 may include a computer (e.g., a control hub), a mobile phone, a tablet, a laptop, a desktop, or other computer equipment. In some configurations, the image data may be configured as text, images, and / or video so that users can easily access the information. For example, the image data may include a generation map showing the arrangement of rail features, a table showing a detailed breakdown of the types of identified rail features, and / or annotated video from a camera showing the identified rail features.
[0042] Figure 6 shows another schematic diagram of the railway route feature detection system 610. This system may have, or correspond to, detection systems 110, 410, and 510. The railway route feature detection system 610 has various modules configured to perform certain functions, such as a camera module 620, a detection module 630, a tracking module 640, a CAN BUS module 650, or a combination thereof. In some configurations, each module may be implemented via hardware (e.g., a processor) similar to or different from that of the other modules.
[0043] The camera module 620 may be implemented via a camera (e.g., 122, 422, 522), a computer (e.g., 130, 330, 430, 530), other hardware, or a combination thereof. The camera module 620 is configured to capture multiple images, such as multiple images of the railway, while the railway vehicle is moving along the track. The camera module 620 may initiate the transmission of various signals, and the camera may operate at a specific frame rate (e.g., 20–120 fps), a specific resolution (5–10 pixels per physical inch of the image structure), and a specific shutter speed. In addition to or separately from this, the camera may initiate the transmission of various signals, and a light source (e.g., 126, 426) may be activated and emit light, the intensity of the light may be adjusted, the orientation of the light may be adjusted, and so on. For example, the height of the light source may be adjusted to control the amount of light directed towards the rails. In this or other ways, the camera module 620 may adjust the operating parameters of the camera or light source to capture an image in which interference such as blur or shadows is minimized.
[0044] The camera module 620 may output the captured images to another module (e.g., an object detector module and / or a color detector module). In some configurations, the camera module 620 is configured to edit the images. For illustrative purposes, the camera module 620 may assign or include additional information to the images, such as a timestamp or GPS location. In some configurations, the camera module 620 assigns an identifier to each image before transmitting it. In some such configurations, the identifiers may correspond to the order in which the images were taken.
[0045] The detection module 630 may include an object detection module 632 and a color detection module 634. The detection module 630 may be implemented via a camera (e.g., 122, 422, 522), a computer (e.g., 130, 330, 430, 530), other hardware (e.g., a control panel, server, user equipment, etc.), or a combination thereof. The detection module 630 is configured to detect one or more objects in an image received from the camera module 620 or other network. After an object is detected, the detection module 630 may then classify the object into a category or subcategory. For example, the detection module 630 may classify the detected object into one of several predetermined categories, or the detection module 630 may assign the object to a new category. In an exemplary example, the detection module 630 may determine whether a detected object is a rail feature by classifying the detected object, for example, as a rail feature, or alternatively as a non-rail feature. If an object is classified as a rail feature, the object is stored, and one or more other functions may be performed based on the classification. On the other hand, if an object is classified as something other than rail features (e.g., vegetation, ballast, trash, etc.), that object may be filtered out.
[0046] In some configurations, each object may be classified multiple times, as further described below. For example, in a configuration where the camera is on a moving railway vehicle, there may be overlaps in a series of images, and images may be taken such that a detected object (e.g., a rail feature) is present in multiple images. In this case, the detection module 630 may detect and classify the same object in two or more different images. In some such configurations, the detection module 630 may receive identifiers assigned to each image by the camera module 620 and determine, based on the identifiers, whether two or more different images contain the same object (e.g., a rail feature). If an object is present in multiple images, the detection module 630 may determine the object as a set of objects and compare the classification of the set of objects for each image in which it appears. In other words, the object detection module may double-check the classification of the object. The detection module 630 may send the processed image data (e.g., an output detection list) to another module. For example, the detection module 630 may send the classification of each rail feature to the tracking module 640.
[0047] Next, referring to Figure 7A, a schematic model of the object detector module 632 is shown. The object detector module 632 has, or may be coupled to, a processor 662 and memory 664 (e.g., those included in computers 130, 330, and 430) configured to store the data, such as training data 666, one or more machine learning (ML) models 668, and a discrimination engine 670. In some configurations, the object detector module 632 may also include a training engine 672. It should be noted that the functionality described with reference to the object detector module 632 is provided for illustrative purposes only, not for limitation, and the exemplary functionality described herein may be provided through other types of computing resource arrangements. For example, in some implementations, the computing resources and functionality described with respect to the object detector module 632 may be provided in a distributed system using multiple servers or other computing devices, or in a cloud-based system using computing resources and functionality provided by a cloud-based environment accessible over a network.
[0048] The training engine 672 may be configured to generate training data 666 based on processed image data, rail feature data, or other information. For example, the training engine 672 may extract a specific set of features from rail feature image data (e.g., history track feature data), and group the extracted features into, for example, one or more vectors to generate training data 666. The rail feature image data may have or correspond to images of rail features. In some embodiments, a specific set of features is determined by analyzing the features of the rail feature image data and is predetermined for all types of rail feature identification. To extract features, the training engine 672 may be configured to extract numerical features from numerical data, extract categorical features from text or numerical data, convert categorical features to numerical features, perform natural language processing (NLP) on text data, convert text features to numerical features, or a combination thereof. In some embodiments, the training engine 672 may be configured to scale the extracted features or convert them into a format usable for training an ML model. After extracting the features, the training engine 672 may generate training data 666 by grouping the extracted features or formatting them in another way, such as by performing vectorization on the extracted features. Alternatively, the training data 666 may be pre-generated and loaded into or transmitted to the object detector module 632. In a non-limiting example, the training data 666 may include more than 20,000 labeled rail features (e.g., 23,880 labeled features - 4,144 plates, 3,410 anchors, 6,904 spikes, 8,494 holes, 213 rail segment gaps, 715 joint bolts).
[0049] After generating training data 666, the training engine 672 may be configured to train one or more ML models 668 on the training data, which are accessible to the training engine (e.g., via storage in memory 106 or other storage devices). One or more ML models 668 may be trained to pre-identify pre-identified rail features indicated by the training data 666. In some embodiments, one or more ML models 668 may be trained to identify rail features based on their position relative to other rail features by weighting or labeling the training data on the training data 666, for example, based on the spatial relationships of the rail features. In an exemplary example, the object detector module 632 may be configured so that rail spikes that are not bonded to the rail plate (e.g., outside the periphery) are not identified as rail spikes. In this case, even if spikes are detected in the image, the object detector module 632 may ignore them because they are no longer anchored to the plate. Alternatively, one or more ML models 668 may be generated or trained elsewhere, and the ML models may be preloaded or sent to the object detector module 632.
[0050] In some configurations, the ML model 668 may be manually trained using thousands of images. In this case, the user trains the system by identifying objects that have boundaries corresponding to given rail features. After training, the ML model 668 generates a set of weights and filters that are used by the object detection module. In some configurations, the object detector module 632 has a processor 662 with a powerful GPU (e.g., 512 cores) capable of computing neurons / weights in parallel. As an example, the computer may train a network that outputs a “weight” file (via the ML model) containing neuron weights and feature kernels. The “weights” may be loaded into at least one processor configured to perform ML model-independent inference (detection). The processor may be configured to run data at a speed of 50 frames per second or faster. In this case, the object detector module 632 receives an image, passes the image through the neural network, and calculates a classification / confidence score (20-100%). If the confidence score exceeds a threshold (e.g., typically around 80% of the installation threshold), the object detection module identifies the rail features. Naturally, there may be one or more intermediate ML models that modify the data between input and classification. In addition to or separately from this, there may be one or more subsequent or preceding ML models, as described below. An ML model (e.g., a neural network) may include several sets (i.e., libraries) of formulas that are commonly configured for training, output, or other functions. In some such configurations, the ML model may include libraries designed for edge computation (e.g., darknets). In some configurations, the output may vary for different ML models, such as classification models (no outline), outline (box / segmentation), object classification, tracking object motion, prediction / forecast, generation, etc.
[0051] In some examples, one or more ML models 668 (hereinafter referred to as ML model 668) may include a single ML model or multiple ML models configured to identify rail features. In some examples, ML model 668 may include, or correspond to, a generative ML model. In some such configurations, ML model 668 is configured to group objects into clusters based on the category of the object. One of such clusters may correspond to rail features (e.g., rails, rail ties, tie plates, anchors, spikes, spike holes defined by the tie plates, joint bars, joint bar bolts, and / or various other hardware). For example, ML model 668 may include generative adversarial networks (GANs) such as multi-objective GANs, objective-enhanced GANs, conditional deep GANs, etc., variational autoencoders (VAEs) such as standard VAEs, multi-objective VAEs, etc., or a combination thereof. Generative modeling is an unsupervised learning task that involves using a model to automatically discover and learn patterns or relationships in input data such that it generates or outputs plausible new examples that can be drawn from the input dataset. GANs can be used to frame the problem as a supervised learning problem using two submodels: a generative model trained to generate new examples and a discriminator model trained to classify examples as either real (e.g., from the input dataset) or fake (e.g., from the generator model). The two models, typically convolutional neural networks, are trained together in a zero-sum game by the generator until the discriminator is fooled by the generator at a certain percentage of time. VAEs may be configured to learn efficient data encoding in an unsupervised way by encoding high-dimensional input data as probability distributions of latent variables and decoding the probability distributions of latent variables to create slightly different versions of the input data. In some examples, ML models 668 (e.g., GANs, VAEs, or both) may be implemented as neural networks.In other examples, ML Model 668 may be implemented as other types of ML models or configurations, such as other neural networks (NNs), Long Short-Term Memory (LTSM) networks, Recurrent Neural Networks (RNNs), Convolutional Neural Networks (CNNs), or Support Vector Machines (SVMs), Decision Trees, Random Forests, Regression Models, Bayesian Networks (BNs), Dynamic Bayesian Networks (DBNs), Naive Bayes (NB) models, Gaussian processes, Hidden Markov Models (HMMs), etc. In an unrestricted configuration, ML Model 668 may include a 75-layer CNN. In another configuration, ML Model 668 may have 45 layers and use mesh activation, capable of processing approximately 100 frames per second (within 10%). In yet another configuration, ML Model 668 may include approximately 160 layers. The number of layers may be changed, and it should be noted that increasing the number of layers improves accuracy but can negatively impact processing speed (e.g., it becomes slower).
[0052] The identification engine 670 may be configured to identify detected rail features in the image. For example, the identification engine 670 may provide input data to an ML model 668, which may identify rail features that have a fundamental similarity to the rail features indicated by the input data. The object detector module 632 may then generate or initiate signal generation based on the identification of the detected rail features.
[0053] It should be noted that the models used in the configuration of this disclosure may utilize machine learning techniques to analyze objects and classify them (e.g., determine the labels to be output) on a given input set (e.g., a training dataset of rail features, image data, etc.). It should be noted that specific model parameters and the types of data accepted as input by the model may depend on which classification / clustering machine learning algorithm is used. For example, if a neural network model is used, the parameters may be biases (e.g., bias vectors / matrices) or weights, and if a regression-based machine learning algorithm is used, the parameters may be differential values.
[0054] Referring to Figure 7B, a flowchart of an example of a method for identifying rail features is shown as Method 700. In some examples, the operation of Method 700 may be stored as instructions for one or more processors to perform the operation of Method when executed by one or more processors (e.g., one or more processors of a computer or server). In some embodiments, Method 700 may be performed by one or more components of a system configured to perform object identification (e.g., rail feature identification), such as one or more components of the railroad track feature detection systems 110, 410, 510, 610. In some configurations, Method 700 may have a step of collecting or training one or more ML models, as described above.
[0055] Method 700 may include the step in 702 of predicting clusters to which one or more rail feature segments are assigned. Each cluster may correspond to a given rail feature segment selected or identified by the object detector module 632. For illustrative purposes, the system may train one or more ML models, perform unsupervised learning, and cluster the pre-identified rail feature segments into clusters corresponding to specific types of rail feature segments and other rules established based on the training data. Input data representing one or more rail feature segments (e.g., feature vectors) is provided to the trained ML models, and cluster assignments are predicted using sparse subspace clustering (SSC). In some examples, to cluster large volumes of high-dimensional data, the clustering may include density-referenced spatial clustering such as density-referenced spatial clustering for noisy applications (DBSCAN), K-means clustering, K-means clustering for large-scale clustering (LSC-K), longest common subsequence (LCS) clustering, and longest common periodic sequence (LCCS) clustering.
[0056] Method 700 may have a step in 704 of generating cluster data. The cluster data may represent members of each cluster, rail feature parts associated with the cluster, etc. In addition to or separately from this, the system may determine a score for each rail feature part in a cluster to which a particular rail feature part is assigned, and the scores may be used to filter the cluster into a subset of feature parts with higher scores, and the cluster data may represent scores, subsets, or a combination thereof. In one example, each rail feature part assigned to a cluster may be scored using one or more scoring metrics, the scores of each rail feature part may be averaged to generate an average score (or other aggregate score) for each feature part. The average score may be compared to one or more thresholds to determine whether the rail feature part is identifiable or whether the object is unidentifiable. In some forms, scoring may be performed based on Tanimoto exponents or coefficients, cosine similarities, laboratory control sample (LCS) data, a library of Enumeration of Modular Natural Structures (LEMONS) data, etc. Method 700 may have a step of storing the cluster data in a database.
[0057] Method 700 may further include a step in 706 of performing a risk analysis on the identified rail features. The risk analysis may indicate which rail features are at risk of potential failure or have already experienced failure. Such a risk analysis may be performed by one or more ML models using training data associated with the faulty or defective rail features. Identification of high-risk rail features may be performed in the same way as identification of specific rail features from a plurality of given rail features. For example, each identified rail feature may go through a second step of clustering, which includes predicting clusters and generating cluster data. In an exemplary example, a scoring index is assigned to each identified rail feature based on its risk of potential failure, and the score is compared to one or more failure thresholds.
[0058] Method 700 ends in 708 with an output recommendation for one or more rail feature elements. In some configurations, each fault threshold may be associated with a maintenance operation. The maintenance operation is configured to prevent the occurrence of a risk (e.g., derailment), and the maintenance operation is performed by a work unit of the rail vehicle or stored in a database until the appropriate rail vehicle is able to perform the maintenance operation. After determining one or more maintenance operations, the object detection module 632 may generate an output indicating the maintenance operation to be performed. In certain examples, the object detection module 632 may provide an output to a display device, which may display one or more maintenance operations as well as other information. In addition to or separately from this, the object detection module 632 may transmit a signal to the rail vehicle controller to initiate the execution of the maintenance operation.
[0059] Referring again to Figure 6, the color detection module 634 is configured to detect one or more color markers placed on the rail. In one example, the color detector module 634 may receive hue / saturation / value (HSV) values and / or red-green-blue (RGB) color values from the camera module 620. However, in another configuration, the color detector module 634 may determine the HSV or RGB color values from the image data transmitted by the camera module 620. For example, the color detector module 634 may determine the HSV or RGB color values of each pixel in the image and the spatial relationships of the defined color values. In some configurations, the color markers may be placed on the rail by railworkers and transmit signals to the railway line feature detection system. Each color may correspond to a specific line feature, section of the line, function to be performed, and / or other types of information. For example, a blue paint marker may be used to identify anchor locations that need to be widened, and a green marker may be used to identify anchor locations that need to be narrowed. In some configurations, the color markers are placed on the legs of the rails, while in other configurations, the color markers may be placed at any visible position on the rail or rail tie.
[0060] The color detector module 634 may detect portions of the image corresponding to color markers and classify the color markers. In some configurations, the detection or classification of color markers may utilize one or more machine learning (ML) models, such as CNNs, as described with respect to the object detector module 632. The color detector module 634 may then send the processed image data (e.g., output detection list, associated maintenance operations, etc.) to another module. For example, the detection module 630 may send the classification of each color marker to the tracking module 640.
[0061] The tracking module 640 has a tracker module 642 and a system module 644 and is configured to communicate with one or more other modules. The tracking module 640 may receive outputs from the object detector module 632 and the color detector module 634 and track identified rail features and color markers.
[0062] The tracker module 642 may assign a unique identification (ID) number to each feature identified by the detection module 630 (for example, a feature in the output detection list). The unique ID number may include geographical data, or the tracker module 642 may determine location data corresponding to each feature assigned to the unique ID number.
[0063] For example, the tracker module 642 may calculate the distance between at least two identified feature parts based on the spatial relationship of the feature parts and the overall size of the image. In some configurations, if at least two feature parts are present in multiple images, the distance may be calculated several times. In one example, the tracker module 642 may receive data indicating a first set of identified feature parts found in a first image and a second set of identified feature parts found in a second image taken after the first image. The tracker module 642 may compare the first and second sets of feature parts to determine any overlapping feature parts that appear in both images. The tracker module 642 may then use this determination along with other data (e.g., the speed of the railway vehicle, the time between images, etc.) to calculate the distance between the identified feature parts. In some configurations, the distance or distance-related information may be output to one or more external devices (e.g., a railway vehicle controller, gateway, display, etc.). In one example, the tracker module 642 communicates with a display screen showing a map of the rail track (for example, as shown in Figures 10A to 10D), displaying each identified rail feature and information related to each feature (e.g., maintenance status, feature type, etc.). In this way, and in other ways, the tracker module 642 may determine the location of each identified feature within a quarter of an inch, or more specifically, within a tenth of an inch. This allows the detection system 610 to communicate with the rail vehicle controller, and maintenance functions may be performed at the correct location.
[0064] In some configurations, the tracker module 642 may be configured to identify (e.g., filter out) one or more irrelevant rail features. For example, the tracker module 642 may determine that an identified rail spike is pulled out from the rail plate and filter out the rail spike as non-existent (i.e., spikes that are not on the plate are either not spikes or spikes irrelevant to removing the plate and may be ignored).
[0065] In some configurations, the tracker module 642 may identify feature parts that are identified based on the calculated distance, as described above. In an exemplary example, an identified anchor located inside the plate may be a spike instead of an anchor. In this way, the accuracy of feature part identification can be improved for rail feature parts that look similar, such as spikes and anchors. Furthermore, during normal rail operation, rail spikes may be crushed and no longer look like spikes, making them difficult to identify based on images. Therefore, the tracker module 642 operates to verify the identification made by the object detection module 632. In addition to or separately from this, the tracker module 642 may determine whether an identified color marker corresponds to a paint dot placed by an operator or to any additional marking that is not intended to indicate any information.
[0066] In yet another example, the tracker module 642 may operate to target specific rail features (or a specific set of rail features), such as features identified by the user. For example, if the rail track feature detection system 610 operates to identify only rail anchors, the tracker module 642 may filter out any identified rail features that are not anchors. In this way, the tracker module 642 may enable selective identification of rail features without requiring the ML model used by the object detection module 632 to be retrained. Since rail tracks contain thousands of rail ties depending on the length of the track, this may save computational power and unnecessary notifications. In some configurations, the tracker module 642 may use one or more machine learning (ML) models, such as CNNs, to compute or filter out the location information of one or more previously identified features.
[0067] System module 644 is configured to receive one or more other inputs related to the track, separate from the image data. For example, system module 644 may include a thermometer configured to measure the temperature of the rails. In other configurations, system module 644 may have a distance sensor that determines the distance between the camera and the rails, an encoder wheel that determines the distance the railway vehicle travels along the track, and / or other suitable sensors. In such configurations, system module 644 may then output system data to one of the other modules. In some configurations, the system module may include, or communicate with, a railway vehicle controller (e.g., 134).
[0068] The CAN BUS module 650 is configured to recover the output from the tracking module 640 and transmit the output information to one or more other devices (e.g., external devices). The CAN BUS module 650 may receive and / or transmit data, commands, or other information to and from the railway line feature detection system. For example, the CAN BUS module 650 may convert location and feature data from the tracker module, camera module, object detector module, and / or color detector module into a video file and stream it live to a display panel, control hub, operator device, or other live display on a railway vehicle. In other configurations, the CAN BUS module 650 may convert the output into a text file that is sent to an external server for storage.
[0069] Next, referring to Figure 8, a schematic diagram of the track feature detection system 810 is shown. The detection system 810 provides detection, positioning, measurement, prediction / forecasting, and track inspection that facilitate automation and can be used in automated railway vehicles (i.e., unmanned vehicles) to facilitate vehicle automation. As described herein, the detection system 810 may provide real-time (response time up to 0.01 seconds) detection, positioning, measurement, and prediction / forecasting for the purpose of automating track maintenance machinery, which is difficult to achieve with conventional rail systems. The detection system 810 comprises an imaging device 822 and a computer 830. The computer 830 may communicate with a controller 816 and an external device 802 of a railway vehicle 814. As shown in Figure 8, the imaging device 822, the computer 830, and the controller 816 are coupled to communicate with each other. The imaging device 822, computer 830, and controller 816 may each have, or correspond to, cameras 122, 422, 522, computers 130, 330, 430, 530, and controller 134, respectively.
[0070] The imaging device 822 may include a camera, such as a digital camera, an active pixel sensor (CMOS), a charge-coupled device CCD, a LiDAR, a 3D vision camera, a Quanta image sensor, or other imaging device. In some configurations, the imaging device 822 has a camera module 824. The camera module 824 may have or correspond to a camera module 620.
[0071] Computer 830 may have, or correspond to, a server, processor, AI module, GPU, computing system, etc. As shown in the figure, computer 830 may include a processor 832 and memory 834. In some configurations, computer 830 may include one or more I / O devices 836 and a network interface 838. Processor 832 may include various forms of processor-based systems according to the embodiments described herein. For example, the processor may include a general-purpose computer system (e.g., a personal computer (PC), server, tablet device, etc.) and / or a special-purpose processor platform (e.g., an application-specific integrated circuit (ASIC), system-on-a-chip (SoC), neural network, etc.). In some embodiments, processor 832 is a GPU-accelerated artificial neural network. In such a configuration, the processor has an 8-core ARM v8.2 CPU and a 512-core GPU including 64 tensor cores, and is configured to perform 32 trillion operations per second.
[0072] Processor 832 may have multiple processors, such as an image processor. Processor 832 may be configured to process image data and perform object detection and / or recognition. In addition to or separately from this, processor 832 may be configured to generate positional information, such as control commands for controller 816. Processor 832 may include ML model 840 (e.g., a neural network), object detector module 842, color detector module 844, tracker module 846, system module 848, CAN BUS module 850, or a combination thereof. However, in other configurations, one or more modules may be included in separate processors of computer 830. ML model 840, object detector module 842, color detector module 844, tracker module 846, system module 848, and CAN BUS module 850 may include, or correspond to, ML model 668, object detector module 632, color detector module 634, tracker module 642, system module 644, and CAN BUS module 650, respectively.
[0073] Memory 834 may include a ROM device, a RAM device, one or more HDDs, flash memory devices, SSDs, other devices configured to store data in a persistent or non-persistent state, or a combination of different memory devices. Memory 834 includes instructions 852 that cause the processor 832 to perform operations according to the embodiments of this disclosure when executed by the processor 832. Memory 834 may also have training data 854, which may be used to train the ML model 840. In some configurations, training data 854 may include or correspond to training data 666.
[0074] The I / O device 836 may include a mouse, keyboard, display device, touchscreen, switch, button, or a combination thereof. The network interface 838 may be configured to communicatively connect the electronic device to one or more external devices, such as an imaging device, a controller, or both, via one or more wired or wireless networks. For example, a computer may be configured to receive image data from an imaging device, detect / recognize objects based on the image data, and output control commands to a controller or other external device.
[0075] The controller 816 is configured to be coupled to or integrated with the rail vehicle 814 and may initiate one or more rail vehicle operations, such as maintenance operations or movement of the rail vehicle. The controller 816 includes one or more processors 818, memory 819, and a network interface 820. In some configurations, the controller 816 may be coupled to a work unit (e.g., a work group) of the rail vehicle 814 configured to perform maintenance tasks on the rail line, such as an anchor spreader, tamper, spike puller, etc. In some such configurations, the controller 816 may generate one or more signals which may activate, move, or otherwise activate a work unit to perform a maintenance task.
[0076] In some configurations, the detection system 810 may be configured to identify one or more rail feature sections 809 of the rail track 808 and to perform maintenance operations based on the identification of the rail feature sections. In a non-limiting example, the imaging device 822 is configured to take an image of the rail track 808 including the rail track feature sections 809. In some configurations, the image may be taken according to parameters selected by the camera module 824. In addition to or separately from this, the camera module 824 may be configured to perform one or more image processing techniques on the image to edit or transform the image data of the captured image, or to include additional information in the image, or a combination thereof. The obtained image data 801 (modified or unmodified by the camera module 824) may be transmitted to the computer 830.
[0077] Upon receiving image data 801, the computer 830 may process the image data (for example, via the processor 832) to detect and identify rail feature portions 809 within the image data. In some configurations, the ML model 840 is configured to identify rail feature portions 809 from a plurality of pre-selected rail feature portions. For example, in a configuration where rail feature portion 809 is a color marker, a color detector module 844 may detect and identify the rail feature portion. Alternatively, in a configuration where rail feature portion 809 is a rail track component, an object detector module 842 may detect and identify the rail feature portion. The object detector module 842 or the color detector module 844 may communicate with the tracker module 846 to determine the location of rail feature portion 809. For example, the object detector module 842, the color detector module 844, and the tracker module 846 may work together to generate a rail map (for example, as shown in Figures 10A to 10D) that includes the location and identification of each rail feature portion (e.g., 809) in the captured image. Some or all of this information may be transmitted to an external device 802 (for example, via a CAN BUS module 850, a network interface 838, etc.).
[0078] In some configurations, the processor 832 may determine that the rail feature section 809 has exceeded a malfunction threshold and requires repair or replacement. In some such configurations, the computer 830 may initiate sending one or more control commands 803 to the controller 816. The control commands 803 may include instructions or commands that cause the controller 816 to initiate maintenance operations. For example, the control commands 803 may include information related to the placement of the rail feature section 809 and maintenance operations related to the rail feature section. Then, based on the control commands 803, the control device 816 connects the rail vehicle 814 and the work unit 809 coupled to the rail vehicle to the rail feature section 809, the work unit is activated and the rail mechanism is repaired.
[0079] Figures 9A to 9C show flowcharts of method 900 as performed by the railway line feature detection system (e.g., 110, 410, 510, 610, 810). Specifically, the flowcharts show one or more functions performed by the tracker modules of the detection system (e.g., 642, 846).
[0080] In the first step 912 of method 900, a module (e.g., tracker module 642) receives rail information, including a first image, color determination, object determination, or a combination thereof. In some configurations, the first image may be received from a camera module (e.g., 620), the color determination from a color detector module (e.g., 634), and the object determination from an object detection module (e.g., 632), or a combination thereof. If no rail information is received, the module may perform a recheck after a certain period of time or send a request for rail information.
[0081] In step 914, after receiving rail information, the module sets the deadband of the first image based on the size of the first image (e.g., width / height). Next, in step 916, the module compares the first image with the previous image and calculates the displacement of the object from the previous image to the first image based on the comparison result. In some configurations, the displacement of the object is calculated along a line given the center point of classification from one frame (such as an image) to the next frame.
[0082]
number
[0083] In step 918, the calculated object displacement may be used to determine whether a feature in the first image was present in the previous image. For example, the module may estimate the position of the first rail feature based on the calculated object displacement and the placement of the first rail feature in the previous image. The estimated position is then compared with the first image. If the first image contains rail features of the same type as the first rail feature, the rail feature is determined to be the first rail feature. Based on the first rail feature present at the estimated position, the module proceeds to step 920. In step 920, method 900 may include the step of setting the detected first rail feature and updating the rail feature information (e.g., position, probability / confidence score, hysteresis, etc.).
[0084] Alternatively, if it is determined that the first rail feature is not present in the first image (for example, if there is no rail feature at the estimated position), the module sets the first rail feature as a tracking element in step 922 and stores the position information read from the previous image. In some configurations, the module may store the first rail feature by updating the displacement using the object displacement compared with the stored position information, thereby updating the displacement to the newly imaged rail feature and k. In some configurations, after the first rail feature is stored in step 922, the module may set the hysteresis to zero. The method 900 may then be repeated for each new image received by the module.
[0085] Next, referring to Figure 9B, a flowchart of an example of a method for identifying rail features is shown as Method 930. Method 930 may be a continuation of Method 900 (for example, it may be performed after step 918 or separately from Method 900). As shown in the figure, in step 932, the system or module may detect one or more rail features described in the present application. In some configurations, the detected rail features may be identified as corresponding to the left or right side of the rail (e.g., 118, 818). For example, the module may determine whether the detected plate is a left plate or a right plate with respect to the rail. In addition to or separately from this, the module may determine which part of the plate corresponds to the inside or outside of the rail track. In other words, the right side of a plate for a right rail track corresponds to the outside portion, and the right side of a plate for a left rail track corresponds to the inside portion. Based on this information, the module may then determine the dimensions of the plate relative to the camera and the associated features. Using this information, the placement and feature identification previously provided to the tracker module may be updated (e.g., filter removal). Rules may apply to the modules, any inconsistencies between modules may be defined, necessary maintenance procedures may be determined, or other judgments such as those described herein may be established.
[0086] In some configurations, step 932 may include a step of determining a condition related to a rail feature, such as a malfunction condition. In an exemplary example, the module may detect rail anchors and determine whether the anchors need to be widened and / or narrowed. In some such configurations, a computer (e.g., 130, 330, 430, 530, 830) may control a controller (e.g., 134, 816) to perform an action based on the detected combination of feature parts. For example, the computer may identify a particular combination (e.g., a tie with an anchor, a tie without an anchor, a tie with an anchor but no spike, a tie with a paint dot and an anchor), and the computer may activate a work unit based on the identified feature parts in the image and / or the type of work unit to perform a particular function (e.g., pulling a spike, widening an anchor, spike a new plate, narrowing an anchor, etc.).
[0087] As shown in the figure, the module may update the speed of the railway vehicle in step 934 based on the calculated displacement. In some configurations, the updated speed is a passive measurement used to determine the displacement of the object in subsequent images. However, in other configurations, the tracker module (e.g., 642, 846) may send one or more commands to the railway vehicle controller (e.g., 134, 816) to adjust the speed of the railway vehicle. For example, if the tracker module determines that the system is maintaining a position accuracy above a predetermined threshold, the module may increase the speed of the railway vehicle. On the other hand, if the accuracy falls below a desired value (e.g., within 1 / 4 of an inch), the module may control the railway vehicle and reduce its speed to improve accuracy.
[0088] Next, method 930 (for example, via a module) may update any stored or output information based on the function performed in step 936. In some configurations, the stored information may be positional information of rail features (for example, the relative distance between all identified rail features). In addition to or separately from this, the module may be configured to update the identification of rail features based on validation of the features, such as validation of the features with subsequent images of the features.
[0089] Next, in step 938, the module may create annotations based on the updated information. For example, the module may generate bounded rectangular boxes that overlap the feature parts identified in the first image. Bounded boxes may be generated for each rail feature part and may be color-coded so that each type of feature part is easily recognizable. Next, in step 940, the detected, updated information, and annotated image may be output to one or more external devices (e.g., published).
[0090] Referring here to Figures 10A to 10D, four annotated images generated by rail route feature detection are shown. Each annotated image may have a portion of rail route 1018 containing multiple rail features. As shown in the figures, the detection system may include one or more annotations, such as a boundary 1020, a feature identifier 1022, a confidence score 1024, or a combination thereof. The boundary 1020 may correspond to an area of the image associated with each identified rail feature. The feature identifier 1022 may correspond to an alphabet, a number, or other value corresponding to a given rail feature. The confidence score 1024 may correspond to a numerical value or a percentage of the accuracy of the identified rail feature. For example, a higher confidence score may indicate that the identified rail feature tends to be identified more accurately. Rail feature detection is possible by using the rail route feature detection systems described above (e.g., 100, 410, 510, 610, 810). For example, in one configuration, anchors, tie rates, plate spikes, and plate holes were detected with accuracy of 92%, 90%, 83%, and 79% using a CNN model with a small training set. In another configuration, the same CNN model with a larger training set was able to detect anchors, tie rates, plate spikes, and plate holes with accuracy of 96%, 98%, 97%, and 94%, respectively. In yet another configuration, anchors, tie rates, plate spikes, and plate holes were detected with accuracy of 99.9%, 99.9%, 99%, and 98%, respectively, using a Gaussian path agglomerate network model and an even larger training set. Thus, the system may be trained or configured to detect rail features with accuracy exceeding 98%. Alternatively, it may be configured to detect rail features with lower accuracy using less computing power.
Claims
1. A railway vehicle, a frame coupled to a plurality of rail wheels configured to move along a rail track; a railroad feature detection system coupled to the frame; having The railway line feature detection system includes: a camera coupled to the frame and constructed and arranged to capture a plurality of images of the rail track as the rail vehicle moves along the rail track; A computer, having The computer includes: at least one memory containing instructions; and at least one processor configured to execute the instructions; having The instructions cause the at least one processor to: receiving the plurality of images, and for each of the images: assigning a location identifier; Detecting one or more rail features; identifying the one or more rail features from a data set of predetermined rail features as relevant rail features; assigning a feature identifier to each identified rail feature; Based on the location identifier and the feature identifier, a geographic location of the one or more railroad features is determined; A rail vehicle, wherein the one or more rail features are tracked.
2. The rail vehicle of claim 1 , wherein the instructions include a convolutional neural network.
3. the processor is configured to identify the one or more rail features in real time; For a first image of the plurality of images, the processor: classifying a first set of one or more objects in the first image as the one or more rail features; classifying a second set of the one or more objects in the first image as irrelevant features; The rail vehicle of claim 1 configured to filter out the extraneous features.
4. The processor, determining whether one of the rail features is missing or misaligned in a first rail plate; 10. The rail car of claim 1, configured to generate a warning signal based on one of the rail features being missing or misaligned in the first rail plate.
5. Further comprising a work unit coupled to the frame and configured to perform one or more railway maintenance or operation functions; 5. The rail vehicle of claim 4, wherein based on the warning signal, the processor is configured to control the operational unit to perform a maintenance function on the first rail plate.
6. moreover, Second camera, A third light source, and The fourth light source having the frame has a second bracket assembly; the third and fourth light sources are disposed on the second bracket assembly, and light emitted from the third and fourth light sources is directed to opposite sides of a second rail of the rail track; The rail vehicle of claim 1 , wherein the second camera is disposed between the third light source and the fourth light source and configured to capture an image of the second rail.
7. 1. A railway line feature detection system, comprising: an imaging device configured to be coupled to a frame of a rail vehicle, the imaging device being positioned to capture a plurality of images of the rail track as the rail vehicle moves along the rail track; A computer, having The computer includes: at least one memory containing instructions, at least a portion of the instructions being configured as a neural network; at least one processor configured to execute the instructions, the instructions causing the at least one processor to perform one or more operations in real time; having The one or more operations include: receiving said plurality of images, and for each image: assigning a location identifier; identifying one or more rail features corresponding to one of a plurality of predetermined rail features; determining a position of each of the one or more identified rail features.
8. The one or more operations may further include: assigning a first location identifier to a first image of the plurality of images; Identifying the one or more rail features in the first image; assigning a second location identifier to a second image of the plurality of images; Comparing the first location identifier and the second location identifier; determining a first displacement distance between the identified rail features in the first image; determining whether one or more rail features in the second image correspond to one of the one or more identified rail features in the first image based on the first displacement distance; based on the determination that a first subset of the one or more rail features in the second image corresponds to at least one of the one or more identified rail features in the first image, setting the first subset as detected rail features and re-identifying the first subset of the one or more rail features; 8. The system of claim 7, further comprising: setting the second subset of the one or more rail features in the second image as detected rail features and identifying the second subset of the one or more rail features in the first image based on the determination that the second subset of the one or more identified rail features in the first image does not correspond to at least one of the one or more identified rail features in the first image.
9. moreover, assigning a third location identifier to a third image of the plurality of images; comparing the third location identifier to the first and second location identifiers to determine a second displacement distance; determining whether the one or more rail features in the third image correspond to one of the rail features of the first and second subsets based on the second displacement distance; setting the first subset of rail features as tracked rail features based on the determination that the first subset of the one or more rail features is not included in the third image; re-identifying the third subset of the one or more rail features based on the determination that a third subset of the one or more rail features in the third image corresponds to at least one of the one or more identified rail features in the first or second image; 9. The system of claim 8, further comprising: identifying a fourth subset of the one or more rail features in the third image based on the determination that a fourth subset of the one or more rail features in the third image does not correspond to at least one of the one or more identified rail features in the first and second images.
10. 8. The system of claim 7, wherein identifying the one or more rail features includes identifying a rail plate, a hole defined by the rail plate, a colored marker disposed on a portion of the rail, an anchor, a work tie, and / or a joint bar.
11. The system of claim 7 , wherein the computer includes an object detector module, a color detector module, and a tracker module.
12. The object detector module includes: receiving the plurality of images; Detecting in real time one or more objects within a most recent image of the plurality of images; classifying a first set of the one or more objects as one of the one or more rail features; classifying a second set of the one or more objects as irrelevant features; The system of claim 11 , further comprising:
13. 13. The system of claim 12, wherein the object detector module is configured as a convolutional neural network.
14. The color detector module includes: Receive multiple images, determining hue / saturation / value (HSV) of a plurality of pixels in a current image of the plurality of images; Detecting in real time one or more color markers within said latest image; The system of claim 11 , configured to output the one or more color markers.
15. The tracker module includes: receiving the one or more rail features from the object detector module; receiving the one or more color markers from the color detector module; assigning a feature ID to each of the one or more rail features and the one or more color markers; The system of claim 14 , configured to track a position of each of the one or more rail features and the one or more color markers.
16. The tracker module includes: creating a map of the rail track including one or more rail features based on the positions of each of the one or more rail features and the one or more color markers; The system of claim 15 , configured to transmit the map to an external source.
17. The system of claim 15 , wherein the feature ID includes location information, a feature identifier corresponding to a given rail feature, and a reliability score.
18. For each image of the plurality of images, the tracker module: recording the feature IDs associated with the one or more rail features and the one or more color markers in the image; updating the output list to include said feature IDs of the most recent image; configured to annotate the image; The commentary states: a frame around each of the one or more rail features and the one or more color markers in the image; ID numbers associated with the feature IDs of the one or more rail features and the one or more color markers in the image; and a confidence score associated with the feature IDs of the one or more rail features and the one or more color markers in the image; The system of claim 15, comprising:
19. The system of claim 18 , wherein the tracker module is configured to transmit the annotated image to an external device.
20. 1. A method for tracking one or more rail features, comprising: receiving a first image from a camera module; detecting one or more first rail features in the first image; identifying the one or more first rail features; receiving a second image from the camera module; calculating a displacement distance relating to the first and second images; detecting one or more second rail features in the second image; identifying a first subset of the one or more second rail features that correspond to one of the one or more first rail features based on the displacement distance; re-identifying the first subset of the one or more second rail features; identifying a second subset of the one or more second rail features that do not correspond to one of the one or more first rail features; identifying a first subset of the one or more first rail features that are not included in the second image; setting the first subset of the one or more first rail features as tracked features and transmitting feature data of the tracked features to a display unit; The method comprising:
