Click or drag to resize
Accord.NET (logo)

AsyncVideoSourceNewFrame Event

New frame event.

Namespace:  Accord.Video
Assembly:  Accord.Video (in Accord.Video.dll) Version: 3.5.0
Syntax
public event NewFrameEventHandler NewFrame
Request Example View Source

Value

Type: Accord.VideoNewFrameEventHandler

Implements

IVideoSourceNewFrame
Remarks

Notifies clients about new available frame from video source.

Note Note
This event is fired from a different thread other than the video acquisition thread created by NestedVideoSource. This allows nested video frame to continue acquisition of the next video frame while clients perform processing of the current video frame.

Note Note
Since video source may have multiple clients, each client is responsible for making a copy (cloning) of the passed video frame, because the video source disposes its own original copy after notifying of clients.

See Also