Giter Site home page Giter Site logo

raineggplant / traffic-sign-classification Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.5 MB

Classify traffic signs using traditional machine learning method and deep learning methods. [course project of "Media and Recognition"]

License: MIT License

TeX 53.32% Python 46.68%
traffic-sign-classification svm-classifier spatial-transformer-network cnn-classification tsinghua-university tsinghua

traffic-sign-classification's Introduction

Traffic Sign Classification

Classify traffic signs using traditional machine learning method and deep learning methods. [course project of "Media and Recognition" of EE, Tsinghua University]

See the report.

Introduction

This cource project includes 4 tasks. Task 1 requires us to classify traffic signs using traditional machine learning method, task 2 requires us to classify using deep learning method, task 3 requires us to perform single example classification and task 4 requires us to detect traffic signs and then classify.

I am responsible for task 1 & 2, so this repository only consists of code and report of these 2 tasks. If my teammates decide to public the remaining tasks on GitHub, I will add the links.

Dataset

You can download the dataset from Tsinghua Cloud Drive or Google Drive.

Note: the labels in test.json are randomly generated and only used to demonstrate the output format. However, only my teacher and TAs have the ground truths because this is a course project.

Requirement

Task 1 requires

  • numpy
  • cv2
  • tqdm
  • scipy
  • sklearn

Task 2 requires

  • torch
  • pytorch_lightning
  • torchvision
  • PIL
  • tqdm

Results

Our work has 95.16% accuracy of task 1, and 97.89% accuracy of task 2 on the test set (according to my TA). Although we have relatively high accuracy of task 1, the accuracy of task 2 is not that high enough. The reason is that I adopted the network structure in this paper [content, code (Lua)], but did not have time to shrink its size to fit our dataset (Our dataset is much smaller so this will apparently cause overfitting problems).

traffic-sign-classification's People

Contributors

raineggplant avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.