This event is fired each time a frame has been acquired, decoded and processed. Unlike FrameAcquired event it is fired from a processing thread providing a higher efficiency. May not work in certain containers.
Private Sub objActiveGeni_FrameAcquiredX() [C/C++]
This VB.NET example uses the FrameAcquiredX event to access and display a pixel value in real time:
PrivateSub AxActiveGeni1_FrameAcquired(ByVal sender As System.Object, ByVal e As AxActiveGeniLib._IActiveGeniEvents_FrameAcquiredEvent)
Label1.Text = AxActiveGeni1.GetPixel(16, 32)
This event is provided for applications that can process events fired from a processing thread (VB.NET, C#, C++). For applications created in VB6, VBA, Delphi and Matlab use FrameAcquired event instead.
One of the following conditions must be met, before the FrameAcquiredX event will be fired: