Skip to content

Commit

Permalink
Updated the OpenCV example.
Browse files Browse the repository at this point in the history
  • Loading branch information
tritao committed Mar 27, 2013
1 parent b317629 commit ee4f197
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/OpenCV/OpenCV.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ class OpenCV : ILibrary
public void Setup(DriverOptions options)
{
options.LibraryName = "OpenCV";
options.Headers.Add("opencv.hpp");
options.Headers.Add("opencv2/core/core_c.h");
options.Headers.Add("opencv2/core/types_c.h");
options.IncludeDirs.Add("../../../examples/OpenCV/opencv/include/");
options.IncludeDirs.Add("../../../examples/OpenCV/opencv/include/opencv2");
options.IncludeDirs.Add("../../../examples/OpenCV/opencv/modules/core/include");
options.IncludeDirs.Add("../../../examples/OpenCV/opencv/modules/flann/include");
options.IncludeDirs.Add("../../../examples/OpenCV/opencv/modules/imgproc/include");
Expand All @@ -27,7 +27,6 @@ public void Setup(DriverOptions options)

public void Preprocess(Library lib)
{

}

public void Postprocess(Library lib)
Expand All @@ -37,7 +36,8 @@ public void Postprocess(Library lib)

public void SetupPasses(Driver driver, PassBuilder p)
{

p.FunctionToInstanceMethod();
p.FunctionToStaticMethod();
}

public void GenerateStart(TextTemplate template)
Expand Down

0 comments on commit ee4f197

Please sign in to comment.