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

Source Code for Package pyvision.beta

 1  ''' 
 2  This package contains "beta" code that is not quite ready to de included in  
 3  the main pyvision distribution.  The package consists of a set of "install" 
 4  commands that add functionality to the pyvision namespace.  This is to allow 
 5  easy access to new classes and methods while under development and to make 
 6  it easy to update code when that funtionality gets added to the main library. 
 7  These install functions will be deleted without notice when the code is  
 8  include in pyvision.   
 9   
10  For example, the video task manager can be installed like this: 
11   
12  import pyvision as pv 
13  pv.beta.installVideoTaskManager() 
14  pv.VideoTaskMangager() 
15   
16  When the interface for the video task manager is finalized and it is added to 
17  the main library the install command will be deleted from the beta package and 
18  any external code that was using the beta code can just delete the insall 
19  command.  The rest of the external code should run little or no modification. 
20   
21  Created Jan 27, 2012 
22  @author: bolme 
23  ''' 
24   
25  import pyvision as pv 
26   
27 -def installVideoTaskManager():
28 ''' 29 Install the video task manager beta code into the pyvision namespace. 30 ''' 31 from vtm import VideoTask, VideoTaskManager 32 from videotasks import FaceDetectorVT 33 pv.VideoTask = VideoTask 34 pv.VideoTaskManager = VideoTaskManager 35 pass
36