An image sensor system for a medical procedure system includes a sensor array for generating image data for a scene and an orientation sensor directly mechanically connected to the sensor array. The orientation sensor generates an electrical signal indicative of orientation of the sensor array. A processor receives the image data and the electrical signal and generates an image of the scene, the direction of the image of the scene being adjusted according to the orientation measured by the orientation sensor to compensate for orientation of the sensor array.一種影像感測器系統,用於醫療程序系統,包含:一感測器陣列,用於產生一場景之影像資料;以及一方位感測器,直接機械地連接至感測器陣列。方位感測器產生一電氣信號,以代表感測器陣列之方位。一處理器接收影像資料與電氣信號並產生此場景之一影像,此場景之影像是根據方位感測器所測量之方位調整方向,以補償感測器陣列之方位。100‧‧‧內視鏡系統110‧‧‧探針120‧‧‧鏡核心130‧‧‧處理系統/處理/連接器系統/連接器系統模組140‧‧‧監視/儲存站142‧‧‧顯示器144‧‧‧資料儲存裝置150‧‧‧影像感測器160‧‧‧透鏡/透鏡元件161‧‧‧取像組件162‧‧‧MEMS加速度計/方位感測器170‧‧‧手握柄175‧‧‧探針操控把手180‧‧‧電源185‧‧‧電源187‧‧‧單獨電池190‧‧‧插頭195‧‧‧纜線