Class CameraCoveredDetector
Camera covered detector.
Implements
Inherited Members
Namespace: VisioForge.Core.CV
Assembly: VisioForge.Core.CV.dll
Syntax
public class CameraCoveredDetector : IDisposable
Constructors
CameraCoveredDetector()
Initializes a new instance of the CameraCoveredDetector class.
Declaration
public CameraCoveredDetector()
Properties
FramesToSkip
Gets or sets the frames to skip.
Declaration
public int FramesToSkip { get; set; }
Property Value
Type | Description |
---|---|
int | The frames to skip. |
Threshold
Gets or sets the threshold level. Suggested range is 1000-5000. This level seriously depends on the camera quality and the scene.
Declaration
public int Threshold { get; set; }
Property Value
Type | Description |
---|---|
int | The threshold. |
VideoScale
Gets or sets the video scale.
Declaration
public double VideoScale { get; set; }
Property Value
Type | Description |
---|---|
double | The video scale. |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
|
~CameraCoveredDetector()
Finalizes an instance of the CameraCoveredDetector class.
Declaration
protected ~CameraCoveredDetector()
Process(RAWImage)
Processes the specified frame.
Declaration
public void Process(RAWImage frame)
Parameters
Type | Name | Description |
---|---|---|
RAWImage | frame | The frame. |
Events
OnCameraCovered
Occurs when camera is covered.
Declaration
public event EventHandler<CameraCoveredDetectorEventArgs> OnCameraCovered
Event Type
Type | Description |
---|---|
EventHandler<CameraCoveredDetectorEventArgs> |