Posts Tagged ‘multimedia’

Local Binary Patterns (LBP)

October 5, 2010 Comments off

I came across with an interesting algorithm for extracting feature descriptors from an image or a video file. The LBP looks very simple and easy to program, but I haven’t had a chance to try it myself. A lot of people claim that it’s pretty good.

Scholarpedia gives very good and short overview of this method:
<a href="

Retrieve URLs and Tags from with Python API on Ubuntu

April 30, 2010 Leave a comment

For DeliciousAPI, please refer to Michael G. Noll web page. My previous post on DeliciousAPI would be useful too.

  1. Install Python on your machine. Most of the time, Ubuntu will come with Python already.
  2. Install “Easy Install” for Python by running terminal and type
    sudo apt-get install python-setuptools python-dev build-essential

    For more details, please refer to SaltyCrane Blog.

  3. Install DeliciousAPI by running
sudo easy_install DeliciousAPI

Now you can use DeliciousAPI on Python already!!! Just go to Michael’s web page then copy the demo code to a txt file, say Then go to the folder containing the file and run it from the terminal by typing “python”. For more detail about how to install the API on Windows7, please refer to my previous post.

Retrieve URLs and Tags from (

April 30, 2010 2 comments is a bookmarking website. For some people who want to work on topic modeling, the website can be a good data set to try. In this post, I would like to show how to retrieve the information (e.g. URLs, title, tags, users, comments, timestamps ) from There are so many way to do the job, but, for me, I think Python API is a good and easy way to do this.

Actually the whole API is available for free and described very well in Python API web page by Michael G. Noll. However, some of us who is an absolute beginner may not understand how to install and use the API, so I would like to elaborate Michael’s guide in more detail. There are 4 big steps, here we go!

  1. Install Python: First of all, you will have to have Python engine installed in your machine
  2. Install Easy Install: Easy Install is a Python package that can save us a lot of time when installing any Python package.
  3. Install Michael’s Python API on your machine
  4. Run the API, and have fun!

1. Install Python on your machine Windows 7 64-bit

  1. Download Python engine from the Python download page. Pick the installer that matches your machine and OS. For me, I have windows7 64-bit, so I will download “Python 2.6.5 Windows X86-64 installer (Windows AMD64 / Intel 64 / X86-64 binary [1] — does not include source)”
  2. Install the file on your machine, it should not take too long to download and install it on your machine. I found a good video tutorial on the Python installation and testing.
  3. Now you can play with Python IDLE to see if you install it properly.
  4. Add path to the Python folder
    1. Run command line as an administrator, please refer to this blog.
    2. add path by typing “set path=C:\Program Files\yourPythonFolder;%path%”. Note that yourPythonFolder MUST contain the file python.exe
    3. You can check if the path is included properly by typing “path”

2. Install Easy Install

For simplicity, we will next install a Python package called “Easy Install” which can save a lot of our time when install additional Python package. Easy Install will monitor the installation and can automatically download and install additional package needed. This way we don’t have to manually check what package to download and install.

  1. Please go to Easy Install web page, and click download the proper installation file. Note that if you use Windows7 64-bit, the only option you may use is the “Source” file (setuptools-0.6c11.tar.gz). One good thing about using the source file is that it always works regardless of what kind of machine or OS you are using…so I will go this way.
  2. Download the source and extract the file on a folder, say C:\Users\bot\Downloads\PythonFiles\setuptools-0.6c11
  3. Run command line as an administrator, and go to the folder C:\Users\bot\Downloads\PythonFiles\setuptools-0.6c11
  4. Now we have to install the Easy Install package by running the command “python install”. You will see so many things going on in the command line.
  5. You will find that Easy Install would be stored in the folder “C:\Program Files\Python 2.6.5 64-bit\Scripts”

3. Install Michael’s Python API

We will use Easy Install to do the job

  1. Stay in the command line, go to the folder “C:\Program Files\Python 2.6.5 64-bit\Scripts” by typing “cd C:\Program Files\Python 2.6.5 64-bit\Scripts”
  2. Run the command “easy_install DeliciousAPI“, you will see Python downloading packages necessary for DeliciousAPI.

4. Run DeliciousAPI

Now that we installed the API already, now let’s run it.

  1. Go to Michael’s page, copy the demo code, save it as “” and put it in any folder you want.
  2. You can run the from command line by typing “python”. You should be able to see the URLs, tags, everything pop up on your command line panel!

I would like to thank my friend Rohit Manokaran for helping me with this DeliciousAPI.

UF Logo

June 17, 2009 Leave a comment

If you want to put UF identities (e.g. logo, template, color, font, etc.) on your presentation slides, businesscard, website, etc., you can find everything in the “UF Identity” – and more specifically “signature system” –

Categories: iDea, Labs, Research Tags:

Download FLV from YouTube and convert to AVI or MP3

September 22, 2008 Leave a comment

How to download .flv from YouTube
If you are using the browser Firefox, you can easily download .flv file from the website by simply using an add-on “DownloadHelper”. Please refer to the link below

There are so many softwares that can download the video file from YouTube. However, I prefer using the firefox add-on, DownloadHelper since it’s really easy.

How to convert FLV file to AVI
Of course, AVI is like a crucial material for any kind of video/media file. Once we can convert a file to AVI, then we can go from there to all types of file so easily. There are a lot of freeware of this sort. The one I’m using right now is Pazera Free FLV to AVI converter.
This link also contains tons of other media file converters.

How to convert/rip FLV to MP3
Again there are a lot of freewares on the internet. The one I’m using is
I think the website works pretty well, so far as good. The website not only converts the file from URL, but also can convert the file on your machine as well. The website will upload the video from the source, then convert the FLV to MP3. When finish, you will get a small window pop up and ask you to save the MP3 file on your machine. However, the file does not have extension, don’t panic, you just put the extension .mp3 afterward and every thing will work just fine!

Categories: Labs Tags: ,

Art of Communications

April 2, 2008 Leave a comment

Today I had a chance to attend a very good seminar about Art of Communications: Marketing you ideas. The presenter was Megan Gales, the director of communications. Her presentation was so great; the slides look stylish and persuasive. The slides were made by Keynote from mac. Please check this website for the power of this keynote, it’s amazing! I got entertained through the whole presentation.

I’m just wondering if can I make Powerpoint look very stylish like that of keynote?

Anyway, this is the first time I heard about the unit that can help UF students and faculty to create a great communications skill. They even have graphic consultant! Ummm…UF provides such a great facility for its community.

Categories: Academics, iDea, Labs Tags: ,

How to put YouTube video or Google video on your WordPress blog

March 28, 2008 Leave a comment

It’s simpler than you thought! Here it is

YouTube: Just go to the video you would like to put on your blog then copy the whole code in the “Embed” box to here. For example

<object width=”425″ height=”355″><param name=”movie” value=”“></param><param name=”wmode” value=”transparent”></param></object>

Then you copy only the URL,, and put it in the brackets like the example below.

and that’s it!

It goes the same way in Google video

Categories: Entertainment, Labs, Tutorials Tags: