Code Monkey home page Code Monkey logo

opencv_contrib's People

Watchers

 avatar  avatar

opencv_contrib's Issues

Dependencies required only by samples are mandatory

  1. Currently ml and flann are mandatory dependencies, but they are required only by an example.
    Add them as dependencies only if building examples.

  2. Currently text (OCR) module is an optional dependency. However, it's required by an example and that example will fail to build if this module is not selected in the build. So it should be a dependency only when building examples, and a mandatory one when doing so.

dnn_objdetect: Clean up dependencies

This module does not really depend on anything but its CMakelists contains:

  • dnn
  • imgproc
  • highgui
  • imgcodecs

and module header too includes them.

All these dependencies are required only by its examples. Make them conditional in CMakelists and remove their #includes.

cnn_3dobj: clean up dependencies

Add missing required dependencies to CMakeLists:

  • imgcodecs

Remove unused dependencies:

  • highgui
  • calib3d

Move other dependencies to samples only:

  • features2d
  • viz

Remove unnecessary #includes from header file.

Remove highgui as optional dependency from dpm module

Only samples use highgui. However, marking it as an optional dependency is not correct, because optional should be used only if module can build even if dependency is not included in the build. For dpm samples, highgui is actually a mandatory dep because it doesn't build if highgui is not included.

There's no need to make it a mandatory dependency either since highgui is included anyway as automatic dependency when building examples, and if highgui is not included in build, samples are not built.

Remove highgui as optional dependency from bioinspired module

Only bioinspired samples use highgui. However, marking it as an optional dependency is not correct, because optional should be used only if module can build even if dependency is not included in the build. For bioinspired samples, highgui is actually a mandatory dep because it doesn't build if highgui is not included.

There's no need to make it a mandatory dependency either since highgui is included anyway as automatic dependency when building examples, and if highgui is not included in build, samples are not built.

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.