Code Monkey home page Code Monkey logo

carcount's Introduction

##Description

The goal of this project is to estime number of car in the city by utilising machine learning technique. It uses images from public surveillence cameras as an input, learns to identify the cars and counts the number of cars in a given image.

##How to use it

img/collect.sh script stores images from surveillence cameras. I use crontab to call this script every minute.

test directory is used to train algorithm to recognize the cars. First of all, copy a set of images from img directory into test directory and run a script test/slide.sh This script will select all jpg images in test directory, it will create test/out directory, where it will save converted jpg images. In the next step, the script will select image by image from test/out directory and it will slice into 100x100 images each. Once you have test/out/slide populated, then you need manually select all images with a car in a given directory(test/out/slide) and copy it to test/pos and the rest of images to test/neg. Now the data is ready for training.

To have cross validation data, copy unseen images from img directory to crossval directory and run crossval/slide.sh script.

Now you are ready to run carRecognition.R script

##Contact If you have problems or questions - please contact me at twitter @dzidorius or by mail

carcount's People

Contributors

kafka399 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.