The invention relates to a surgical navigation method and system, in particular to a method and a system for realizing surgical navigation by using a real-time structured light technology. According to the method, real-time structured light is used for scanning a structured light coverage area of an operation area in real time to obtain three-dimensional point cloud data, and then registration is carried out through unmarked registration and preoperative images; meanwhile, the surgical instrument in the space is recognized through structured light, then the surgical instrument in the space is positioned, real-time 3D point cloud reconstruction and preoperative image superposition are synchronously carried out, and finally the purpose of precise navigation surgery is achieved. The invention further provides the system for implementing the method. The system comprises a DICOM module, a preoperative planning module, a three-dimensional scanning module, an unmarked registration module, a display module, a computer aided design (CAD) module and a computer vision enhancement module. According to the method and the system, the space relation between the focus and the operation instrument can be directly obtained, one-time space conversion is reduced, errors are reduced, and accurate positioning is achieved.