Class VideoAnalyzer

java.lang.Object
org.episteme.core.media.video.VideoAnalyzer

public final class VideoAnalyzer extends Object
Utility for video analysis tasks (motion detection, frame sampling, etc).
  • Method Details

    • detectMotion

      public static SceneTransitionDetector.Transition detectMotion(float[][] prev, float[][] curr, float threshold)
    • detectMotionReference

      public static VideoAnalyzer.MotionResult detectMotionReference(float[][] prev, float[][] curr, float threshold)
      Reference implementation of motion detection.
    • getSampleIndices

      public static List<Integer> getSampleIndices(int totalFrames, int samples)