Traffic Sign Recognition

Writeup


Build a Traffic Sign Recognition Project

The goals / steps of this project are the following:
* Load the data set (see below for links to the project data set)
* Explore, summarize and visualize the data set
* Design, train and test a model architecture
* Use the model to make predictions on new images
* Analyze the softmax probabilities of the new images
* Summarize the results with a written report


Writeup / README

1. Provide a Writeup / README that includes all the rubric points and how you addressed each one. You can submit your writeup as markdown or pdf. You can use this template as a guide for writing the report. The submission includes the project code.

You’re reading it! and here is a link to my project code

Data Set Summary & Exploration

1. Provide a basic summary of the data set and identify where in your code the summary was done. In the code, the analysis should be done using python, numpy and/or pandas methods rather than hardcoding results manually.

The code for this step is contained in the second code cell of the IPython notebook.

I just use the numpy library to calculate summary statistics of the traffic
signs data set:

  • The size of training set is 34799
  • The size of test set is 12630
  • The shape of a traffic sign image is (32, 32, 3)
  • The number of unique classes/labels in the data set is 43
2. Include an exploratory visualization of the dataset and identify where the code is in your code file.

The code for this step is contained in the third code cell of the IPython notebook.

import numpy as np
import matplotlib.pyplot as plt

fig, ax = plt.subplots()

ax.hist(y_train, n_classes, normed=1, histtype='bar', facecolor='b', alpha=0.75)
ax.set_title('label frequency')
ax.set_xlabel('labels')
ax.set_ylabel('frequency')

plt.show()

Here is an exploratory visualization of the data set. Here I use matplot library function ax.hist() to directly plot the frequency of the labels.
这里写图片描述

Design and Test a Model Architecture

1. Describe how, and identify where in your code, you preprocessed the image data. What tecniques were chosen and why did you choose these techniques? Consider including images showing the output of each preprocessing technique. Pre-processing refers to techniques such as converting to grayscale, normalization, etc.

The code for this step is list here:

import cv2

# convert color image to gray-scale image,here we use opencv api function, 
# gray= R*0.299+G*0.587+B*0.114
def color2gray(image):
    gray_img=cv2.cvtColor(image,cv2.COLOR_BGR2GRAY)
    return gray_img

def Images_color2Gray(image_group):
    X_train_gray=[]
    for train_image in image_group: 
        gray_img=color2gray(train_image)
        gray_img = gray_img[:, :, np.newaxis]
        X_train_gray.append(gray_img)

    return X_train_gray
##################################
# plot two images
fig, axs = plt.subplots(1,2, figsize=(5, 2))
axs = axs.ravel()

axs[
  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
好的,关于交通标志识别的国外研究现状,我可以给您一些相关的信息。 在近年来的研究中,深度学习技术已经被广泛应用于交通标志识别领域,并取得了一定的成果。下面是一些相关的研究论文和技术: 1. "Traffic Sign Recognition with Multi-Scale Convolutional Networks"(2015年) 该论文提出了一种基于多尺度卷积神经网络的交通标志识别方法。通过将不同尺度的特征图组合在一起,可以提高交通标志识别的准确率。该方法在德国交通标志识别数据集上取得了较好的识别效果。 2. "Traffic Sign Recognition using Deep Convolutional Neural Networks"(2016年) 该论文提出了一种基于深度卷积神经网络的交通标志识别方法。该方法采用了多层卷积和池化操作,可以自动从原始图像中学习特征,并准确地识别交通标志。该方法在比利时交通标志识别数据集上取得了较好的识别效果。 3. "Real-time Traffic Sign Recognition using a Convolutional Neural Network"(2017年) 该论文提出了一种基于卷积神经网络的实时交通标志识别方法。该方法使用了快速卷积算法和GPU加速技术,可以在实时性要求较高的情况下准确地识别交通标志。该方法在德国交通标志识别数据集上取得了较好的识别效果。 总的来说,深度学习技术在交通标志识别领域已经得到了广泛的应用,并取得了一定的成果。未来随着技术的不断发展,相信交通标志识别的准确率和实时性都会得到进一步提升。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值