-
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
Changes to make this more useful as an external library #10
Comments
Hello, @slensgra! Can you explain where you added destructor, please. I'm also faced with this problem. |
Hey @slensgra , I'd be happy to merge your PR! |
Great, let me get one ready. @Norfo See destructor in EDInterface at line 27 of EDInterface.cpp in the diff above |
@slensgra, thanks! By the way, @bbenligiray, do you have any plans to rewrite ED classes? As far as I understand, they are quite old. I faced with a problem that they cannot be used together with OpenCV4. In addition, there is a possibility to rewrite them with cuda support. |
The ED code was my coauthors' work and I barely wrapped it for this project. Cihan Topal had a student refactor it with C++ STL (https://github.com/CihanTopal/ED_Lib). As far as I know it's slightly slower, but I would prefer to use that for production. I think there is some ongoing work to integrate this version to OpenCV by third parties. Especially the edge segment detection part of the algorithm is considerably sequential, so it requires some modifications for a CUDA implementation. There is a proof of concept below from 2012, but I didn't see the code being released. |
I'd like to get the ROS node I have running put into a more finished state by separating out the STag code and the ROS wrapper. To get that node running I had to make a couple of changes to this code:
Stag
class has a vector ofMarker
objects which would increase in size indefinitely over all frames, so I made it clear the markersdetectMarkers
return the number of markers detectedmarkers
vector on theStag
class public to make the markers usable by other codeNULL
toSTAG_NULL
to avoid a compiler warningstag
namespace to avoid name collisions in client codePoseRefiner.cpp
code for the pose optimizationAre you interested in having these changes contributed back into your code? If so, I can do the separation work and improve the style of what I have then make a PR into this code. I could also add an alternate implementation for the windows specific code which would work on linux.
Here is a diff for your reference (messy but can be cleaned if you want the changes).
master...dartmouthrobotics:master
The text was updated successfully, but these errors were encountered: