Custom Search
Number of hits:

Tuesday, June 10, 2008

FREC - A little Face RECognition program

This is a little Face RECognition program I wrote with C++ and OpenCV.

The purpose of this program is to provide an extensible platform to develop
different face recognition and image pre-processing algorithms and test them with ease.

Currently this includes a couple of basic image pre-processing algorithms and
Eigen Method(See http://en.wikipedia.org/wiki/Eigenface) based face recognition system.

This can be run in interactive mode and in a Self Test mode.

I used the face db at here to test and the results are quite amazing !
The only outputs are Gnuplot scripts and data files (for now). I'll upload the colorful plots soon...

Download FREC
Download YConfigFile (this is a small lib to manage config files)
Download OpenCV


There are few things TODO.
- autotools to build
- some dependency with OpenCV internal headers. Try to remove
- write a couple of pre-processors for different purposes
- provide a decent results document

Monday, January 21, 2008

Break / Bypass download limit !! Hack the squid proxy :-)

Many http proxies enforce a download limit to users.e.g no downloads over 5MB
It is really horrible... if you can download 10 files of 1MB this is simply $%%%

while trying to figure out a workaround I found this very simple method...
why not fool the proxy saying we are downloading only small files ?

Here's a small script to do it. It works with squid proxies.
Download it from here

I wrote its initial version in C. However, it became quite difficult to install because of externel dependancies. But this will work if you have perl & curl which all systems usually have...

If you like this pls link to this page and make this popular... I'd like to see people removing this stupid download limit thing and make the www free !

enjoy breaking limits !!

pls report dead link to indikabandara19@(yahoo|gmail).com

Monday, January 14, 2008

Vim Tips & Tricks

There are so many excellent Vim Tips pages out there...
This is just a small collections of nice plugins/tools I use all the time
These come very handy if you are writing code on vim.


1. taglist(plugin) - Function browser in a seperate window ! looks like a bare minimum IDE !!!
http://vim-taglist.sourceforge.net/
2. cscope(external tool) - Calling/Called function browser, Find C symbols, Find function definitions
http://cscope.sourceforge.net/
3. ctags(external tool) - Generate tag file of C/C++/... functions and go to functions definitions on the fly
However taglist & cscope can do this too
http://ctags.sourceforge.net/

Thursday, January 10, 2008

Bought my new gadget ZTE-f152 !

ZTE - f152 cheap 3G phone... excellent features
far better than a regular one for the price
NOKIA, Sony phones are great.. but why are they so expensive?

This has ZTE - USB modem
connects to linux like a charm with usbserial stock module comes with FC6
(I only tested on FC6)
- #tail -f /var/log/messages
- #lsusb > before
- plug phone
- #lsusb > after
- compare before & after files and find the vendor & product id of new usb device
- #modprobe usbserial vendor=0xaaaa product=0xbbbb
- look at /var/log/messages for something like
.... usb 1-1: generic converter now attached to ttyUSB0 ....

- if modprobe above gave some error try modprobe -r usbserial before plugging phone
- if all goes well fire up kppp/wvdial with the new modem /dev/ttyUSB0



Comes with a phone manager software for XP
works with gammu/wammu too!
Phone Home page
http://www.zte.com.au/main/F152.htm

Additional info about Linux compatible mobile phones
TuxMobil - Linux on laptops, PDAs, mobile phones

Thursday, August 02, 2007

What is 19 about me?

Why do i have 19 appended for most of my mail IDs, www sites etc?
u thought about that too?(well that's surprising...)
anyway, it is not because i started this when i was 19 or i was born in 1919.
In fact 19 is my LUCKY number. i was born in december 19, my employee ID sums upto 19 and my uni ID used to sum up to 19 .... and the list goes on.. pretty strange huh?

Wednesday, August 09, 2006

Change of phone number 08/08/2006

Changed my phone number to +94 77 344 50 80 . i know u tried my old no and got frustrated and still trying... sorry

Thursday, June 22, 2006

at last ... uni days r over

its time to say good bye to my beloved campus... will be leaving this place in couple of months time

started blog 22/06/2006

every odd bugger seems to have a blog these days... so why not ME!