Wednesday, August 20, 2014

Practical feed

1. Don't take work more than you can do, just because you are excited doesn't mean you target something impossible. Although this rule is not applicable for someone who is willing to die for such research.

2. Be smart enough to show your work like a cold blooded intellectual

3. Health, both mental and physical is most important in life, because you can't do anything without health

4. You can't enjoy work, if you are always in struggle, creating some space for yourself is important

5. Have some goal worth going, imagine yourself on deathbed in old age, and pain and everything fleeting away, at that point when everything is crumbling, what would you be happy enough to accomplish? That's why have deeper dive in life by adventure rides, spirituality, mountain climbing etc. . . .

6. Have some limited quota of entertainment , don't become walking dead . . . 

7. If you really want to deal with people in general, treat them like your girlfriend and talk with that gentleness and yet caring . . . .

8. Keep updating and Keep learning

9. Best thing to do is to do your work for sake of work itself, like karma. . . .

10. Excitement must be kept happening independent of work and its results . . . . 

Thursday, August 7, 2014

Installing OpenCV in Ubuntu

OpenCV is very useful tool in Computer Vision. In order to install OpenCV, there are lot of prerequisites which are to be installed


I used following links just for prerequisites :

1. http://www.raben.com/book/export/html/3
2. http://miloq.blogspot.in/2012/12/install-opencv-ubuntu-linux.html

ALWAYS use latest version of opencv along with cuda in order to avoid unnecessary errors . . .  .

unzip it , lets say folder name is opencv2.4.9

cd opencv2.4.9
mkdir build
cd build

cmake -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=ON -D WITH_OPENGL=ON .. 


make
sudo make install 
 




Wednesday, August 6, 2014

Installing CUDA in Ubuntu

Note : Following steps work for Ubuntu 12.04 32 bit, and Cuda 6, for GPU Enabled PC.


Step 1 : Download appropriate .run file from https://developer.nvidia.com/cuda-downloads

Step 2 : Go to command mode by Cntl+Alt+F1

Step 3 : go to temp folder cd /tmp

Step 4 : delete all visible and invisible files

To view invisible files : ls - a, list them it is ls - l and for removing them command is rm -r *  and for removing other files don't forget to delete dot extended files which are not deleted by simple rm -r *, using extra command rm -r .* .

Step 5 : To run the .run extension, goto location , i.e cd ~/Downloads.
Give necessary permission by chmod 777 file.run followed by ./file.run and go through default steps, pressing enter for default paths and keep pressing enter to read through the report untill the status bar, stows 100% and actual installation begins. If it asks for reboot, type sudo reboot and follow the steps again . . .