Class LineCrossingProcessor


  • public final class LineCrossingProcessor
    extends ProcessorNodeBase
    Line crossing processor allows for the detection of tracked objects moving across one or more predefined lines. It must be downstream of an object tracker of downstream on an AI extension node that generates sequenceId for objects which are tracked across different frames of the video. Inference events are generated every time objects crosses from one side of the line to another.
    • Constructor Detail

      • LineCrossingProcessor

        public LineCrossingProcessor​(String name,
                                     List<NodeInput> inputs,
                                     List<NamedLineBase> lines)
        Creates an instance of LineCrossingProcessor class.
        Parameters:
        name - the name value to set.
        inputs - the inputs value to set.
        lines - the lines value to set.
    • Method Detail

      • getLines

        public List<NamedLineBase> getLines()
        Get the lines property: An array of lines used to compute line crossing events.
        Returns:
        the lines value.