Aiming at the need of borehole and ruins exploration in the nearly dark environment, a Panoramic Image System is proposed in this paper. consisting of a reciprocating motor, a steering gear with complete rotation, a miniature camera, a depth transducer and radio frequency wireless module. The camera was pushed to the specified location of the pipe by the motor and then the steering gear was rotated for panorama image acquisition. In order to achieve a seamless panoramic image without distortion, a fusion algorithm based on Principal Component Analysis (PCA) and an image mosaic algorithm for image edge extracting based on Canny operator were proposed. The imaging system has good usability and applicability.