OcrControl.FrameCaptured Event

 

Deprecated. The FrameCaptured Event is raised by the CaptureFrame() Method when The Bing Optical Character Recognition (OCR) Control captures an image frame, just after stopping the video preview. The captured image is stored in the FrameCapturedEventArgs object associated with this event.

Published date: March 4, 2014

System_CAPS_warningWarning

The Bing OCR Control is deprecated as of March 12, 2014

public event EventHandler<FrameCapturedEventArgs> FrameCaptured
<Ocr:OcrControl FrameCaptured="MyEventHandler(FrameCapturedEventArgs e);" ...>

You can use the FrameCaptured event to trigger code to execute after a frame is captured. However, because all of the OcrControl methods are asynchronous, you cannot be sure your code will finish before a frame is sent to the OCR Service and returned.

Requirements

Minimum Supported Client

Windows 8.1

Required Extensions

Bing OCR

Namespace

Bing.Ocr

Show: