"Executing", sort of, OpenCV


by solarblast
Tags: executing, opencv, sort
solarblast
solarblast is offline
#1
Feb12-14, 07:06 PM
P: 136
For those who are not aware of OpenCV, "Computer vision (CV) is a rapidly growing field, partly as a result of both cheaper and more capable cameras, partly because of affordable processing power..."

I'm trying to figure out OpenCV myself, and while doing so I noticed that MabLab CV programs exist. I figured then that maybe someone in this NG knows about it.

From what I know, OCV is really not executable. Instead it is a library that one uses with C++ and in someway for C in Linux. I'm a Windows user and have downloaded the OCV, and unzipped it. So what's next? Well, I think I need to install the OCV library, with some several thousand functions. Apparently, one uses functions and so on from the library to incorporate into a C++ or C program. I have not yet figured out how to unravel the library. Presumably I don't need all the functions. Anyway, can someone give me a clue to how to proceed.
Phys.Org News Partner Science news on Phys.org
Internet co-creator Cerf debunks 'myth' that US runs it
Astronomical forensics uncover planetary disks in Hubble archive
Solar-powered two-seat Sunseeker airplane has progress report
DavidSnider
DavidSnider is offline
#2
Feb12-14, 07:26 PM
PF Gold
P: 434
Without knowing what you intend to do with it it's hard to suggest a path.
http://docs.opencv.org/doc/tutorials/tutorials.html is a good place to start
Mark44
Mark44 is online now
#3
Feb12-14, 11:19 PM
Mentor
P: 21,075
Quote Quote by solarblast View Post
From what I know, OCV is really not executable.
It's executable, but it's not an application.
Quote Quote by solarblast View Post
Instead it is a library that one uses with C++ and in someway for C in Linux. I'm a Windows user and have downloaded the OCV, and unzipped it. So what's next?
As you note, it's a library with lots of functions. To use these functions you need to write in application in C, C++, Java, or whatever, that calls these functions. Necessarily you will need to know enough programming in one of the programming languages that is supported.
Quote Quote by solarblast View Post
Well, I think I need to install the OCV library, with some several thousand functions. Apparently, one uses functions and so on from the library to incorporate into a C++ or C program. I have not yet figured out how to unravel the library. Presumably I don't need all the functions. Anyway, can someone give me a clue to how to proceed.
DavidSnider's advice of looking at the tutorial on their web site is a good first step.

solarblast
solarblast is offline
#4
Feb14-14, 01:49 PM
P: 136

"Executing", sort of, OpenCV


Quote Quote by DavidSnider View Post
Without knowing what you intend to do with it it's hard to suggest a path.
http://docs.opencv.org/doc/tutorials/tutorials.html is a good place to start
My interest is for processing of video frames from meteors.
solarblast
solarblast is offline
#5
Feb14-14, 02:14 PM
P: 136
I made significant progress yesterday. Yes, OCV is a library functions that is used by C++, Java, C, and other languages. When the OCV install file is downloaded, it builds lib functions. They are called pre-built libraries. One can create libraries of their own. It looks like the last step is "To finalize the installation go to the Set the OpenCV enviroment variable and add it to the systems path section." There are some sample programs to test with. One seemingly importat one is <http://docs.opencv.org/trunk/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to>. It essentially is divided into two pieces. The second piece is the cpp code. I haven't read the first piece entirely, but it seems to be about setting up the library and software connections. Something to more fully read today.

BTW, I'm using Visual Studio C++ 2013.


Register to reply

Related Discussions
Suggestion "Linking to "crank" or "crackpot" sites is prohibited.", discussion. Forum Feedback & Announcements 10
In binary can we have a value with "deci" "centi" "mili" or more lower valued prefix? Computers 14
I am looking for a term to describe a sort of "optimization" that I am trying to do. Set Theory, Logic, Probability, Statistics 3
Masters in some sort of "Energy" discpline Academic Guidance 0
What sort of "vector" is this? Special & General Relativity 5