目的 在传统车辆目标检测问题中，通常分为两步：第一步，生成假设，即假设图像中可能存在的车辆目标，从而缩小需要计算的区域；第二步，验证假设，即通过测试来验证图像中是否存在车辆目标。在第一步中，需要针对不同场景设计不同的特征。在车辆检测问题中常使用的特征有：对称性，颜色，阴影，角点，边缘，纹理，车灯等。在第二步验证假设的过程中，通常使用基于模板的方法或基于外观特征的方法。除了上述基本特征还经常使用HOG,harris，SIFT等手工特征。最后经过支持向量机等分类器对其特征矩阵分类得到检测结果。可见，整个过程十分不利于检测问题的泛化，需要针对不通样本情况选择适合的特征。本文提出了一种基于Fast R-CNN的场景图像车辆目标发现方法，避免传统车辆目标检测问题中需要设计手工特征的问题。方法 该方法基于深度学习卷积神经网络思想。首先使用待检测车辆图像定义视觉任务。利用选择性搜索算法获得样本图像的候选区域，将候选区域坐标与视觉任务示例图像一起输入网络学习。示例图像经过深度卷积神经网络中的卷积层，池化层计算，最终得到深度卷积特征。在输入时没有规定示例图像的规格，此时得到的卷积特征规格不定。然后，基于Fast R-CNN网络结构，通过感兴趣区域池化层规格化特征，最后将特征输入不同的全连接分支，并行回归计算特征分类，以及检测框坐标值。经过多次迭代训练，最后得到与指定视觉任务强相关的目标检测模型，具有训练好的权重参数。在新的场景图像中，可以通过该目标检测模型检测给定类型的车辆目标。结果 首先确定视觉任务包含公交车，小汽车两类，背景场景是城市道路。利用与视觉任务强相关的测试样本集对目标检测模型进行测试，实验表明，当测试样本场景与视觉任务相关度越高，且样本中车辆目标的形变越小，得到的车辆目标检测模型对车辆目标检测具有良好的检测效果。结论 本文提出的车辆目标检测方法，利用卷积神经网络提取卷积特征代替传统手工特征提取过程，通过Fast R-CNN对由示例图像组成定义的视觉任务训练得到了效果良好的车辆目标检测模型。该模型可以对与视觉任务强相关新场景图像进行效果良好的车辆目标检测。本文结合深度学习卷积神经网络思想，利用卷积特征替代传统手工特征，避免了传统检测问题中特征选择问题。高层卷积特征有更好的表达能力。基于Fast R-CNN网络对特征进行回归计算，最终多次迭代训练得到车辆检测模型。该检测模型对本文规定的视觉任务有良好的检测效果。本文为解决车辆目标检测问题提供了了更加泛化和简洁的解决思路。
Objective In the traditional vehicle target detection problem, usually divided into two steps: the first step, generating assumptions, that is, the image may exist in the vehicle target, thus reducing the need to calculate the area; the second step, verify the hypothesis, that is, through the test to verify Whether there is a vehicle target in the image. In the first step, you need to design different features for different scenes. Among the features commonly used in vehicle detection problems are symmetry, color, shadows, corners, edges, textures, lights, and so on. In the second step to verify the hypothesis, usually based on the template method or based on the appearance of the characteristics of the method. In addition to the above basic features often use HOG, harris, SIFT and other manual features. Finally, through the support vector machine and other classifiers to classify the feature matrix to get the test results. It can be seen that the whole process is very detrimental to the generalization of detection problems and that it is necessary to select suitable characteristics for the case of unreasonable samples. This paper proposes a vehicle detection method based on Fast R-CNN, which can find vehicle object in scene images. Method The method is based on the idea of deep learning convolution neural network. First define the visual task using the vehicle image to be detected. The candidate region of the sample image is obtained by the selective search algorithm, and the candidate region coordinates are input to the network learning together with the visual task sample image. The sample image is calculated by the convolution layer and the pool layer in the deep convolution neural network, and finally the deep convolution feature is obtained. The specifications of the example image are not specified at the time of input, and the convolution characteristics obtained at this time are variable. Then, based on the Fast R-CNN network structure, the feature is normalized by the pooling region of the region of interest. Finally, the feature is input into different full-connection branches, parallel regression calculation feature classification, and detection frame coordinate values. After several iterations and training, the target detection model which is strongly related to the specified visual task is obtained, and the trained weight parameters are trained. In a new scene image, a given type of vehicle target can be detected by the target detection model.Result The method uses test dataset which is relative to the vision task to test the object detection model. The experiment suggests that it will get a effective detection result by the vehicle detection model in the situation that the scenes of test simples are strongly correlated to the vision task. Conclusion First determine the visual tasks include the bus, car two categories, the background scene is the city road. The experimental results show that when the correlation between the test sample scene and the visual task is higher and the deformation of the vehicle target in the sample is smaller, the vehicle target detection model is obtained for the vehicle Target detection has a good detection effect. Conclusion The vehicle target detection method proposed in this paper uses the convolution neural network to extract the convolution feature instead of the traditional manual feature extraction process. Fast R-CNN has obtained the vehicle target detection model with good effect on the visual task training defined by the example image. The model can perform well-performing vehicle target detection on new scene images that are strongly related to visual tasks. In this paper, combined with the depth of learning convolution neural network, the use of convolution characteristics to replace the traditional manual features, to avoid the traditional detection problems in the feature selection problem. High-level convolution features have better ability to express. Based on the Fast R-CNN network, the characteristics of the regression calculation, the final multiple iterative training vehicle detection model. The detection model has a good detection effect on the visual task specified in this paper. This paper provides a more general and concise solution to solve the problem of vehicle detection.