Home > Image Processing, Python > Python for weka, Image Processing

Python for weka, Image Processing

I am trying to use Java within Python. But it seems that it is still not fully ‘done’ for integrate the power of Python and Java. Jython is one option, but it is not including the numpy and scipy.  Here is the link for some examples for using weka from Jython.

Also, sadly, there are not too many packages for image processing (Image, Mahotas, OpenCV-python wrapper). In terms of UI, wxpython is good choice, but to make things with animation effect, you have to switch to python game, etc. And many things require dependent packages, which is not convenient. Especially, to create a cover flow effect is not so simple.  Below are some cover flow demo that I found interesing:

Anyway, I still love python very much, which is so clear and much easier to express your idea.

 

# Install the pygame for linux:
http://www.pygame.org/wiki/CompileUbuntu?parent=Compilation
#install dependencies
sudo apt-get install python-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion libportmidi-dev

svn co svn://seul.org/svn/pygame/trunk pygame

cd pygame
python setup.py build
sudo python setup.py install

 

Advertisements
Categories: Image Processing, Python
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: