Class CarCounter
Car counter.
Implements
Inherited Members
Namespace: VisioForge.Core.CV
Assembly: VisioForge.Core.CV.dll
Syntax
public class CarCounter : IDisposable
Constructors
CarCounter()
Initializes a new instance of the CarCounter class.
Declaration
public CarCounter()
Properties
ContoursColor
Gets or sets the contours color.
Declaration
public Color ContoursColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
ContoursDraw
Gets or sets a value indicating whether contours draw enabled.
Declaration
public bool ContoursDraw { get; set; }
Property Value
Type | Description |
---|---|
bool |
CounterColor
Gets or sets the counter color.
Declaration
public Color CounterColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
CounterDraw
Gets or sets a value indicating whether counter draw enabled.
Declaration
public bool CounterDraw { get; set; }
Property Value
Type | Description |
---|---|
bool |
Initialized
Gets a value indicating whether initialized.
Declaration
public bool Initialized { get; }
Property Value
Type | Description |
---|---|
bool |
TrackingLineActiveColor
Gets or sets the tracking line active color.
Declaration
public Color TrackingLineActiveColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
TrackingLineDefaultColor
Gets or sets the tracking line default color.
Declaration
public Color TrackingLineDefaultColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
TrackingLineDraw
Gets or sets a value indicating whether tracking line draw enabled.
Declaration
public bool TrackingLineDraw { get; set; }
Property Value
Type | Description |
---|---|
bool |
TrackingLinePosition
Gets or sets the tracking line position (0.0 - 1.0). This value is horizontal line Y coordinate, 1.0 is full frame height.
Declaration
public double TrackingLinePosition { get; set; }
Property Value
Type | Description |
---|---|
double |
Methods
Clear()
Clears.
Declaration
public void Clear()
Dispose()
Dispose.
Declaration
public void Dispose()
Dispose(bool)
Dispose.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | Disposing parameter. |
~CarCounter()
Finalizes an instance of the CarCounter class.
Declaration
protected ~CarCounter()
Init()
Init.
Declaration
public void Init()
Process(RAWImage)
Process.
Declaration
public void Process(RAWImage frame)
Parameters
Type | Name | Description |
---|---|---|
RAWImage | frame | The frame. |
UpdateSettings()
Updates settings.
Declaration
public void UpdateSettings()
Events
OnCarsDetected
Car detected event.
Declaration
public event EventHandler<CVCarDetectedEventArgs> OnCarsDetected
Event Type
Type | Description |
---|---|
EventHandler<CVCarDetectedEventArgs> |