Click or drag to resize
Accord.NET (logo)

VideoSourcePlayerNewFrame Event

New frame event.

Namespace:  Accord.Controls
Assembly:  Accord.Controls.Imaging (in Accord.Controls.Imaging.dll) Version: 3.8.0
Syntax
public event VideoSourcePlayerNewFrameHandler NewFrame
Request Example View Source

Value

Type: Accord.ControlsVideoSourcePlayerNewFrameHandler
Remarks

The event is fired on each new frame received from video source. The event is fired right after receiving and before displaying, what gives user a chance to perform some image processing on the new frame and/or update it.

Note Note
Users should not keep references of the passed to the event handler image. If user needs to keep the image, it should be cloned, since the original image will be disposed by the control when it is required.

See Also