Motion artifact is an important challenge in MR imaging. Optical tracking based motion correction technique has been verified effective with the advantages of perfect accuracy, real-time performance and no effect on sequence and scan time. However, most traditional system need an additional Reflective Marker to trace and quantify the motion parameters, which complicated the scan procedure. Recently, our group proposed a markerless optical tracking solution(NORMS) and validated its ability in non-rigid motion detection and correction for carotid artery imaging. In this study, we aim to develop a parallel line Structure Light based Optical Motion Tracking system (SLOMO) to accurately correct rigid motion by acquiring the whole 3D surface. The results demonstrated the feasibility of SLOMO system in motion correction for brain imaging.