Package pyvision :: Package beta :: Module vtm
[hide private]
[frames] | no frames]

Module vtm

source code

Created on Oct 21, 2011


Author: bolme

Classes [hide private]
  EmptyData
  DefaultData
  VideoTask
This provides an interface and support functions for a video processing task.
  _VideoDataItem
This class keeps track of data items and when they are used.
  VideoTaskManager
The framework provide by this class will allow complex video processing systems to be constructed from simple tasks.
Functions [hide private]
 
vtmProcessor(task_queue, results_queue, options)
Each task_queue item should have three items (task_id,frame_id,command/task).
source code
 
formatGroup(group) source code
 
groupOffsets(offsets) source code
 
formatOffsets(offsets) source code
Variables [hide private]
  EMPTY_DATA = EmptyData()
  __package__ = 'pyvision.beta'
Function Details [hide private]

vtmProcessor(task_queue, results_queue, options)

source code 

Each task_queue item should have three items (task_id,frame_id,command/task). the command "quit" is used to stop the process.

The vtmProcessor will return (task_id, frame_id, results). If there is an exception then the result will be replaced by the exception and a stack trace will be printed.