Hello,
Trying to run your detector on Mac OS X and so far I have managed to download the code, change some flags for new opencv and build the library by using CMake.
I want to build the library as a shared library so I can call it from python and use it to detect tags.
The Stag parts compile okay, but when the compilation gets to the ED/ED.cpp file it fails in the directory generally due to dependency on old opencv code (such as IplImage). Any ideas on how I can update the library to compile against new opencv?
Scanning dependencies of target STag
[ 4%] Building CXX object CMakeFiles/STag.dir/src/ED/ED.cpp.o
In file included from /Users/Vishesh/repos/tui-table/tags/stag/src/ED/ED.cpp:18:
/Users/Vishesh/repos/tui-table/tags/stag/src/ED/Utilities.h:22:14: error: unknown type name
'IplImage'
void RGB2Lab(IplImage *rgbImg, IplImage *labImg);
^
/Users/Vishesh/repos/tui-table/tags/stag/src/ED/Utilities.h:22:32: error: unknown type name
'IplImage'
void RGB2Lab(IplImage *rgbImg, IplImage *labImg);
^
There is also a dependency on windows.h in the Timer.h module. How do I convert this to mac?
Another question is whether this whole library can be wrapped for python or similar so that I can ignore main.cpp and write my own loop function there (and just use the library to run the detection algorithm).
Hello,
Trying to run your detector on Mac OS X and so far I have managed to download the code, change some flags for new opencv and build the library by using CMake.
I want to build the library as a shared library so I can call it from python and use it to detect tags.
The Stag parts compile okay, but when the compilation gets to the ED/ED.cpp file it fails in the directory generally due to dependency on old opencv code (such as
IplImage). Any ideas on how I can update the library to compile against new opencv?There is also a dependency on
windows.hin theTimer.hmodule. How do I convert this to mac?Another question is whether this whole library can be wrapped for python or similar so that I can ignore
main.cppand write my own loop function there (and just use the library to run the detection algorithm).