Slow image registration using OpenNI in Python


I need to use the rgb stream and the depth stream on the orbbec persee running ubuntu 14.04 using python. I have managed to get both streams, using OpenCV and OpenNI, and even managed to get them registered. However, the line which enables the registration causes the camera to run very slowly. Removing this line alone restores the expected speed.

dev = openni2.Device.open_any()
depth_stream = dev.create_depth_stream()

Is there another way of achieving this without this without the unacceptable slowdown?

Hi, I am also facing same issue. What is the solution?
Actually I am getting depth values 0 when I set the registration. self.depth_stream = self.color_stream =

what camera do you use?