Segments artifical text appearances in videos (typical frame dimensions 360x270 and 352x240).
-videoDir | path to movie | required |
-videoName | name of video file | required |
-mdir | root directory for all intermediate and final results default: <videoDir>/measurements/ |
optional |
-from | number of the first frame default: number of the first frame of the video |
optional |
-to | number of the last frame default: number of last frame of the video |
optional |
-seggerade | color segmentation: color difference threshold for region growing to the left, right, top and bottom default: 2000 |
optional |
-segdiag | color segmentation: color difference threshold for region growing in corner direction default: 1600 |
optional |
-merge | color segmentation: color distance threshold for region merging default: 1800 |
optional |
-mergeGraOri | on/off switch for color segmentation 0 = don't merge regions by gradient and orientation information 1 = merge regions by gradient and orientation information default: 1 |
optional |
-klassSize | on/off switch 0 = perform no geometry analysis 1 = perform geometry analysis default: 1 |
optional |
-klassKon | on/off switch 0 = perform no contrast analysis 1 = perform contrast analysis default: 1 |
optional |
-klassTextur | on/off switch 0 = perform no texture analysis 1 = perform texture analysis default: 1 |
optional |
-track | on/off switch 0 = perform no motion analysis 1 = perform motion analysis default: 1 |
optional |
segment -videoDir /opt/Movies/ForrestGump/ -videoName ForrestGump.mpg -from 1000 -to 1500
As a result four directories will be created containing lots of MoCA images:
They contain images of the following type:
Before the images can be viewed they must be transformed and saved as JPEG images. Use mocashow to convert the MoCA image to JPEG images:
NOTE: Besides segment also track and gzip/gunzip must be installed on your system. They are called by segment.