The Turing Test Doesn’t Matter

Scientia Salon

turing testby Massimo Pigliucci

You probably heard the news: a supercomputer has become sentient and has passed the Turing test (i.e., has managed to fool a human being into thinking he was talking to another human being [1,2])! Surely the Singularity is around the corner and humanity is either doomed or will soon become god-like.

Except, of course, that little of the above is true, and it matters even less. First, let’s get the facts straight: what actually happened [3] was that a chatterbot (i.e., a computer script), not a computer, has passed the Turing test at a competition organized at the Royal Society in London. Second, there is no reason whatsoever to think that the chatterbot in question, named “Eugene Goostman” and designed by Vladimir Veselov, is sentient, or even particularly intelligent. It’s little more than a (clever) parlor trick. Third, this was actually the second time that a chatterbot passed…

View original post 2,075 more words


Install OpenCV in Ubuntu



A lot of people have been asking me about this, so I thought it would be easier to explain it through a written tutorial which you can follow easily.

A lot of websites, videos are available showing how to do this, but a majority of them lack some or the other installers!

So, this is a simple guide on how to install and compile one of the most famous computer vision software on your Ubuntu (11.0+) device!

Method 1: Crude method. Install all libraries and files one by one.

 10 Simple steps to have OpenCV running on your Ubuntu system: 

Step 1: Have your updates and upgrades at the newest level. Use:

sudo apt-get update

sudo apt-get upgrade

Step 2: You need something to build your libraries on. So, we use the Cross Platform Make or Cmake

sudo apt-get install cmake

Step 3: GUI’s would be created. Thus, we install the libgtk2.0 package. 

 sudo apt-get install libgtk2.0-dev

This would take some time. So, be patient.

Step 4: Next, we install python’s numpy library. It is used for scientific computations. Type in:

sudo apt-get install python-numpy

Step 5: Download the latest OpenCV version from the official page. Here is the link:

Extract it to your HOME  (home as in, not yours, Ubuntu’s home).

Step 6: In your terminal, enter the Extracted OpenCV folder using the cd command: 

 cd OpenCV-2.4.9 (Put in your folder name)

Step 7: Build your OpenCV package using cmake.


There are many types to build like debug, but here, we are using the type Build. Cmake install prefix is used to generate the make file.

Step 8: Use make on the Make File! A make file is a special shell command file. Simply type:


make install

This is going to take a lot of time!

Step 9: Editor: some of you might want to use eclipse. I personally prefer using sublime text.

for eclipse:

cd ..

sudo apt-get install eclipse

sudo apt-get install eclipse-cdt.

You can run it by simply typing eclipse and it would open.

Step 10: This is the most important step.

You need to export your libraries to the packages installed or while  running, your terminal would throw up an error saying, OpenCV Package not found.

Export packages and set path to lib.

 export LD_LIBRARY_PATH=/home/opencv/lib

export PKG_CONFIG_PATH=/home/opencv/lib/pkgconfig

And you are done!


Try a sample program using the nano editor.

type nano opencvtest.cpp

using namespace cv;

int main()

    Mat img = imread("/home/USER/Pictures/python.jpg",CV_LOAD_IMAGE_COLOR);

    return 0;

Compile it using:

g++ -ggdb `pkg-config --cflags opencv` -o `basename opencvtest.cpp .cpp` opencvtest.cpp `pkg-config --libs opencv`

For compiling an openCV code, you would have to always type the above lines. I prefer using a bash file instead of going through this boring stuff!

Next tutorial , I will show you how to create this bash file to make life simpler!