Skip to content
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

[Feature] opencv-contrib modules #140

Closed
41 of 42 tasks
cocoa-xu opened this issue Dec 7, 2022 · 4 comments · Fixed by #148
Closed
41 of 42 tasks

[Feature] opencv-contrib modules #140

cocoa-xu opened this issue Dec 7, 2022 · 4 comments · Fixed by #148
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cocoa-xu
Copy link
Owner

cocoa-xu commented Dec 7, 2022

I plan to add support for modules in opencv_contrib gradually. Of course, this would bring an inevitable question: not everyone will use modules in opencv_contrib, so including them in the precompiled binaries will increase the footprint.

Will it be feasible to have an :evision_contrib library in Elixir (like its python counterpart, where we have opencv-python and opencv-python-contrib)?

Modules (part 1)

  • barcode
  • dnn_superres
  • face
  • img_hash
  • plot
  • quality
  • rapid
  • sfm
  • shape
  • structured_light
  • text
  • tracking
  • xfeatures2d
  • ximgproc
  • xphoto

Modules (part 2)

  • aruco
  • bgsegm
  • bioinspired
  • hfs
  • line_descriptor
  • mcc
  • reg
  • rgbd
  • saliency
  • stereo
  • surface_matching
  • wechat_qrcode

Modules (part 3)

  • cudaarithm
  • cudabgsegm
  • cudacodec
  • cudafeatures2d
  • cudafilters
  • cudaimgproc
  • cudalegacy
  • cudaobjdetect
  • cudaoptflow
  • cudastereo
  • cudawarping
  • cudev

todo

@cocoa-xu
Copy link
Owner Author

cocoa-xu commented Dec 8, 2022

module hdf and freetype in the opencv_contrib will not include in the precompiled binaries because they depend on external libraries.

Nevertheless, it's possible to compile libhdf5 and ship it together.

@cocoa-xu
Copy link
Owner Author

cocoa-xu commented Dec 8, 2022

There are several ways we can take:

  • Including both opencv and opencv_contrib in the precompiled binaries.
  • Using an environment variable (or something in config.exs) as an indicator for whether to include opencv_contrib (both for precompilation and compiling from source).

@cocoa-xu cocoa-xu self-assigned this Dec 15, 2022
@cocoa-xu cocoa-xu added the enhancement New feature or request label Dec 15, 2022
@cocoa-xu cocoa-xu linked a pull request Dec 31, 2022 that will close this issue
@cocoa-xu cocoa-xu reopened this Jan 1, 2023
@cocoa-xu cocoa-xu modified the milestones: v0.1.26, v0.2.0 Jan 9, 2023
@cocoa-xu
Copy link
Owner Author

Some issues in v0.1.26-rc2. The name of these modules needs to be corrected.

@cocoa-xu
Copy link
Owner Author

v0.1.26 is shipped. I'll add examples and tests later!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant