Package pyvision :: Package beta :: Module videotasks :: Class ChangeDetectionVT
[hide private]
[frames] | no frames]

Class ChangeDetectionVT

source code

   object --+    
            |    
vtm.VideoTask --+
                |
               ChangeDetectionVT

Instance Methods [hide private]
 
__init__(self, frame_id)
This is a change detection task that computes the difference between the current and previous frames.
source code
 
execute(self, curr, prev)
Perform change detection between two frames.
source code

Inherited from vtm.VideoTask: addData, couldRun, getFrameId, printInfo, ready, required, run

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, frame_id)
(Constructor)

source code 

This is a change detection task that computes the difference between the current and previous frames.

Parameters:
  • frame_id - the frame_id associated with this task.
  • args - specification of the data that is required to execute the task.
Overrides: object.__init__

execute(self, curr, prev)

source code 

Perform change detection between two frames.

Overrides: vtm.VideoTask.execute