mean_from_file - Mean across frames from disk

gpu_tracking.mean_from_file(path, channel=None)

Takes the average across frames of the provided video returns a numpy array with the result.

Parameters:
  • path – The file path to the video to mean

  • channel – In the case of .vsi / .ets files, the channel to mean.

Returns:

The numpy array containing the average of all frames in the video.

Return type:

video