Real-time feature extraction from video stream data for stream ...

ai.cs.uni.dortmund.de

Real-time feature extraction from video stream data for stream ...

3.5. Tools and Frameworks








Figure 3.10.: Example for a configuration XML-file.

The input stream has an unique identifier (id). Each data item of the input stream

stream gets processed by a series of processors, where the result of one processor forms

the input of the next processor (pipes-and-filters concept).

The whole experiment can be run by calling the stream.run.main() function included

in the streams project. This function expects a configuration file as a parameter.

Afterwards the processors are started, and the init() function of each processor is

executed. Then the first data item is read and passed to the first processor. The source

code to start an experiment from the command line is shown in Figure 3.11.

>> java -cp $classpath stream.run experiment.xml

Figure 3.11.: Command to run an experiment defined by the corresponding configuration

file experiment.xml.

45

More magazines by this user
Similar magazines