Skip to content

Commit

Permalink
Fix header inclusion to support OpenCV3
Browse files Browse the repository at this point in the history
  • Loading branch information
gnebehay committed Jul 5, 2015
1 parent 06a6d61 commit e53c256
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion STRUCK/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ STRUCK is part of the [Visual Object Tracking Repository](https://github.com/gne
which aims at providing a central repository for state-of-the-art tracking algorithms that are freely available.
The source code for this tracker was obtained from its [project website](http://www.samhare.net/research/struck/code)
and extended by a challenge mode.
Additionally, the code was updated to use Eigen3.
Additionally, the code was updated to use Eigen3 and to support OpenCV 3.
The following description was copied literally from the original author.

README
Expand Down
1 change: 1 addition & 0 deletions STRUCK/src/ImageRep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <cassert>

#include <opencv/highgui.h>
#include <opencv2/imgproc/imgproc.hpp>

using namespace std;
using namespace cv;
Expand Down
2 changes: 1 addition & 1 deletion STRUCK/src/ImageRep.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

#include "Rect.h"

#include <opencv/cv.h>
#include <opencv2/core.hpp>
#include <vector>

#include <Eigen/Core>
Expand Down
4 changes: 3 additions & 1 deletion STRUCK/src/LaRank.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@

#include <Eigen/Core>

#include <opencv/highgui.h>
# include <opencv2/highgui/highgui.hpp>
# include <opencv2/imgproc/imgproc.hpp>

static const int kTileSize = 30;
using namespace cv;

Expand Down
2 changes: 2 additions & 0 deletions STRUCK/src/RawFeatures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#include "Sample.h"
#include "Rect.h"

#include <opencv2/imgproc/imgproc.hpp>

#include <iostream>

using namespace Eigen;
Expand Down
2 changes: 1 addition & 1 deletion STRUCK/src/Tracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include "LaRank.h"

#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <opencv2/highgui/highgui.hpp>

#include <Eigen/Core>

Expand Down

0 comments on commit e53c256

Please sign in to comment.