adding a key press to exit the image window
adding a key press to exit the image window

The code used to ruin on an infinite while loop. I couldn't close the image window while the programming is running. Inorder to make it more user friendly I have just added a key press to close the window when an esc key or 'q' is pressed.
IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense