三維物體的姿態估測在電腦視覺於機器人的應用上,擔任著重要的位置。本文結合模板追蹤方法與PnP演算法完成三維物體的姿態估測方法。所使用的方法是先透過擷取並匹配物體與參考影像的特徵點,並將特徵點經過單應性矩陣轉換出物體與影像的相對關係。再利用模板追蹤方法進行追蹤。最後再將追蹤的結果利用事先建立好的模型進行點匹配,並利用PnP方法將物體的三維姿態估測出來。在實驗中進行旋轉與平移的實驗。在平移實驗上有良好的結果。在旋轉實驗上,在正負20度旋轉都有不錯的結果,此外估測出來的角度相對不穩定。 3D object pose estimation plays a crucial role in computer and robotic vision. In this thesis, a novel model-based object pose estimation algorithm is proposed by integrating template matching and PnP pose estimation methods to deal with this issue efficiently. The proposed method firstly extracts and matches keypoints of the scene image and the object reference image. Using the matched keypoints, a 2D mapping between the reference image and the observed object can be formulated by a homography matrix, which is used as an initial setting for a template-based tracking algorithm. Based on the visual tracking result, the corresponding points between image keypoints and control points of the CAD model of the object can be determined efficiently. Finally, the 3D pose of the object with respect to the camera is estimated by adopting the PnP algorithm based on the corresponding points between 2D image keypoints and 3D model control points. The experimental results validate the estimation accuracy and real-time performance of the proposed model-based object pose estimation algorithm.