Determination of train presence and motion state in railway environments
First Claim
1. A computer-implemented method for applying computer vision techniques to automatically detect and classify the presence or absence of a train within a railway track area, the method comprising executing on a processor the steps of:
- classifying a segment of input video image data comprising a group of consecutive video frames that each comprise “
train absent”
label and “
static”
labels as a “
no train present”
segment, wherein the input video image data is acquired from a region of interest defined around a train track area within an image scene of a stream of the video image data that comprises a portion of a railway track area;
classifying a segment of the input video data comprising a group of consecutive video frames that each comprise the “
train present”
label and a “
motion present”
label as a “
train present and in transition”
segment;
classifying a segment of the input video data comprising a group of consecutive video frames that each comprise the “
train present”
label and the “
static”
label as a “
train present and stopped”
segment;
determining a presence or a motion state of a train within the region of interest of the video scene at a time of inquiry as the “
no train present”
, the “
train present and in transition”
or the “
train present and stopped”
classification of the segment comprising the video frame of the time of inquiry;
determining a distribution of the “
train present” and
“
train absent”
labels of the plurality of the video segments within an auto-correction time period;
in response to the determined distribution of the “
train present” and
“
train absent”
labels not meeting an expected distribution for the auto-correction time period, exchanging the “
train present” and
the “
train absent”
labels that are determined for each of the video frames; and
repeating, as a function of the exchanged “
train present” and
“
train absent”
labels, the steps of classifying the segments of the input video data of consecutive video frames that each comprise the “
train absent”
label and the “
static”
label as the “
no train present”
segment groups, classifying the segments of the input video data of consecutive video frames that each comprise the “
train present”
label and the “
motion present”
label as the “
train present and in transition”
segments, and classifying the segments of the input video data of consecutive video frames that each comprise the “
train present”
label and the “
static”
label as the “
train present and stopped”
segment groups.
2 Assignments
0 Petitions
Accused Products
Abstract
Foreground feature data and motion feature data is determined for frames of video data acquired from a train track area region of interest. The frames are labeled as “train present” if the determined foreground feature data value meets a threshold value, else as “train absent; and as “motion present” if the motion feature data meets a motion threshold, else as “static.” The labels are used to classify segments of the video data comprising groups of consecutive video frames, namely as within a “no train present” segment for groups with “train absent” and “static” labels; within a “train present and in transition” segment for groups “train present” and “motion present” labels; and within a “train present and stopped” segment for groups with “train present” and “static” labels. The presence or motion state of a train at a time of inquiry is thereby determined from the respective segment classification.
-
Citations
20 Claims
-
1. A computer-implemented method for applying computer vision techniques to automatically detect and classify the presence or absence of a train within a railway track area, the method comprising executing on a processor the steps of:
-
classifying a segment of input video image data comprising a group of consecutive video frames that each comprise “
train absent”
label and “
static”
labels as a “
no train present”
segment, wherein the input video image data is acquired from a region of interest defined around a train track area within an image scene of a stream of the video image data that comprises a portion of a railway track area;classifying a segment of the input video data comprising a group of consecutive video frames that each comprise the “
train present”
label and a “
motion present”
label as a “
train present and in transition”
segment;classifying a segment of the input video data comprising a group of consecutive video frames that each comprise the “
train present”
label and the “
static”
label as a “
train present and stopped”
segment;determining a presence or a motion state of a train within the region of interest of the video scene at a time of inquiry as the “
no train present”
, the “
train present and in transition”
or the “
train present and stopped”
classification of the segment comprising the video frame of the time of inquiry;determining a distribution of the “
train present” and
“
train absent”
labels of the plurality of the video segments within an auto-correction time period;in response to the determined distribution of the “
train present” and
“
train absent”
labels not meeting an expected distribution for the auto-correction time period, exchanging the “
train present” and
the “
train absent”
labels that are determined for each of the video frames; andrepeating, as a function of the exchanged “
train present” and
“
train absent”
labels, the steps of classifying the segments of the input video data of consecutive video frames that each comprise the “
train absent”
label and the “
static”
label as the “
no train present”
segment groups, classifying the segments of the input video data of consecutive video frames that each comprise the “
train present”
label and the “
motion present”
label as the “
train present and in transition”
segments, and classifying the segments of the input video data of consecutive video frames that each comprise the “
train present”
label and the “
static”
label as the “
train present and stopped”
segment groups. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An article of manufacture, comprising:
-
a computer readable hardware storage device having computer readable program code embodied therewith, the computer readable program code comprising instructions for execution by a computer processing unit that cause the computer processing unit to; classify a segment of input video image data comprising a group of consecutive video frames that each comprise “
train absent”
label and “
static”
labels as a “
no train present”
segment, wherein the input video image data is acquired from a region of interest defined around a train track area within an image scene of a stream of the video image data that comprises a portion of a railway track area;classify a segment of the input video data comprising a group of consecutive video frames that each comprise the “
train present”
label and a “
motion present”
label as a “
train present and in transition”
segment;classify a segment of the input video data comprising a group of consecutive video frames that each comprise the “
train present”
label and the “
static”
label as a “
train present and stopped”
segment;determine a presence or a motion state of a train within the region of interest of the video scene at a time of inquiry as the “
no train present”
, the “
train present and in transition”
or the “
train present and stopped”
classification of the segment comprising the video frame of the time of inquiry;determine a distribution of the “
train present” and
“
train absent”
labels of the plurality of the video segments within an auto-correction time period;exchange the “
train present” and
the “
train absent”
labels that are determined for each of the video frames, in response to the determined distribution of the “
train present” and
“
train absent”
labels not meeting an expected distribution for the auto-correction time period; andrepeat, as a function of the exchanged “
train present” and
“
train absent”
labels, the classification of the segments of the input video data of consecutive video frames that each comprise the “
train absent”
label and the “
static”
label as the “
no train present”
segment groups, the classification of the segments of the input video data of consecutive video frames that each comprise the “
train present”
label and the “
motion present”
label as the “
train present and in transition”
segments, and the classification of the segments of the input video data of consecutive video frames that each comprise the “
train present”
label and the “
static”
label as the “
train present and stopped”
segment groups. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A system, comprising:
-
a processing unit; a computer readable memory in communication with the processing unit; and a computer-readable storage medium in communication with the processing unit; wherein the processing unit executes program instructions stored on the computer-readable storage medium via the computer readable memory and thereby; classifies a segment of input video image data comprising a group of consecutive video frames that each comprise “
train absent”
label and “
static”
labels as a “
no train present”
segment, wherein the input video image data is acquired from a region of interest defined around a train track area within an image scene of a stream of the video image data that comprises a portion of a railway track area;classifies a segment of the input video data comprising a group of consecutive video frames that each comprise the “
train present”
label and a “
motion present”
label as a “
train present and in transition”
segment;classifies a segment of the input video data comprising a group of consecutive video frames that each comprise the “
train present”
label and the “
static”
label as a “
train present and stopped”
segment;determines a presence or a motion state of a train within the region of interest of the video scene at a time of inquiry as the “
no train present”
, the “
train present and in transition”
or the “
train present and stopped”
classification of the segment comprising the video frame of the time of inquiry;determines a distribution of the “
train present” and
“
train absent”
labels of the plurality of the video segments within an auto-correction time period;exchanges the “
train present” and
the “
train absent”
labels that are determined for each of the video frames, in response to the determined distribution of the “
train present” and
“
train absent”
labels not meeting an expected distribution for the auto-correction time period; andrepeats, as a function of the exchanged “
train present” and
“
train absent”
labels, the classification of the segments of the input video data of consecutive video frames that each comprise the “
train absent”
label and the “
static”
label as the “
no train present”
segment groups, the classification of the segments of the input video data of consecutive video frames that each comprise the “
train present”
label and the “
motion present”
label as the “
train present and in transition”
segments, and the classification of the segments of the input video data of consecutive video frames that each comprise the “
train present”
label and the “
static”
label as the “
train present and stopped”
segment groups. - View Dependent Claims (17, 18, 19, 20)
-
Specification