Coder Social home page Coder Social logo

Comments (6)

tomeic avatar tomeic commented on July 17, 2024

I also think that the image doesn't need to be undistored before going to the detector. Because EstimatePose also takes the "Distortion Coefficients". Basically corner detection on the distorted image and pose estimation with distortion compensation. Make sense Performance wise and also looks better. (with my current setup)
I guess it should be like that:
arucopatch

from vl.opencv.

joreg avatar joreg commented on July 17, 2024

indeed "SetDoCornerRefinement" or "SetCornerRefinementMethod" (not sure which one we should expect really) seem to be missing from the underlying opencvsharp wrapper. so this should be reported over at https://github.com/shimat/opencvsharp/issues

regarding order of undistort and markerdetection, yep that sounds plausible, will check that.

from vl.opencv.

joreg avatar joreg commented on July 17, 2024

regarding order of undistort and markerdetection: adapted the demo accordingly.

from vl.opencv.

ravazquez avatar ravazquez commented on July 17, 2024

@tomeic ,

After looking a bit into this, it seems as though the property is commented out in OpenCVSharp as you can see here: https://github.com/shimat/opencvsharp/blob/master/src/OpenCvSharp/Modules/aruco/DetectorParameters.cs#L251

I continued looking into it and noticed that starting with version 3.3.0 in opencv "doCornerRefinement" is missing, suggesting it was deprecated or dropped. This is most likely why OpenCVSharp commented it out.

Use this link and toggle between different versions with the dropdown at the top: https://docs.opencv.org/3.3.0/d1/dcd/structcv_1_1aruco_1_1DetectorParameters.html

Hope that helps clarify things a bit.

from vl.opencv.

clmens avatar clmens commented on July 17, 2024

using this nuget package with VL.OpenCV:

https://www.nuget.org/packages/OpenCvSharp3-AnyCPU/3.4.1.20181108

enables to setCornerRefinementMethods and thereby enables corner accuracies below integer accuarcy.
(i have not tested it currently but it shows the relevant nodes that are needed).

from vl.opencv.

ravazquez avatar ravazquez commented on July 17, 2024

Fixed by 63d4aae

from vl.opencv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.