dyfocus using AI
1st Step: Tutorial.
- Watch this amazing tutorial: http://www.youtube.com/watch?v=4ONBVNm3isI
2nd Step: Set up development environment.
- Install iPython: $ sudo easy_install ipython[all]
- Install Macport using dmg: http://www.macports.org/install.php
- Close/Open terminal.
- Install Math pre-requisits (takes a lot of time): $ sudo port install py27-numpy py27-scipy py27-matplotlib py27-ipython +notebook py27-pandas py27-sympy py27-nose
- Select installed frameworks: - $ sudo port select --set python python27 - $ sudo port select --set sphinx py27-sphinx - $ sudo port select --set ipython ipython27 - $ sudo port select --set cython cython27 - $ sudo port select --set py-sympy py27-sympy
- Install scikit: $ sudo port install py27-scikit-learn
- Install scikit-image: $ sudo easy_install -U scikit-image
- Close/Open terminal.
- Download IA framework:$ git clone git://github.com/jakevdp/sklearn_pycon2013.git
- Go into the IA's notebooks folder:$ cd sklearn_pycon2013/notebooks
- Start and open tutorial server: $ ipython notebook
- (Optional) Install pyamg for better performance: https://pypi.python.org/pypi/pyamg
3rd Step: Run our ward script to get a piece of action
- In your terminal, cd to the "development" folder.
- Run the following: $ python ward.py input/sun_1.jpeg input/sun_2.jpeg 0.1 3
4th Step: Edit this tutorial and make it better. :)
========== IMPORTANT: fix jpeg bug, install lib: http://ethan.tira-thompson.com/Mac_OS_X_Ports.html
========== Learning Material: SciKit First steps
Matplot's plots example page: http://matplotlib.org/gallery.html
Connectivity graph of an image: http://scikit-learn.org/stable/modules/feature_extraction.html
Abstract model of all Machine Learning methods: http://peekaboo-vision.blogspot.com.br/2013/01/machine-learning-cheat-sheet-for-scikit.html
Clustering examples (DBScan is cool): http://scikit-learn.org/stable/auto_examples/index.html#clustering
ML Lectures: https://class.coursera.org/ml/lecture/preview
========== Learning Material: Image Clustering
Image to 2D array: http://wiki.scipy.org/Cookbook/Matplotlib/LoadImage
Histogram: http://scikit-image.org/docs/dev/auto_examples/plot_hog.html
SciKit-Image Examples: http://scikit-image.org/docs/dev/auto_examples/