Giter VIP home page Giter VIP logo

cv-from-scratch's Introduction

CV from scratch

A couple of assignments made by me for the Computer Vision class at National Taipei University of Technology.

All the functions necessary for running the scripts in the repository are placed inside the script files. This was a requirement for the homeworks, I am sorry :) For the same reason the code is duplicated frequently in different scripts.

The repository contains the following scripts:

  1. /convolution_and_pooling/conv_and_pool.py -- implementation of a 2d convolution operation and a pooling operation for grayscale images along with two sample images for testing;
  2. /median_filter/median_filter.py -- applying median filter to a noisy image; I have lost the original image somewhere, so feel free to use your own;
  3. /canny_and_hough/detect_lines.py -- this script runs the Canny edge detector on the test images, after which it applies the Hough transform and detects lines (road lines, to be precise);
  4. /active_contour/active_contour.py -- an implementation of the active contour ("snakes") model; I was unable to make this one run with my own Gaussian filter, so it uses the one from scikit-image.

Acknowledgements

The following repositories were used as references for my scripts:

  1. Canny Edge Detection from scratch: https://github.com/UsamaI000/CannyEdgeDetection-from-scratch-python
  2. Hough Transform from scratch: https://gist.github.com/ri-sh/45cb32dd5c1485e273ab81468e531f09
  3. Snakes from scratch: https://github.com/notmatthancock/snakes

A big shoutout to these guys! If anyone is reading this, go give them a star :)

cv-from-scratch's People

Contributors

vexing-shusher 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.