Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio 2015 OpenCV320 #19

Open
waelfaroukahmed opened this issue Apr 9, 2017 · 4 comments
Open

Visual Studio 2015 OpenCV320 #19

waelfaroukahmed opened this issue Apr 9, 2017 · 4 comments

Comments

@waelfaroukahmed
Copy link

Hello Andrew,
Is this version compatible with OpenCV 320
Visual studio 2015?

Regards

@andrewssobral
Copy link
Owner

Hi @waelfaroukahmed , I submitted a new version of the code that is now supporting OpenCV 3.x. Please see my last commit and let me know if it works well for you. Best

@waelfaroukahmed
Copy link
Author

Thanks Andrew, i will try it today

@waelfaroukahmed
Copy link
Author

Hi Andrew
There is an exception in code which i can't understand
in line 42 demo.cpp
cv::imshow("Input", img_input);

Exception thrown at 0x00007FFBC83968D8 in ConsoleApplication5.exe: Microsoft C++ exception: cv::Exception at memory location 0x0000002ACFEFE320.

## My modifications for cv 320
`\package_tracking\cvblob\cvtrack.cpp
Replace line 26 like below
//#include <cv.h>
#include <opencv/cv.h>

\package_tracking\cvblob\cvlabel.cpp
Replace line 25 like below
//#include <cv.h>
#include <opencv/cv.h>

\package_tracking\cvblob\cvcontour.cpp
Replace line 32 like below
//#include <cv.h> 
#include <opencv/cv.h>

\package_tracking\cvblob\cvcolor.cpp
Replace line 25 like below
//#include <cv.h>
#include <opencv/cv.h>

\package_bgs\IBGS.h
Replace line 3 like below
//#include <cv.h>
#include <opencv/cv.h>
`
Regards

@waelfaroukahmed
Copy link
Author

Update
I was able to run in release configuration (Exception still show up in console),
Works as expected in release configuration

It works fine on video dataset,
Unfortunately i used another video and it didn't work

Is there is any document describe how to customize based on video

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants