Go to documentation repository
...
Example. Save the frame receiving from Camera 1 in the test.jpg file on the D disk:
| Code Block |
|---|
if (Event.SourceType == "CAM" && Event.SourceId == "1" && Event.Action == "FRAME_SENT")
{
SaveToFile("D:\\test.jpg",Event.GetParam("data"),true);
} |