public class VideoSceneAnnotationTool extends Object
VideoSceneAnnotationTool.SceneAnnotation
objects which
each have a set of annotations that describe the content of the scene.Modifier and Type | Class and Description |
---|---|
protected static class |
VideoSceneAnnotationTool.AnnotatedVideoScene
A
VideoSceneAnnotationTool.VideoScene that has a list of annotations associated with it. |
static class |
VideoSceneAnnotationTool.SceneAnnotation
Stores a scene and its annotations.
|
protected static class |
VideoSceneAnnotationTool.VideoScene
Represents a set of contiguous frames in a video that represent a single
scene.
|
static class |
VideoSceneAnnotationTool.VideoSceneAnnotationToolOptions
Options for the tool
|
Constructor and Description |
---|
VideoSceneAnnotationTool()
Constructor that does no processing but sets up the class ready for
processing.
|
VideoSceneAnnotationTool(Video<MBFImage> video)
Constructor that takes the video to process and begins processing
immediately.
|
Modifier and Type | Method and Description |
---|---|
void |
addVideoAnnotator(VideoAnnotator<MBFImage,String> annotator)
Add a video annotator into the chain.
|
static void |
main(String[] args) |
List<VideoSceneAnnotationTool.AnnotatedVideoScene> |
processVideo(Video<MBFImage> video)
Processes a video from start to finish.
|
void |
setShortestSceneLength(double ms)
Set the shortest length of scene that will be stored.
|
public VideoSceneAnnotationTool()
public VideoSceneAnnotationTool(Video<MBFImage> video)
video
- The video to process.public void addVideoAnnotator(VideoAnnotator<MBFImage,String> annotator)
annotator
- The annotator to addpublic List<VideoSceneAnnotationTool.AnnotatedVideoScene> processVideo(Video<MBFImage> video)
video
- The video to processpublic void setShortestSceneLength(double ms)
ms
- The number of milliseconds