-
Notifications
You must be signed in to change notification settings - Fork 52
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
Help compiling and running on mac os x #15
Comments
hi! i just pull request a branch to build in macos , please refer to this link |
^ took a look. seems like you have made changes for windows.h and Timer.h modules, which is helpful. Also, once you did get it to build, how are you using this package as a detector? Have you wrapped it, or are you writing your own c++ code and linking it against this library yourself? It would be somewhat difficult for me to maintain my own c++ code using the |
I just also got this repositary, so that do not know more details about it. stag.detectMarkers(image);
stag.logResults("");
In most of my time, i use it as a library within my own c++ code. You can use pybind11 to warp it for python. |
Thanks for the response. Have you found a way around this? |
I have not met this problem. It �seems like that Sloving this problem well cost a bunch of time. the version of my opencv is |
OK, that is helpful
I will investigate if it's possible for me to have both opencv 3 and opencv
4 installed on my machine...
…On Tue, Mar 16, 2021 at 1:15 AM Sologala ***@***.***> wrote:
I have not met this problem. It �seems like that Sloving this problem well
cost a bunch of time. the version of my opencv is 3.4.13, and My
environment won't be later version for the time being. Nevertheless, I will
publish it If I met it and successfully tackle it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWLKJNBW32273FKXZT5V63TD4HRXANCNFSM4XXYCYWA>
.
|
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.h
in theTimer.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).The text was updated successfully, but these errors were encountered: