1. An electronic device, comprising: a processor; and a storage device configured to store a plurality of instructions, which when executed by the processor, causes the processor to: receive a target frame for tracking a moving target included in a search reference; set at least one first detecting region in the target frame; determine at least one similarity between the search reference and the at least one first detecting region; determine a specific one of the at least one first detecting region in the target frame based on the at least one similarity; and determine an actual position of the moving target based on the specific first detecting region.