A method for detecting and tracking a target, wherein a plurality of cameras, a plurality of detection modules, a plurality of tracking modules and a plurality of storage queues are provided in advance; the number of the plurality of cameras, the number of the plurality of storage queues and the number of the plurality of tracking modules are equal, and there is a one-to-one correspondence between the plurality of cameras and the plurality of storage queues and between the plurality of cameras and the plurality of tracking modules; and the method comprises: distributing (S201) a data stream collected by each of the plurality of cameras to the plurality of detection modules; detecting (S202), by each of the plurality of detection modules, a part of the data stream received by the detection module, and sending a detection result of the part of the data stream collected by the camera, to a storage queue corresponding to the camera; and extracting (S203), by a tracking module corresponding to the camera, detection results from the storage queue corresponding to the camera, and using the detection results for tracking the target; wherein the distributing (S201) the data stream collected by each of the plurality of cameras to the plurality of detection modules, comprises: adding an identification of the camera to the data stream; and distributing the data stream containing the identification of the camera in parts, to the plurality of detection modules, and wherein the sending the detection result of the part of the data stream collected by the camera, to the storage queue corresponding to the camera, comprises: determining the corresponding camera according to the identification of the camera contained in the data stream; and sending the detection result of the part of the data stream collected by the camera, to the storage queue corresponding to the determined camera. distributing (S201) a data stream collected by each of the plurality of cameras to the plurality of detection modules; detecting (S202), by each of the plurality of detection modules, a part of the data stream received by the detection module, and sending a detection result of the part of the data stream collected by the camera, to a storage queue corresponding to the camera; and extracting (S203), by a tracking module corresponding to the camera, detection results from the storage queue corresponding to the camera, and using the detection results for tracking the target; wherein the distributing (S201) the data stream collected by each of the plurality of cameras to the plurality of detection modules, comprises: adding an identification of the camera to the data stream; and distributing the data stream containing the identification of the camera in parts, to the plurality of detection modules, and wherein the sending the detection result of the part of the data stream collected by the camera, to the storage queue corresponding to the camera, comprises: determining the corresponding camera according to the identification of the camera contained in the data stream; and sending the detection result of the part of the data stream collected by the camera, to the storage queue corresponding to the determined camera. <EOS>