Skip to content

NewFrame Error  #65

@zhishiheng

Description

@zhishiheng

` List bitmaps = new List();
private void VideoDevice_NewFrame(object sender, AForge.Video.NewFrameEventArgs eventArgs)
{
try
{
var tem = (Bitmap)eventArgs.Frame.Clone();
bitmaps.Add(tem);
}
catch (Exception)
{

        }
      
    }`

After about 15 seconds of execution, the camera got stuck。can not get the new frame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions