The MontiVision Object Tracker filter is used tack the position from an object (blob). This filter works together with the MV Blob Finder filter.
| File: | nonlinfilter.ax |
| CLSID: | CLSID_MVObjectTracker |
Supported Interfaces
Supported COM Events
The filter supports following events through the IMVFilterEvents interface. Look at the filter events page for more information.
| Event |
Value |
Description |
| MV_ALGORITHM_START_EVENT |
0 |
A filter starts processing a video frame or sample. |
| MV_ALGORITHM_END_EVENT |
1 |
A filter finishes processing a video frame or sample. |
Supported I/O Pins
| I/O Pin | Corresponding method | Discription |
| Object
Available [Boolean] |
- | The tracked object is available, draw the track. |
| xPosition [UINT16] [INT16] |
- | Horizontal position of the tracked object. |
| yPosition [UINT16] [INT16] |
- | Vertical position of the tracked object. |
Attention:
I/O Pins are dominant, meaning they have a higher priority
than the corresponding method of the filter's interface!
MV Object Tracker Filter Property Page
Uses the IMVObjectTracker configuration interface.
| Draw only current position | Draws a cross on the current object position. |
| Interpolate line | Interpolates a line between two object positions. |
| Copy input image | Copys the images from the input video stream into the background. |
| Thickness | Line or cross thickness. |
| Start | Starts object tracking. |
| Stop | Stops object tracking. |
| Reset | Resets the tracking image. |
Sample Filter Graph Configuration
The filter graph configuration (track_object.mvp) shows how to use the MV Object Tracker together with the MV Blob Finder. The MV Blob Finder detects an object (blob) and send the center coordinates from the object to the MV Object Tracker.