base_camera
BaseCamera(width=640, height=360, callback_thread_closed=None)
¤
Bases: object
Source code in motiontracker\camera\base_camera.py
75 76 77 78 79 80 81 |
|
frames()
¤
"Generator that returns frames from the camera.
Source code in motiontracker\camera\base_camera.py
119 120 121 |
|
get_frame(timeout=None)
¤
Return the current camera frame.
Source code in motiontracker\camera\base_camera.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 |
|
FrameEvent()
¤
Bases: object
An Event-like class that signals all active clients when a new frame is available.
Source code in motiontracker\camera\base_camera.py
26 27 |
|
clear()
¤
Invoked from each client's thread after a frame was processed.
Source code in motiontracker\camera\base_camera.py
59 60 61 |
|
set()
¤
Invoked by the camera thread when a new frame is available.
Source code in motiontracker\camera\base_camera.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
|
wait(timeout=None)
¤
Invoked from each client's thread to wait for the next frame.
Source code in motiontracker\camera\base_camera.py
29 30 31 32 33 34 35 36 37 |
|