A stereo vision system using two omni-cameras for 3-D vision applications is proposed, which has an automatic adaptation capability to any system setup before 3-D data computation is conducted. The adaptation, which yields the orientations and distance of the two omni-cameras, is accomplished by detecting and analyzing the horizontal lines appearing in the omni-images acquired with the cameras and a person standing in front of the cameras. Properties of line features in environments are utilized for detecting more precisely the horizontal lines that appear as conic sections in omni-images. The detection work is accomplished through the use of carefully chosen parameters and a refined Hough transform technique. The detected horizontal lines are utilized to compute the cameras' orientations and distance from which the 3-D data of space points are derived analytically. Compared with a traditional system using a pair of projective cameras with nonadjustable camera orientations and distance, the proposed system has the advantages of offering more flexibility in camera setups, better usability in wide areas, higher precision in computed 3-D data, and more convenience for nontechnical users. Good experimental results show the feasibility of the proposed system. Index Terms-3-D vision applications, automatic adaptation, omni-camera, omni-image, stereo vision, system setup.