The task of object detection plays an important role in the safe driving of driverless vehicles. Currently, the object detection technology of environment percept is mostly one-class object detection or all the objects in an image are listed as the target to be detected. Numerous studies have not yet focused on object division and detection of the objects in front of the vehicle. To solve the above problems, in this paper, the objects to be detected in front of vehicles are divided into two categories. One is the dynamic targets with high risk and displacement at any time, including four-wheel vehicle, two-wheel vehicle and people. The other one is the static targets with less danger and no displacement, including traffic lights and traffic signs. For the dynamic multiple objects in front of the vehicle, an improved algorithm of object detection based on YOLOv3 is proposed, which can be transplanted to the embedded system. To overcome the shortcoming of the original YOLOv3 algorithm, that it is difficult to get real-time detection in the embedded terminal, the original backbone network Darknet-53 was replaced with MobileNetV2 to extract features, adding Group Normalization operation in the training process and using Adam as optimizer. The extracted BDD100K dataset is used for training. The model is tested with BDD100k partial dataset not involved in training and Team_test dataset produced by our research group. The results show that compared with original YOLOv3, the missing rate (MR) of the algorithm in this paper can be kept within 5%, and based on the increase of 0.020 in mAP, comparing with the basic model of YOLOv3, the parameters of YOLOv3-MobileNetV2 model are reduced by about 89%, the Inference Time is reduced by about 70% under the CPU.