[Bug 725163] New: opencv extension is using the deprecated cv.h header

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Feb 25 08:07:19 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=725163
  GStreamer | gst-plugins-bad | git

           Summary: opencv extension is using the deprecated cv.h header
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: vincent.riera at imgtec.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


The opencv extension (ext/opencv) of gst-plugins-bad is using a deprecated
opencv header. This is what we find in the cv.h file:

//CV_WARNING("This is a deprecated opencv header provided for compatibility.
Please include a header from a corresponding opencv module") 

OpenCV recommends to include just the needed headers from
"opencv2/module_name/". For instance, if you need the imgproc OpenCV module,
you can do this:

#include <opencv2/imgproc/imgproc.hpp>

So..., could be possible to change the #includes of cv.h (which includes a lot
of OpenCV modules) and use the above method to include just the needed modules?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list