OpenCV

7
OpenCV

description

OpenCV. A software cum library used to implement GPU based operations using programming interface Supports a wide variety of programming languages like C++, Java, Python etc. Supports lots of algorithms in Computer Vision and Machine Learning. - PowerPoint PPT Presentation

Transcript of OpenCV

Page 1: OpenCV

OpenCV

Page 2: OpenCV

• A software cum library used to implement GPU based operations using programming interface

• Supports a wide variety of programming languages like C++, Java, Python etc.

• Supports lots of algorithms in Computer Vision and Machine Learning.

• Available on different platforms like Windows, Linux, OS X, Android, iOS, etc.

Page 3: OpenCV

Fun Facts• Stands for Open Computer Vision. (Yes, it is Open Source ! )

• Started in Intel by Gary Bradsky, in 1999.

• Released in 2000, when Vadim Pisarevsky joined Bradsky to head the Russian software OpenCV team.

• 2005, Stanley, the self-driven vehicle that won the DARPA Grand challenge, used OpenCV.

• OpenCV mentored GSoC 2013, to make tutorials for OpenCV-Python!!

Page 4: OpenCV

Sister Libraries

NumPy

Matplotlib

SciPy

Page 5: OpenCV

INSTALLATION....

(PITA)

Page 6: OpenCV

DOWNLOAD

UNZIP

COPY THE APPROPRIATE BIN FILE TO YOUR P-L BIN FOLDER

IMPORT/INCLUDE CV2

TEST SOME SAMPLE CODES LIKE IMREAD, IMSHOW, IMWRITE.

IF IT WORKS, BE AS HAPPY AS YOU CAN.

IF IT DOESN’T, TRY WITH A DIFFERENT VERSION.

IF IT STILL DOESN’T WORK, CURSE YOUR LUCK.

Page 7: OpenCV

Trust me, my entire summer was spent trying to just RUN OpenCV on my machine.

Statistics:

OpenCV worked after…

• 3 downloads of the same zip file from the same webpage,

• installing and reinstalling the same downloaded file 7 times.

• praying to god for 2 continuous days

• changing my python interpreter version 2 times

• God knows why but some website suggested Visual Studio to build it. I still tried it, because there was nothing else to do.

• Finally, I had to use an age old version of opencv and an earlier version of python..

IT WORKED!!