Friday, January 15, 2010

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.

    Wednesday, January 13, 2010

    RANSAC dan good features to track

    Thursday, January 7, 2010

    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/
    import sys
    from PyQt4.QtGui import *
    app = QApplication(sys.argv)
    button = QPushButton("Hello World", None)

    • Run it:
    $ python ~/tmp/

  • 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: 

    Friday, January 1, 2010

    Merry New Year

    Merry New Year.
    Maksiat tinggalkan.
    Dinihari ada gerhana bulan.

    Nak ikutkan hati, nak keluar ambil foto bunga api dsb tapi ni kan hari Jumaat...

    Objek foto paling popular : Masjid Putrajaya.
    Teknik pre-processing paling popular: HDR (high-dynamic range).
    Moment paling ditunggu: ROL (ray-of-light)