<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "vace_module_v1_2.dtd">

<!-- Example: Object Detection and Tracking -->
<!--
For the semantics of each attribute values, please refer to the
documentation in Module Template, 'vace_module_v1_2.xml'.
-->

<module>

<module_description
	name="object_tracking"
	version="3.0"
	producer="Carnegie Mellon University"
	locator=""
	functionality="object detection and tracking"
	other_tags="e.g., thumbnail icon for types of processing, etc."
/>

<module_input>
<!--
Description:
The input to this object tracking module is a 10-minute long video.
-->
<!--
Notes:
1. 'media_name' uses the filename of the video
2. Range specification can be in either or both of time and frame;
   in this example, only frame is being used.
-->
	<input
		media_type="video"
		media_format="mpeg1"
		media_name="sample1.mpg"
		media_locator="\\VideoServer\vace\video\sample1.mpg"
		input_id="1"
		time_range="0:600000"
		frame_range="0:20020"
		frame_rate="29.97"
	>
	</input>
</module_input>

<module_output>
<!--
Description:
Two vehicles (objects with 'object_id=1' and 'object_id=2') are tracked.
-->
<!--
Note:
Moving_direction is derived from the motion of centroid,
the value is an angle in degree.
-->
	<object
		object_type="vehicle"
		object_id="1"
		indexed_text="moving white vehicle"
		label_text="moving white vehicle"
		time_range="0:24000"
		keyframe_time="0"
		bounding_box="30 40 80 90"
		centroid="55 65"
		moving_direction="315"
	>
		<motion_tracking
			motion_order="1"
			time_range="0:1000"
			bounding_box="30 40 80 90"
			centroid="55 65"
		/>
		<motion_tracking
			motion_order="2"
			time_range="1000:22000"
			bounding_box="40 50 90 100"
			centroid="65 75"
		/>
		<motion_tracking
			motion_order="3"
			time_range="22000:23000"
			bounding_box="50 60 100 110"
			centroid="75 85"
		/>
		<motion_tracking
			motion_order="4"
			time_range="23000:24000"
			bounding_box="60 70 110 120"
			centroid="85 95"
		/>
	</object>
	<object
		object_type="vehicle"
		object_id="2"
		indexed_text="moving red vehicle"
		label_text="moving red vehicle"
		time_range="12000:36000"
		keyframe_time="12000"
		bounding_box="230 40 280 90"
		centroid="255 65"
		moving_direction="225"
	>
		<motion_tracking
			motion_order="1"
			time_range="12000"
			bounding_box="230 40 280 90"
			centroid="255 65"
		/>
		<motion_tracking
			motion_order="2"
			time_range="13000:14000"
			bounding_box="220 50 270 100"
			centroid="245 75"
		/>
		<motion_tracking
			motion_order="3"
			time_range="14000:34000"
			bounding_box="210 60 260 110"
			centroid="235 85"
		/>
		<motion_tracking
			motion_order="4"
			time_range="34000:35000"
			bounding_box="200 70 250 120"
			centroid="225 95"
		/>
		<motion_tracking
			motion_order="4"
			time_range="35000:36000"
			bounding_box="190 80 240 130"
			centroid="215 105"
		/>
	</object>
</module_output>

<processing_status date_processed="June 20, 2001" exit_status="0" />

</module>

