For the problem of detection, stable tracking and positioning of moving targets in complex scene, an optical detection and tracking system for LEO dual-satellite formation is constructed, the continuous tracking observation performance of the dual-satellite system was analyzed, and a dual-satellite target positioning model was established. Hyperspectral, infrared and other optical detection means were used, combined with target detection and tracking algorithms, and the engineering design method of satellite key technologies were proposed and in-orbit application verification was carried out. The conclusion is that the technology in this paper can achieve effective detection and perception of wide-area moving targets, continuous real-time monitoring and rapid precise positioning.