<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Development of an automated system for recognizing the parameters of a railway carriage (railway tanks)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Andrei Zabrodin</string-name>
          <email>zabrodin@pgups.ru</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Svetlana Frolova</string-name>
          <email>frolova.svetlana19@yandex.ru</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alexander P. Glukhov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Emperor Alexander I St. Petersburg State Transport University</institution>
          ,
          <addr-line>Saint Petersburg, 9 Moskovsky pr., 190031</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>in Transport</institution>
          ,
          <addr-line>Dec. 11-12, St. Petersburg</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <fpage>178</fpage>
      <lpage>183</lpage>
      <abstract>
        <p>The solution to the problem of automated recognition of the parameters of rolling stock units in real time is considered. A method for solving the problem of recognizing the main identification marks of a railway carriage in real time is selected. A specific example of the implementation of the method proposed in the article is given. The results of the developed program are presented. The application of the developed system will allow to completely solve the problem of automated recognition of the parameters of rolling stock units, and save money by avoiding downtime, delays in return of wagons and conducting reasoned work with contractors. identification of standard signs of freight railway wagons, effective recognition methods, neural networks Models and Methods for Researching Information System</p>
      </abstract>
      <kwd-group>
        <kwd>The search and identification of numbers of</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Today, an important aspect of the efficiency
of using railway transport and monitoring its
condition is the identification of rolling stock
(RS) cars by their inventory number. This is due
to the fact that a unique inventory number
assigned to a railway car can determine its main
characteristics and provides code protection for
reliable reading of the railway car number [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
Car number recognition systems find various
applications,
production
for
example,
in
commodity
and
      </p>
      <p>metrology services, security
services, logistics departments and railway shops.</p>
      <p>The main problem of optimizing production
processes at the station is that the process of
monitoring the movement of objects of the rolling
stock
of railway
transport, including
their
identification, is not automated at the processing
station.</p>
      <p>Today, hundreds
of employees are
involved in the control of rolling stock, who
ensure
the
appropriate
production
and
technological processes. Considering the fact that
the survey of the cars is carried out manually, the
final operations with the car take a lot of time and
this process is economically expensive.</p>
      <p>2020 Copyright for this paper by its authors. Use permitted under Creative
the
software package is to recognize not only the car
number, but also such parameters of railway
rolling stock units as: boiler calibration sign,
administration code, etc. The article presents a
solution to the problem of automated recognition
of the main identification marks of railway RS
units in real time based on the use of neural
networks.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Formulation of the problem</title>
      <p>An automated system for recognizing the
parameters of rolling stock units must create 3
images in three projections of each passing car
(on both sides and on top of the car); and 2 photos
of the beginning and end of the car.</p>
      <p>
        The problem statement can be presents as
follows: an automated system for recognizing the
parameters of rolling stock units, consisting of the
next components: a frame with cameras, a server
with a recognition program, and an automated
workstation (AWS) of the user. The work is
carried out as follows: when the train passes
through the installation with cameras, each car is
photographed from several angles, then all
images are transmitted in real time to the server,
where the images are stored and processed
(search and identification of identification marks
applied to the railway carriage). After the train
passes through the installation with cameras and
the processing of all received images is
completed, the information about the train is
transmitted to the user AWS. A general view of
the system operation process is shown in Figure
1. The model “Automated system for recognition
of rolling stock units” is built on the basis of the
objects of the use case diagram.
machine translation, chat bots and task bots
programs that can replace, for example, ticket
sellers [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>
        In addition, neural networks are used in the
analysis of scientific data, games, in finance to
assess customers and risks of various types, and
in many other areas. As a result, neural networks
work well with the data, in which there is a
correlation of the measurements (images, sound,
text, time series) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>In view of the above, as a method for solving
the problem, a solution using neural networks
was chosen.</p>
      <p>In the process of modeling and building a
neural network, it is important to consider the
quality of the source data. Stencils applied to the
railway carriage, have a very large variety of
colors, fonts, size and location. This is due to the
fact that the place where the stencil is applied is
not fixed and depends on the model of the tank,
and the boilers of the tanks are always painted in
a different color. While tanks boilers intended for
the second class of goods, colored in light gray
(silver) colors, coppers tanks for transportation of
methanol - highly toxic flammable liquid of the
third class are colored yellow. In addition, you
can find railway carriage painted in blue, green,
orange and other colors.</p>
      <p>In addition, when recognizing the
identification marks applied to the railway
carriage, the classical analytical algorithms
detector finds in the frame any character sets
similar to numbers and tries to recognize them.</p>
      <p>To improve the accuracy of recognition of
identification marks of freight cars, it is necessary
to solve such a subproblem as localization of
objects.</p>
    </sec>
    <sec id="sec-3">
      <title>4. Designing and building a neural network model</title>
      <p>The current project is based on the
MaskRCNN-based Nomeroff Net project. Nomeroff
Net is system for recognizing the licence plate
number of a car, written in Python and open
source. The entire project recognition of the
parameters of rolling stock units consists of three
blocks: two main and one additional.</p>
      <p>The main blocks are neural network
detectors. The first detector is designed to
localize objects (search for their areas in the
image), the second for their identification
(recognition of numbers). The third, auxiliary
unit performs the function of monitoring the
correctness of the railway car number
recognition.</p>
      <p>A variety of labels on railway tanks prevents
determine the necessary parameters correctly. In
such cases it is necessary to apply the detector is
designed to localize objects. The objects localizer
successfully works where objects of the required
type "overlap" each other in the frame or there is
a large amount of visual interference. Finding
areas correctly will allow you to exclude other
labels. After training, the detector will filter out
unnecessary "noise" and due to this, the accuracy
of parameter recognition will significantly
increase.</p>
      <p>
        To solve the subtask described above, a
neural network localizer was designed on the
Mask-RCNN architecture. This architecture has
several advantages: recognizes objects in the
entire image, efficiently consumes computing
resources [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], has a high counting rate, allows to
recognize objects in the video, easy to learn.
      </p>
      <p>To build a localization model for the railway
car number, in the project added to the class
AreaSearchNetwork. In the __init__ block,
constants and a detector with a default
configuration file are initialized, directories are
being configured. The "work" method was
written to work with the localizer: the input is an
image; the output is an array of images, each of
which is the parameter of a railway carriage
(number, administration code, boiler calibration
sign, etc.).</p>
      <p>After localization, each parameter is
identified using a simple neural network detector,
which is trained to search and recognize numbers.
It works like this: the input comes from the image
area, which has a parameter; at the output - the
number of the recognized parameter.</p>
      <p>After the railway train passes through the
installation with cameras and the processing of all
the images obtained, information about the train
is transferred to the user AWS. The subsystem
"Program for recognizing the parameters of
rolling stock units" is shown in Figure 2. Class
diagram objects and use case diagram objects are
used for display.</p>
    </sec>
    <sec id="sec-4">
      <title>5. Neural testing</title>
      <p>An important property of neural networks is
their ability to learn from environmental data and,
as a result of training, increase their performance.
Productivity increases over time according to
certain rules.</p>
      <p>A short neural network training algorithm is as
follows:
1. Data preparation - includes splitting all
images that will be used for training into test,
validation and training sets
matches the real number of the car.</p>
    </sec>
    <sec id="sec-5">
      <title>6. Description of an example of the recognition program</title>
      <p>The initial image of the car arrives at the
entrance to the program for recognizing the
identification parameters of rolling stock units
(fig. 5, a). After the work of the localizer, the
areas in which the parameters of a railway
carriage are located are highlighted (fig. 5, b).
Further there is identification of parameters and
forming a data block with information about the
freight railway wagon (fig. 5, c). The correctness
of the recognized railway car number is checked
by the checksum. After similar processing of all
received images, the collected information about
the rolling stock is transferred to the user AWS.</p>
    </sec>
    <sec id="sec-6">
      <title>7. Conclusion</title>
      <p>The article discusses an automated system for
recognizing the parameters of a railway carriage
(railway tanks). The proposed solution is
universal and does not depend on the recognized
objects. It has a rational structure that ensures
efficient use of computing power.</p>
      <p>As part of solving the problem, the possibility
of using neural networks for solving problems of
finding and recognizing given objects
(signatures) with the required accuracy is shown.
Application of this solution allows automating
the process of monitoring rolling stock at the
processing station, which reduces the time of
final operations with the freight railway wagons;
creates conditions for optimizing the time spent
on processing the wagons, as well as the
emergence of material savings due to the
optimization of production processes at the
station.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Abhishek</given-names>
            <surname>Dutta</surname>
          </string-name>
          and
          <article-title>Andrew Zisserman, The VIA Annotation Software for Images, Audio and Video</article-title>
          .
          <source>In Proceedings of the 27th ACM International Conference on Multimedia (MM '19)</source>
          ,
          <source>October 21-25</source>
          ,
          <year>2019</year>
          , Nice, France. ACM, New York, NY, USA,
          <year>2019</year>
          . doi:
          <volume>10</volume>
          .1145/3343031.3350535
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Charu</surname>
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Aggarwal</surname>
          </string-name>
          ,
          <source>Neural Networks and Deep Learning</source>
          , IBM T. J. Watson Research Center, International Business Machines, Yorktown Heights,
          <string-name>
            <surname>NY</surname>
          </string-name>
          , USA,
          <year>2018</year>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>319</fpage>
          -94463-0
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Gafarov</surname>
            <given-names>F. M.</given-names>
          </string-name>
          ,
          <article-title>Artificial neural networks and applications</article-title>
          , Kazan,
          <year>2018</year>
          , 121 p.
          <article-title>(in Russian)</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Kaiming</given-names>
            <surname>He</surname>
          </string-name>
          , Georgia Gkioxari, Piotr Dollar, Ross Girshick,
          <string-name>
            <surname>Mask</surname>
            <given-names>R-CNN</given-names>
          </string-name>
          ,
          <year>2017</year>
          -
          <fpage>2018</fpage>
          . arxiv:
          <volume>1409</volume>
          .
          <fpage>4842</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <article-title>[5] Neural networks: a new breakthrough</article-title>
          .
          <source>Expert opinions, Security systems</source>
          ,
          <year>2019</year>
          , no.
          <issue>1</issue>
          , pp.
          <fpage>54</fpage>
          -
          <lpage>56</lpage>
          (in Russian).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <article-title>[6] Reference book: Eight-digit numbering system for 1520 gauge freight cars</article-title>
          ,
          <source>Information and Computing Center of Railway Administrations</source>
          ,
          <year>2005</year>
          . 31 p.
          <article-title>(in Russian)</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Yastrebov</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <article-title>Neural networks took a break</article-title>
          ,
          <source>IT News</source>
          ,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>