Skip to content

Jaissruti1/Learning-to-see

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning to See

About

This repository supports the YouTube series Learning to See. We'll take a bottom-up appraoch to machine learning for computer vision, and tackle one problem: counting the number of fingers in an image from a Leap Motion Infared Camera.

Lectures

Order Notebook/Slides Topic Required Viewing Before Additional Reading Notes
1 Rules Let's try a rules based approach to real CV problem LTS part 1 - Intro to Programming Challenge
2 Machine Learning Can we learn a better way from data? LTS part 2, 3 - -
3 Generalization How do we know if our models are actually working? LTS part 4, 5 Surely You're Joking Mr. Feynman -
4 Learning From Data But how do we really know that our models are working? LTS part 6, 7 - Caltec Learning From Data Lecture 2
5 Simple Rules Why should we prefer simple rules? LTS part 8, 9 Caltec Learning From Data Lecture 2 -
6 Decision Trees How do we actually find good rules? LTS part 10-15 hackerdashery P vs NP -

Setup

The Python 3 Anaconda Distribution is the easiest way to get going with the notebooks and code presented here.

(Optional) You may want to create a virtual environment for this repository:

conda create -n cv python=3 
source activate cv

You'll need to install the jupyter notebook to run the notebooks:

conda install jupyter

# You may also want to install nb_conda (Enables some nice things like change virtual environments within the notebook)
conda install nb_conda

This repository requires the installation of a few extra packages, you can install them all at once with:

pip install -r requirements.txt

(Optional) jupyterthemes can be nice when presenting notebooks, as it offers some cleaner visual themes than the stock notebook, and makes it easy to adjust the default font size for code, markdown, etc. You can install with pip:

pip install jupyterthemes

Recommend jupyter them for presenting these notebook (type into terminal before launching notebook):

jt -t grade3 -cellw=90% -fs=20 -tfs=20 -ofs=20 -dfs=20

Recommend jupyter them for viewing these notebook (type into terminal before launching notebook):

jt -t grade3 -cellw=90% -fs=14 -tfs=14 -ofs=14 -dfs=14

Notes

Launching the Jupyter Notebooks

To properly view the images and animations, please launch your jupyter notebook from the root directory of this repository.

Graphviz on Windows

Windows users may need to install GraphViz separetely if you are getting GraphViz's executables not found exception in notebook 4.

  1. Download GraphViz MSI
  2. Add "C:\Program Files (x86)\Graphviz2.34\bin" to your PATH variable.
  3. Stop/Exit your current python environment/IDE and start again.

About

Implemented an Algorithm to count the number of fingers in an image from Lead Motion Infrared Camera.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published