Object tracking by kinect on raspberry pi
问题 I m working on object tracking with kinect on a raspberry pi. I mix 2 code because I need to find nearly object with kinect and then use OpenCV filter to setup gray color after this process tracking gray object! but I can't! please help me import freenect import cv2 import numpy as np """ Grabs a depth map from the Kinect sensor and creates an image from it. """ def getDepthMap(): depth, timestamp = freenect.sync_get_depth() np.clip(depth, 0, 2**10 - 1, depth) depth >>= 2 depth = depth.astype