An automatic stage lighting tracking system, comprising: an emitting element which is detachably mountable on a target to be tracked; a stage light source element which is used for illuminating the target to be tracked; a control computer having an upper computer software; and a photographing element which is used for detecting a position of the emitting element and photographing an image of the target, and transmitting the image and position signal to the upper computer software, wherein the control computer is configured to process the image transmitted by the photographing element, extract, identify and track the target according to a color in the image, then calculate a deviated position of the target relative to an illumination direction of the stage light source element, and send the deviated position to the stage light source element; and wherein the stage light source element is configured to control the illumination direction to go toward the target, so that the stage light source element achieves automatic tracking movement of the target, characterized in that the control computer has a OpenCV computer vision library and a DMX512 console, the DMX512 console is configured to send the deviated position to the stage light source element and the OpenCV computer vision library is provided with a camshift tracking algorithm, wherein the OpenCV computer vision library is configured to send an identified color of the target to the camshift tracking algorithm, and the camshift tracking algorithm is configured to track a movement of the target, obtain coordinate information of the target, and send the coordinate information to the upper computer software. an emitting element which is detachably mountable on a target to be tracked; a stage light source element which is used for illuminating the target to be tracked; a control computer having an upper computer software; and a photographing element which is used for detecting a position of the emitting element and photographing an image of the target, and transmitting the image and position signal to the upper computer software, wherein the control computer is configured to process the image transmitted by the photographing element, extract, identify and track the target according to a color in the image, then calculate a deviated position of the target relative to an illumination direction of the stage light source element, and send the deviated position to the stage light source element; and wherein the stage light source element is configured to control the illumination direction to go toward the target, so that the stage light source element achieves automatic tracking movement of the target, characterized in that the control computer has a OpenCV computer vision library and a DMX512 console, the DMX512 console is configured to send the deviated position to the stage light source element and the OpenCV computer vision library is provided with a camshift tracking algorithm, wherein the OpenCV computer vision library is configured to send an identified color of the target to the camshift tracking algorithm, and the camshift tracking algorithm is configured to track a movement of the target, obtain coordinate information of the target, and send the coordinate information to the upper computer software. <EOS>