Medical imaging technology such as magnetic resonance imaging (MRI), computed tomography (CT) and X-ray cannot provide real-time images during tumor resection surgery, and surgeons usually rely on visual cues, touch and experience to distinguish tumor margins, leading to a high probability of tumor residues.