TRVCamera.OnNewImage

<< Click to display table of contents >>

TRVCamera.OnNewImage

The event allows providing custom video frames.

property OnNewImage: TRVImageEvent;

This event occurs if DeviceType = rvdtUserData.

In this event, programmers can provide their own video frames. They must be assigned to img parameter.

Example:

img.Assign(MyFrame);

In this example, MyFrame is a variable of a graphic class (for example, TBitmap, or TJPEGImage) containing the current video frame.