Getting Started with OpenCV for Windows Users

  • Thread starter Thread starter solarblast
  • Start date Start date
  • Tags Tags
    Sort
Click For Summary

Discussion Overview

The discussion revolves around getting started with OpenCV for Windows users, focusing on installation, usage, and programming with the library in C++ and other languages. Participants share their experiences and seek guidance on how to proceed with OpenCV, particularly in the context of video processing applications.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant notes that OpenCV is a library, not an executable application, and expresses uncertainty about how to proceed after downloading it.
  • Another participant emphasizes the need to know programming in supported languages like C, C++, or Java to utilize OpenCV functions.
  • A participant mentions their specific interest in using OpenCV for processing video frames from meteors.
  • One participant reports progress in understanding OpenCV, highlighting the importance of setting environment variables and referencing sample programs for installation guidance.
  • Links to OpenCV tutorials are shared as resources for getting started.

Areas of Agreement / Disagreement

Participants generally agree on the nature of OpenCV as a library and the necessity of programming knowledge to use it effectively. However, there is no consensus on the specific steps to take next, as different users have varying levels of experience and specific goals.

Contextual Notes

Some participants express uncertainty about the installation process and the need to understand which functions are necessary for their projects. There are references to specific programming environments and versions, which may affect the installation and usage experience.

Who May Find This Useful

This discussion may be useful for Windows users interested in computer vision, particularly those looking to use OpenCV for programming projects involving video processing.

solarblast
Messages
146
Reaction score
2
"Executing", sort of, OpenCV

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.
 
Technology news on Phys.org
solarblast said:
From what I know, OCV is really not executable.
It's executable, but it's not an application.
solarblast said:
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.
solarblast said:
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 website is a good first step.
 
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 environment 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.
 
Last edited by a moderator:

Similar threads

  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 4 ·
Replies
4
Views
8K
  • Sticky
  • · Replies 13 ·
Replies
13
Views
8K
Replies
1
Views
2K
Replies
3
Views
7K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K