opencv_contrib icon indicating copy to clipboard operation
opencv_contrib copied to clipboard

How can I contribute a new implementation of an algorithm to the opencv? (using a core math function)

Open RoyAmoyal opened this issue 3 years ago • 1 comments

How can I contribute an implementation of a new algorithm to the opencv?

Tell me if I'm right.

  1. fork this repository (should I fork the main repository of opencv too?)
  2. write my code/test
  3. pull request

and if I want to use a core math function (like norm or matrix decomposition) how can I use include them to use it in my code?

thanks!

RoyAmoyal avatar Apr 04 '22 20:04 RoyAmoyal

  1. See: https://github.com/opencv/opencv/wiki/How_to_contribute
  2. Yes, ideally a test focusing on algorithm precision compared to a reference or baseline implementation would be ideal.

For core Math fonction, maybe the Eigen lib could be sufficient. There are some contrib modules that should already use the Eigen lib.

catree avatar Apr 06 '22 14:04 catree