1. A spatial information capturing device, comprising: a structured light generation module providing a structured light pattern to a target object, so that an evaluation pattern is formed on the target object; a camera module comprising a lens group, an optical encoder and a sensing unit, wherein the optical encoder has a reference pattern, and the reference pattern and the evaluation pattern have at least one corresponding pattern feature, wherein both of the reference pattern and the evaluation pattern are projected on the sensing unit; and a process controller in communication with the sensing unit, wherein the process controller compares a pattern feature difference between the reference pattern and the evaluation pattern, and realizes a spatial distance information of the target object according to a result of comparing the pattern feature difference, wherein the camera module further comprises: a casing; and an adjusting mechanism, the adjusting mechanism being partially exposed outside the casing, and wherein the adjusting mechanism is linked with the optical encoder, and the optical encoder is driven by the adjusting mechanism, so that relative positions between the optical encoder and the lens group and/or relative positions between the optical encoder and the sensing unit are adjustable by a user.