as you can see in this picture, this is my code.

and there will always be an error:
Traceback (most recent call last):
File "video_kinect.py", line 462, in <module>
x,y = color_point_2_depth_point(a._kinect,_DepthSpacePoint,a._kinect._depth_frame_data,[int(center_x),int(center_y)])
File "video_kinect.py", line 365, in color_point_2_depth_point
return [int(depth_x), int(depth_y)]
OverflowError: cannot convert float infinity to integer
I really can not understand why this error occurs. Thank you!