The invention discloses a vehicle
headlamp automatic regulating method for a bidirectional detecting vehicle. The vehicle
headlamp automatic regulating method comprises the following steps: S1, detecting whether a first vehicle and a second vehicle exist within a front
set distance of the vehicle, wherein the first vehicle is a vehicle which travels opposite to the vehicle, and the second vehicle is a vehicle which travels in a direction the same as that of the vehicle; S2, when the first vehicle exists, entering S5, otherwise, entering S3; S3, if the second vehicle exists, entering S4, otherwise, not regulating the vehicle
headlamp, and ending; S4, judging the headlamp state of the vehicle, if the headlamp is a dipped headlight, not regulating, and switching on the dipped headlight and ending if the headlamp is a high-beam lamp; S5, judging the headlamp state of the first vehicle, switching off the high-beam lamp and switching on the dipped headlight after flickering the high-beam lamp of the vehicle if the high-beam lamp is the high-beam lamp, judging the headlamp state of the vehicle if the vehicle headlamp is the dipped headlight, not regulating if the vehicle headlamp is dipped headlight, switching off the high-beam lamp and switching on the dipped headlight if the vehicle headlamp is the high-beam lamp, and ending. The method can accurately regulate far and near light of the vehicle under different conditions, so that the travelling safety is improved.