Real-time Hand Gesture Detection and Recognition for Human Computer Interaction