Code Monkey home page Code Monkey logo

janatahack-computer-vision-hackathon's Introduction

JanataHack-Computer-Vision-Hackathon

Winning solution for JanataHack: Computer Vision Hackathon

Private LB Rank:1

Leader Board:

Markdown Monster icon

Emergency vs Non-Emergency Vehicle Classification

Fatalities due to traffic delays of emergency vehicles such as ambulance & fire brigade is a huge problem. In daily life, we often see that emergency vehicles face difficulty in passing through traffic. So differentiating a vehicle into an emergency and non emergency category can be an important component in traffic monitoring as well as self drive car systems as reaching on time to their destination is critical for these services.

In this problem, you will be working on classifying vehicle images as either belonging to the emergency vehicle or non-emergency vehicle category. For the same, you are provided with the train and the test dataset. Emergency vehicles usually includes police cars, ambulance and fire brigades.

Data Description:-

  • train.zip: contains 2 csvs and 1 folder containing image data
    1. train.csv – [‘image_names’, ‘emergency_or_not’] contains the image name and correct class for 1646 (70%) train images
    2. images – contains 2352 images for both train and test sets
  • test.csv: [‘image_names’] contains just the image names for the 706 (30%) test images-
  • sample_submission.csv: [‘image_names’,’emergency_or_not­’] contains the exact format for a valid submission (1 - For Emergency Vehicle, 0 - For Non Emergency Vehicle)

Data at a Glance

Markdown Monster icon

Data Photos

Markdown Monster icon

Data Augmentation & Approach

  1. Regular Transformation and data augmentation.
  2. Used Fastai Resnet101 model.

Tools used

  1. Python for programming
  2. numpy library for methodology
  3. OpenCV for reading the images and stuff.
  4. fastai library for the model
  5. matplotlib and seaborn was used for plotting and analyzing the data
Data_Leak(Sorted images shows everything!)

Markdown Monster icon

Competition Result

Rank: 5th on public LB and 1st on private LB
Link to LeaderBoard

janatahack-computer-vision-hackathon's People

Contributors

saikrithik avatar

Watchers

 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.