2

Working for a billion dollar company!

Posted by Unknown on 7:38 AM in , , ,
We Indians are known for IT and geeks of geeks in computers. We walk and have fear of being kidnapped by some IT giant. We jump company to company , put up price and just this Saturday read an advertisement about a very huge company.
This company let us call it "The Company", has following features.

* It has over 500 employees

* 29 of them have been accused of spouse abuse.

* 7 have been arrested for fraud.

*19 have more than three criminal
cases pending against them .

*117 have been charged and are being investigated for Murder,Rape,Assault,
Extortion and Robbery.

* 71 cannot get credit or loans due to bad credit histories.

* 21 are current defendants on various lawsuits..

* 84 have been involved in offenses and have paid fines.

So are you willing to work for The Company?
Curious? Which company I am talking about?
Its none other than our parliament. I'm talking about 545 Lok Sabha members , they are supposed to represent you and me . This is how we are represented. Let us promise ourselves that in our own little ways we will strive for betterment of our nation.
Great leaders din't struggle for freedom to see this day, Gandhi told British that we can manage , we can run our own nation and today we stand here swathed in dirt and no one to clean.

Hats off to every govt servant who has been all his life loyal to his nation, you are real heroes. You will live with pride and die with honor.

----
Above facts might not be exact but intentions are.

0

Dedicated to MAA

Posted by Unknown on 10:30 AM
It goes in Urdu:
Aankh khule to chehra meri MAA ka ho,
Aankh bandh ho to sapna meri MAA ka ho,
Mein mar jaun to gham nahi lekin ,
Kafan mile toh dupatta meri MAA ka ho,
Rab ney MAA ko ye azmath kamal di,
Iski dua se aayi musibath bhi taal di,
Khuda ney MAA ke pyar ki aisi misal di,
Jannath utha ke MAA ke qadmon mein daal di.

2

Installing OpenCV on Windows7 64 bit

Posted by Unknown on 8:13 AM in , , , , ,
I'm using OpenCV 2.2 for my project that is Hand Gesture Recognition Interface and I had so many initial problems with the set up on a 64 bit system so decided to blog about it. OpenCV is no doubt a great tool for video and image processing but as its an open source it depends and behaves differently from one system to another.

This is what we did to install it on Windows 7 Home Premium 64 bit

Prerequisites :
1. OpenCV 2.2 for Windows download from sourceforge.net
2. CMake 2.8 to compile it to your environment
3. Visual Studio 2010.

Step I:
Install OpenCV :
1. Install OpenCV
2. Click on the set path for all users

Now your OpenCV is installed , by default it is installed in C drive

Step II:

Install Cmake
Click on Cmake GUI

1. In the " source code"text box -Give the path where your OpenCV was installed (By Def C:\OpenCV2.2)
2. In the next text box that is "where to build binaries"- Give a new path say
" C:\OpenCV2.2\build"
3. Click on Configure button and resolve the conflicts keep pressing it until Generate button is active.
4. Click on Generate.
5. For compilers choose from the drop down list according to the version of Visual Studio you have installed.

Now your build is ready.

Step III:
1. Start Visual Studio
2. Go to File-> Open->Project/Solution and navigate to
the build folder (C:\OpenCV2.2\build)
3. Choose OpenCV.sln , wait until it is ready
4. Go to Build and choose Build Solution

Step IV:
1. Create a new project(Win32 App)
2. Right click on the project (left panel) and select properties
3.Under "Configuration Properties" select "VC++ Directories"
4. Under "include" add "C:\OpenCV2.2\include" and "C:\OpenCV2.2\include\opencv"
5. Under "library " add "C:\OpenCV2.2\lib"
6.Under "Configuration Properties" select "Linker" and then "Input"
add "Additional dependencies"
opencv_core220d.lib
opencv_highgui220d.lib
opencv_video220d.lib
opencv_ml220d.lib
opencv_legacy220d.lib
opencv_imgproc220d.lib


This is when you know you have installed it as per your system's environment.
Then it is ready to run your helloworld equivalent in OpenCV -loading an image.
*/
------------
Running your first program:


Under Source section create a new "filename.cpp" file , debug and execute the following program
Store the image in the documents->visual studio->projects->firsprogram folder

#include cv.h
#include highgui.h
#include cxcore.h

int _tmain(int argc, _TCHAR* argv[])
{
IplImage* img = cvLoadImage( "Filename.jpg" ); //any image file
cvNamedWindow( "Example1", CV_WINDOW_AUTOSIZE );
cvShowImage("Example1", img);
cvWaitKey(0);
cvReleaseImage( &img );
cvDestroyWindow( "Example1" );
return 0;
}
------------

Copyright © 2009 High on Life All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.