Ask Your Question

jayemmar's profile - activity

2017-06-21 16:02:43 -0600 commented question Can't Get VS 2015 Installed

To L. Berger: What's your problem?! Somewhere along the openCV path, there's a folder named VC14. Where do the files in that folder come from ? Answer - They were generated by VS2015. So you see, it would be desireable to have VS2015 up and running to work with openCV 3.2 in a Windows environment. See the relevance ? Have you got a better header ?

jayemmar

2017-06-21 15:07:07 -0600 commented question Can't Get VS 2015 Installed

To L. Berger.

Don't the libraries stem from VS2014(which is actually VS2015). There's definitely some relevance here!

jayemmar

2017-06-21 14:47:15 -0600 asked a question Can't Get VS 2015 Installed

OpenCv 3.2 needs VS 2015, and I get errors when trying to install VS 2015 on my computer. The log file shows:

Error writing to file: Microsoft.Build.Conversion.Core.dll. Verify that you have access to that directory.

If I knew the folder into which the file needs to be written, I'd simply make sure writes are allowed for that directory.

I'm running Windows 7 Professional, and would appreciate any help.

Jayemmar

2017-06-20 15:30:03 -0600 asked a question Trouble Compiling and Linking With MSVS 2010

Hi: I'm a newcomer to openCV. I'd appreciate any help that anyone could give me.

I downloaded version 3.2 and opened up a project in MSVS in an attempt to compile and link the sample code given below, I got errors to the effect that the .hpp files, imgproc.hpp, and highgui.hpp could not be found.

Here are my questions:

  1. There seems to be several of these same named .hpp files located in different folders, so which one is supposed to be used ?

  2. How do you set the environment variables for this version ?

include <opencv2 imgproc.hpp="">

include <opencv2 highgui.hpp="">

include <math.h>

using namespace cv; using namespace std; int main(int argc, char** argv) { Mat img, gray; if( argc != 2 || !(img=imread(argv[1], 1)).data) return -1; cvtColor(img, gray, COLOR_BGR2GRAY); // smooth it, otherwise a lot of false circles may be detected GaussianBlur( gray, gray, Size(9, 9), 2, 2 ); vector<vec3f> circles; HoughCircles(gray, circles, HOUGH_GRADIENT, 2, gray.rows/4, 200, 100 ); for( size_t i = 0; i < circles.size(); i++ ) { Point center(cvRound(circles[i][0]), cvRound(circles[i][1])); int radius = cvRound(circles[i][2]); // draw the circle center circle( img, center, 3, Scalar(0,255,0), -1, 8, 0 ); // draw the circle outline circle( img, center, radius, Scalar(0,0,255), 3, 8, 0 ); } namedWindow( "circles", 1 ); imshow( "circles", img ); waitKey(0); return 0; }