simple_vehicle_counting icon indicating copy to clipboard operation
simple_vehicle_counting copied to clipboard

Visual Studio 2015 OpenCV320

Open waelfaroukahmed opened this issue 8 years ago • 4 comments

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

Regards

waelfaroukahmed avatar Apr 09 '17 19:04 waelfaroukahmed

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

andrewssobral avatar Apr 11 '17 22:04 andrewssobral

Thanks Andrew, i will try it today

waelfaroukahmed avatar Apr 13 '17 06:04 waelfaroukahmed

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 avatar Apr 20 '17 06:04 waelfaroukahmed

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

waelfaroukahmed avatar Apr 20 '17 09:04 waelfaroukahmed