Skip to content

Commit

Permalink
Updated sync_get_depth returns docstring (#585)
Browse files Browse the repository at this point in the history
It actually returns shape:(480,640), just like sync_get_video

Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
  • Loading branch information
libasoles authored and piedar committed Jun 4, 2019
1 parent aca6046 commit 7cb0d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrappers/python/freenect.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def sync_get_depth(index=0, format=DEPTH_11BIT):
Returns:
(depth, timestamp) or None on error
depth: A numpy array, shape:(640,480) dtype:np.uint16
depth: A numpy array, shape:(480,640) dtype:np.uint16
timestamp: int representing the time
"""
cdef void* data
Expand Down

0 comments on commit 7cb0d3c

Please sign in to comment.