Skip to content

Remove high gui requirement from most modules #852

@vade

Description

@vade
System information (version)
  • OpenCV => 3.1
  • Operating System / Platform => Mac OS X 10.12.1
  • Compiler => Xcode 8.1
Detailed description

Attempting to integrate OpenCV Contrib into an application under development, and wanting the Saliency API. However, my app in aims to be slim, removes unnecessary dependencies from OpenCV like highgui and thus img_codecs, video_io and things my app provides.

However, compilation for most of the contrib modules requires highgui, which cascades a huge chain of dependencies and thus, in some cases, bloat depending on what you actually need.

Module opencv_saliency disabled because opencv_highgui dependency can't be resolved!

/Users/vade/Downloads/opencv-3.1.0/modules/videoio/src/cap_qtkit.mm:46:9: fatal error: 'QTKit/QTKit.h' file not found

Is highgui (which requires video_io, which requires Quicktime, which is deprecated) actually required for specific features, or is this a dependency chain nuance that could be "disentangled"

Thank you for all the work on this, OpenCV is amazing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions