poIImagePlane GetLastFrameTracked
Gets the index of the last frame for which video tracking has been given.
Syntax
Imageplane_handle GetLastFrameTracked
Application
HyperView Tcl Query
Description
The CalcVidTracking command gets data for each frame, however sometimes the tracking point is lost and no additional data is given after that point. This command returns the index of the last frame with data. Starting from the beginning, it gives the number of frames that have tracking data. After this many frames, the video will not be tracked.
Example
To find out how many frames have video tracking
data:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetImagePlaneCtrlHandle ipc_handle
ipc_handle GetImagePlaneHandle image_plane_handle 1
image_plane_handle GetLastFrameTracked
hwi CloseStack
Errors
Returns HW_InvalidHandle if the image plane handle is invalid.