Class LineCrossingProcessor
- java.lang.Object
-
- com.azure.media.videoanalyzer.edge.models.ProcessorNodeBase
-
- com.azure.media.videoanalyzer.edge.models.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 Summary
Constructors Constructor Description LineCrossingProcessor(String name, List<NodeInput> inputs, List<NamedLineBase> lines)
Creates an instance of LineCrossingProcessor class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<NamedLineBase>
getLines()
Get the lines property: An array of lines used to compute line crossing events.-
Methods inherited from class com.azure.media.videoanalyzer.edge.models.ProcessorNodeBase
getInputs, getName
-
-
-
-
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.
-
-