Functions | |
| def | _depth_cb |
| def | _rgb_cb |
| def | get_depth |
| def | get_rgb |
Variables | |
| tuple | depth_cb = lambda*x:_depth_cb(*freenect.depth_cb_np(*x)) |
| tuple | depthcond = Condition() |
| list | depthqueue = [] |
| tuple | rgb_cb = lambda*x:_rgb_cb(*freenect.rgb_cb_np(*x)) |
| tuple | rgbcond = Condition() |
| list | rgbqueue = [] |
| def freenect_synch::_depth_cb | ( | dev, | ||
| string, | ||||
| ts | ||||
| ) | [private] |
Definition at line 34 of file freenect_synch.py.
| def freenect_synch::_rgb_cb | ( | dev, | ||
| string, | ||||
| ts | ||||
| ) | [private] |
Definition at line 41 of file freenect_synch.py.
| def freenect_synch::get_depth | ( | ) |
Grabs a new depth frame, blocking until the background thread provides one.
Returns:
a numpy array, with shape: (480,640), dtype: np.uint16
Definition at line 50 of file freenect_synch.py.
| def freenect_synch::get_rgb | ( | ) |
Grabs a new RGB frame, blocking until the background thread provides one.
Returns:
a numpy array, with shape: (480,640,3), dtype: np.uint8
Definition at line 66 of file freenect_synch.py.
| tuple freenect_synch::depth_cb = lambda*x:_depth_cb(*freenect.depth_cb_np(*x)) |
Definition at line 47 of file freenect_synch.py.
| tuple freenect_synch::depthcond = Condition() |
Definition at line 28 of file freenect_synch.py.
| list freenect_synch::depthqueue = [] |
Definition at line 30 of file freenect_synch.py.
| tuple freenect_synch::rgb_cb = lambda*x:_rgb_cb(*freenect.rgb_cb_np(*x)) |
Definition at line 48 of file freenect_synch.py.
| tuple freenect_synch::rgbcond = Condition() |
Definition at line 29 of file freenect_synch.py.
| list freenect_synch::rgbqueue = [] |
Definition at line 31 of file freenect_synch.py.