The invention discloses a method and a device for determining the height and
pitch angle of a
stereo camera. The method comprises the steps of: using internal and external parameters, which are obtained by pre-calibration, of the
stereo camera to carry out epipolar correction on a first image and a second image in an
image pair shot by the
stereo camera; determining a corresponding relation between
parallax and vertical coordinates of an image coordinate
system; according to the corresponding relation between the
parallax and the vertical coordinates of the image coordinate
system and a triangle method three-dimensional reconstruction principle, determining projection equations of camera optical axes on a
reference surface; and according to the projection equations of the camera optical axes on the
reference surface and triangle relations among the camera optical axes, determining the height and the
pitch angle of the stereo camera relative to the
reference surface. The method provided by the invention has the advantages that auxiliary tools such as a calibration board and a calibration block are not needed, the requirements on environment are low, the method is easy to realize, and the universality is high; in addition, there is no need to move a calibration object to obtain a plurality of groups of images, the height and the
pitch angle of the stereo camera relative to the reference surface can be determined by only one group of
image pair, and the efficiency is high.