If you want to setup correctly your OpenCV development environment on Ubuntu. It is worthy to follow the steps described in this website.
Archive for the ‘Ubuntu’ Category
Ubuntu 9.10 “Karmic Koala” release
Ubuntu 9.10 Desktop, Server and Netbook editions have been released today. The new version is starting even faster than the previous one, is using the ext4 file system by default, the GNOME 2.28 desktop environment and the GRUB 2 boot manager, it comes with a lot of software updates. Outstanding are the new Ubuntu Software Center and Ubuntu One, the cloud system. To learn about the new features have a look at the feature overview.
To download Ubuntu 9.10 or to obtain CDs see: Get Ubuntu. For instructions on upgrading visit: Upgrading to Ubuntu 9.10.
Upgrades to the latest version of Ubuntu are entirely free of charge as always.
To get more information, visit www.ubuntu.com.
Recursively add new files to svn repository
It very hard to add newly created files one-by-one to the repository specially if you don’t know exactly what you added.
This terminal combination of command allow the recursive new files adding .
svn status | grep "^\?" | sed -e 's/? *//' | sed -e 's/ /\\ /g' | xargs svn add
Recursively removing .svn folders
Some time I would like to unversion a working copy of my subversion project. I know there is a way to get it from svn commands but this how bash or terminal do it:
This a handy script to delete all .svn hidden directories
#!/bin/sh echo "recursively removing .svn folders from" pwd rm -rf `find . -type d -name .svn`
Ubuntu: installing Opencv from source step-by-step
To install OpenCV library in Ubuntu from source, I tried these steps. The code of OpenCV is not the last but the one which is in the Ubuntu repository. If you want to install the last version just download it from the official SVN in sourceforge.
[ad#Amazon Opencv]
You can install opencv anywhere but its best you put in the propoer place
1) Sign as root
sudo su
2) Go to
cd /usr/local/src
3) prepare your environment
apt-get install build-essential
4) prepare your environment
apt-get install dpkg-dev
5) Download opencv packages
apt-get source opencv
6) Go to extracted opencv folder
cd opencv-1.0
7) List all dependency package informed in
more /debian/control
Install all dependency package informed in /debian/control by invoking
apt-get install [package-1] package-2] [packga-3] ... [package-n]
9) Also install other necessary package
apt-get install fakeroot ffmpeg quilt
10) Build package by invoking
dpkg-buildpackage -us -uc -rfakeroot
11) Go to samples folder
cd /samples/c
12) Build samples
make -f Makefile.debian
13) Plug in your webcam and run the samples
./facedetect
14) See you face detected in monitor

