Abstract. The natural user interface (NUI) is used for the natural motion interface without using device or tool such as mice, keyboards, pens and markers. In this paper, we develop natural user interface framework based on two recognition module. First module is real-time head pose estimation module using random forests and second module is hand gesture recognition module, named Hand gesture Key Emulation Toolkit (HandGKET). Using the head pose estimation module, we can know where the user is looking and what the user's focus of attention is. Moreover, using the hand gesture recognition module, we can also control the computer using the user's hand gesture without mouse and keyboard. In proposed framework, the user's head direction and hand gesture are mapped into mouse and keyboard event, respectively.