2010-01-15

Installing PyQt4

Currently, the best combination is:
  • Python 2.6.4 - more compatible with third party packages than Python 3.0
  • PyQt4 version 4.6.2
Most importantly, get the 32-bit installer for Python even if your machine & OS are 64 bit -- PyQt4 only works with 32 bit Python.

    2010-01-12

    RANSAC dan good features to track

    http://en.wikipedia.org/wiki/RANSAC

    http://mrl.nyu.edu/~bregler/classes/vision_fall06/shi_tomasi_94.pdf

    2010-01-06

    How to install pyqt4 on ubuntu linux

    Install and run "hello world" example
    • Install it
    sudo apt-get install python-qt4
    • Create a file ~/tmp/helloworld.py
    import sys
    from PyQt4.QtGui import *
    app = QApplication(sys.argv)
    button = QPushButton("Hello World", None)
    button.show()
    app.exec_()
    

    • Run it:
    python ~/tmp/helloworld.py


  • You should see a window with a single button pop up.



  • Install additional examples
    • For more examples, install the python-qt4-doc package: 

    sudo apt-get install python-qt4-doc

    • After installation, the examples are located at: 
    /usr/share/doc/python-qt4-doc/examples

    2010-01-05

    Good PyQt4 Tutorial

    http://zetcode.com/tutorials/pyqt4