getTotalDistance

format

double getTotalDistance()

description

Determines the visual similarity between the current and previous frame. The value defined for the frameGrabberStep parameter in the eve.properties file determines which frames in a video file are checked by this method.

 

If the visual similarity between frames is greater than the value defined for the frameGrabberMinimumDistance parameter in the eve.properties file, then the current frame is considered a keyframe.

parameters

none

returns

a double-precision floating-point value (0-100) representing the visual similarity between the current frame and the previous frame

throws

The double getTotalDistance() method does not throw any exceptions.