xor eax, eax

Change the world or go home !!

A trip to Chennai on hold …

July3

For about half an year or so, I hv been planning to move out for a vaccation, to no success. Yea life sucks without a break. So finally I decided to take a break before I break my head. My cousins asked me to come down to chennai n I was missing them so much so I have finally decided that I ll visit them. Not that I didnt try to … earlier … but chennai was almost flooded with rain water n i decided to quit at the final moment when the train was bout to leave.

Second time I tried to get on was in mid June but finally I was meeting deadlines of a project we outsourced. I also planned for a cycle trip to vellore with Ganesp App a blogger from chennai… all in vain .. Now this the third time am trying to make a go .. lets see.

Gaming .. cmon tis just a game

June2

For days n months i have been pondering over n over for what kinda a fps game should we build. By now what we are sure of is .. that we will use OpenGl library. Well, usually, in most of fps games you kill enemy soldiers (Hidden and Dangerous, Swat), aliens (Alien vs predator), robots, giants(Dino 3D), or the zombies(Wolfenstein 3D). You either play single or as a team, a team against computer or a team against a team. The underlying motto remains the same – killing violently. Also games like "Grand Theft Auto" which relates to winning by crime than winning over crime, where armed carjacking, prostitution, assasination n realistic violence become a subject of criticism from parents, n many organisations.

Am usually asked why all this hand wringing to win over, by shooting your way out .Isnt it a waste of time ??? Well i cant explain why … If you are gamer n you have tasted it, you know it why. Tis addictive, I had been a slave to it for a while n gaming was the thing which pulled into computers, n computing and these days i do play games to refresh n restock my energy. It helps a lot to get me started.

One of the games which appeals me the most is "Hidden and Dangerous." Its a fine match of a team play to get the heck out of an enemy but only through a well devised strategy. Hidden and Dangerous is based on LS3D engine. Lately, i also tried Sniper Elite, taking time out of my busy schedule for recreation, n i dont regret it at all. It has Great Graphics. A few weeks ago i peeped in FarCry, another soldier based game, Stunning graphics it had, but the platform it demanded was extreme. Also it took around 4Gb of space. Too much isnt it. Though i was tempted to play it but i didnt want to jerk out my laptop's hardware n somehow managed to escape it.

When it comes to Strategy based games, Commandos is the best one i have played. If you have to win u gotta get everything right, be it strategy plan, timing, precision. In games like Swat (awarded tactical game award) gamers arent competing to kill enemy army but trying to save each n every person's life. You get a better score when u handcuff a terrorist than when you compromise him. Yep, all critics say – key element is to understand that every life is equally important. Thats what Swat follows.

A couple of months ago i saw a game from some japanese gaming company, where they used horror n emotions to push the limits of gaming. Where even a heart-throb counts. Intresting isnt it.Hehehe … a heart-throb counts everywhere, be it life, love or games. Well Thats gaming is all bout – Interesting encounters. In a game we never know where we gonna land up, the uncertainty plays an ace factor winning over all tensions we have to get us engrossed n ready for work.

Face Recognition Part III …

May25

Simple Face Recognition for Frontal Profile Faces

So we are nearing the end of it … the most important part of it – Face Recognition. Well by now the face is detected in a photograph but what bout recognising those faces in a series of images in the Visual Databasae. Half our work is already done What remains needs to involve Artificial Intelligence.
We apply many edge masks to all faces to get an Eigen Face.
Edge Mask is some what like this

1 1 1     1 1 0     1 0 1     0 1 1
0 0 0     0 0 0     0 0 0     0 0 0
0 0 0     0 0 0     0 0 0     0 0 0

1 0 0     1 0 0     1 0 0     0 0 0
1 0 0     1 0 0     0 0 0     1 0 0
1 0 0     0 0 0     1 0 0     1 0 0

and so on …

After applying these edge masks the resulting image is an Eigen Face.

This Eigen Face is then fed to the input units of an Back propagation Neural Network which is already trained with a database for determining a face from another face, n will come up with the name of the person the face is tagged with.

Thats all for today guys … Hopefully soon i ll come up with a working algo for all this. Until Then .. Good Bye !!!

Face Recognition Part II …

May25

Simple Face Detection

So far so good. So, Skin Recognition is done .. however there might be objects in the image which have the same skin color but arent faces.. what bout those .. so our detection isnt complete, we need to detect faces in those skin areas of the new image I.

To cope up with this we need to the image I on various scales at various points in order to locate a face in the whole image. Scanning is done in all directions – left to right, top to bottom, starting a width n height of the image n reducing it to the minimum size unit. Now this can be a lengthy process n is very processor hungry… it is suggested to scan only at center of all locations in the image I which has a non zero Sij.

Now how do we determine whether an area is a face or not. This is done by subtracting a face template F from the region of the raw image A. The face template is calculated by averaging the pixel values over a number of face example images. After doing this in all directions the resulting image is called an Eigen Face.

Eij = |Aij – Fij|

This Eigen Face is then fed to the input units of an Error Back propagation Neural Network which is already trained with a database for determining a face from a non-face.Yea things have suddenly started getting over us .. isnt it .. Well if you are still with me then onto to the next part of it … Yes the last n final and the most important part of it … Recognising Faces …
Determining whether it is you, me or someone else .. Riya's Face recognition does this on the fly when u manually tag some of the faces n click on to Automatic Recognition Feature … So lets get started as to how is that done n get our hands dirty, punching it out.

Face Recognition Part I …

May25

Skin Detection Algorithm

An image is scanned n stored in 80×80 pixel array, A (say).

This array is then passed through a RGB threshold function to get three intensity images in Red , Green n Blue.

Rij = Arij – Tr

Gij = Agij – Tg

Bij = Abij – Tb

Here Rij, Gij and Bij are the red, green and blue pixel intensity values at image co-ordinates (i,j)
Arij, Agij and Abij are the red green and blue pixel intensities of the raw image

Tr, Tg and Tb are threshold values for Red Blue n Green respectively.

If the resulting values of Rij, Gij or Bij are less than zero then they are set to zero.

Now a new image S is calculated from the three images calculated.

Sij = 2Rij – (Gij + Bij)

Here Sij represents the likelihood of a skin tone colour at coordinates (i,j).

Now a new image I is calculated based upon the skin tone likelihood and the original raw image. If the algo finds a skin tone then it copies the raw image pixel intensity
value to the new image.
If  ( Sij>0  and Prij + Pgij + Pbij < Tw ){

Iij = (Prij + Pgij + Pbij)  /  3

}
Here Tw is a threshold value used to eliminate bright white colours(gamma) from the image.
So now we have an image I in which on Skin recognised parts are visible … Not bad start at all .. Let go further … 

How Face Recognition works …

May25

Ever thought of how face recognition works ??? Riya’s face recognition might have surprised many but needs lil more tweaking … neway tis a good start … Have you ever wondered how face recognition works … The benefit of devising AI based sytem which is able to accurately recognise and locate objects / faces can really make a mark in computer vision technology.
All this needs lots of memory for all neccesary computations in order to process visual data out of the constraints of special light conditions n heavy costly gadgets for high resolution pictures.

Face / Object recognition is comparitively easier for special treated images where no other objects occlude, overlap or interfere with faces / objects in images… or that the background is not cluttered … however in realistic circumstances such things are quite obvious n cant be escaped for a robust algo.

Considering Riya’s Face recognition engine which considers all real time environments like objects, scenes n backgrounds, the best way, according to me, to track down a face in the whole image would be Skin Recognition.This is what their uploader does before uploading all images from your hard drives.l wouldnt have get onto how all this is done but since i got a few mails demanding the same i thought why not give it a try.. Believe me tis really simple …

Riya’s Ride-on to new techno cyberspace …

May25

So finally today i got sometime n i started playing with Riya's face n text reacognition. i started tagging faces with names n lil details like gender, email, and age. Everything seems to work fine except that Riya can only identify faces which have somewat frontal orientation. Riya allows both manual n automatic recognition. Ajax kungfu rules the interface … You can drag n drop using mouse or you can use ur tab key on the keyboard whichever suits your taste .. COOL .. yet one shortcoming that i found in Riya's interface was that they have assumed all users will have their desktop customised for 1024×768 or more. Seems their designers have overlooked the possibility.

You can keep on tagging images or use ur auto recognition feature .. watever u do the Riya's recognition engine keeps on working in the background … learning. Yet there is a stage in AI where more learning can also detoriate the recognition.Riya guys need to build better and better algorithms for recognising the trillions of faces which are getting pumped into it as fast as the available bandwidth will allow.

Riya's Uploader can be lil annoying at times coz it takes a lotta time uploading however it also has the advantage of providing the user a liberty to loaf around n in the meantime it uploads the snaps for them.

Now Riya or Flickr ??… Well am not telling that it's over between me and Flickr – I still think that Flickr is a very beautiful application and it's got many orders of magnitude in interface n functionality than Riya. Flickr is more userfriendly n artistic. If they somehow connect their visual database it ll make our life lot easier. After all both are tools that's fun to use.

I havent checked the community of Riya but i can expect that it has grown very fast.Am just waiting for the day when these Visual Database communities or public forums like Keyhole community where all users can upload such photos, recognize them n be able to track people all round the globe as to where they are right now .. Exciting isnt it …

i hv started building my app to achieve something like taht … yep my app was able to recognise faces using eigen faces in frontal profile however it still needs to track down faces in images of any size using Stero face detection..Yep all this needs lil time which am running short of these days .. neways .. lets hope for the best …

Flickr Vs Riya …

May23

Flickr , an amazing site for photo management n sharing it online…Flickr has an amazing interface … Ajax makes it so cool not refreshing the pages everytime it opens. Along with Picasa, a software from Google's Image Team it makes a deadly combination coz uploading is so easy and fast. Flickr has a very good interface n u can upload 1GB / month .. not bad at all …

I had seen Ajax app before (also coded some ajax) .. some were also showcased at Barcamp Delhi … n this app from Flickr wins the race.

Here is My Flickr page located.

A couple of weeks ago i stopped by Riya another site in same regard however this has an edge over flickr, Riya can tags photographs by face recognition .. exciting isnt it … i bet it is .. however i lately tried riya n their installer was too slow to install n as far as i know their uploader takes a lotta time uploading pics to cyberspace… but the idea of face recognition really appeals me since i have tasted a bit of face recog earlier using eigen faces .. tis really challenging. Good Stuff Riya guys … i have signed up for their account but havent installed their uploader yet. Will take another couple of weeks owing to the busy schedule i have.

However Riya's web app has again forced n tempted me to look n code for face recognition n i have started playing around with it. Hopefully i ll soon publish it on my webpage…

Content Specialist .. wat do ya say …

May23

Content Specialist for E-learning.Well … today I was offered the post of Content Specialist. Whether to join in or not is what is plagueing me. What is Content Specialist ? What does that mean ?? Well .. It means that if you develop software – in particular E-Learning n you can’t find the information you need, or say you need more information on a particular topic, then lemme know may be i can help you.

My job will be to write, edit, produce, and maintain within established timeframes and standards of quality and accuracy electronic and/or printed documentation for clients and staff.I ll have to design and create user documentation using both web and printed formats, develop and implement standards and procedures for end-user documentation preparation and publication, assist with planning and scheduling, and participate in software release team efforts and in testing user interfaces.

I’m gonna be your interface to question the excellent team of program writers helping them set priorities, by suggesting content and giving them feedback, and planning an overall documentation strategy… am goin to be the one asking you, what information you need, and how you want it to be told to others or in public.

I’m going to be annoying everyone by poking around, asking questions, trying to tweak things, trying out new ideas and usually making a nuisance of myself n get away telling everyone

" I’m doing it on your behalf."

Interesting isn't it … yep it is.

Well on to the real taste of it .. it asks a lotta hardwork .. I need to master central concepts, tools of inquiry, and structure of the disciplines of communication, mantaining currency in knowledge of the content area and skills of the same. tis gonna be a tough job… understanding major concepts, making assumptions, debates, processes of inquiry, of how student's world can influence their understanding and ways of knowing that are central to all disciplines, preparing our technical team for the global student community. The challenge coerced needs to be won by recognising multiple perspectives, conveying to learners how knowledge is developed from the vantage point of the knower.

The whole process of how the application of learning is useful, creating enthusiasm for all n how it connects in day to day life.

3D packages … grrrrrr … which one ???

May17

Which 3d package to opt for ??? well thats the question u get run over a hundred times if u are bout to start something related to 3d better get armed n have heart of a warrior

great graphics

Trying to fetch an answer to the question i hv decided to manually check all packages n come up with the pros n cons of each …

I have a long list to take care of but it sure is the best way to determine our needs. Finding a 3d artist is really a big pain n paying him wat he demands is bigger pain in the ass. Yep when u are planning to release ur own game it really gets hectic to ur work done from ur team. most of all when u dont know what are they upto. To find out i decided to get my hands dirty …

Packages which i have tried til date are

Blender
http://www.blender.org/

Maya
http://www.alias.com/eng/products-s…ple/index.shtml

3d Studio Max
http://www.discreet.com/3dsmax/try.html
Softimage XSI
http://www.softimage.com/products/EXP/HL2/

Lightwave

http://www.fxrsoft.com/default.asp?page=support/download_lightwave.html

n Packages i havent tried yet are..

Rhino 3D
www.rhino3d.com

Cinema 4D
http://www.maxon.net

Milkshape 3d
http://www.milkshape3d.com/

gmax
http://www.discreet.com/products/gmax/

Softimage XSI
http://www.softimage.com/products/exp/v3/

Houdini
http://www.sidefx.com/products/apprentice/index.html

Truespace
http://www.caligari.com/store/trueS…ate=STtrueSpace

Wings 3d
http://www.wings3d.com/

Silo
http://nevercenter.com/index.php/Downloads/504

« Older EntriesNewer Entries »