After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 753940 - opencv: handdetect: haar cascade files path is wrong in gst-uninstalled
opencv: handdetect: haar cascade files path is wrong in gst-uninstalled
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 752528
Blocks:
 
 
Reported: 2015-08-21 16:46 UTC by Luis de Bethencourt
Modified: 2015-09-29 16:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for the gst-uninstalled script (796 bytes, patch)
2015-08-21 16:46 UTC, Luis de Bethencourt
committed Details | Review
patch for gsthanddetect.cpp (1.58 KB, patch)
2015-08-21 16:47 UTC, Luis de Bethencourt
committed Details | Review

Description Luis de Bethencourt 2015-08-21 16:46:16 UTC
Created attachment 309828 [details] [review]
patch for the gst-uninstalled script

When running handdetect from gst-uninstalled it won't find the haar cascade files. Add an environment variable and use this to have the correct paths by default.
Comment 1 Luis de Bethencourt 2015-08-21 16:47:28 UTC
Created attachment 309829 [details] [review]
patch for gsthanddetect.cpp

This patch is meant to be applied after merging the commits in:
https://bugzilla.gnome.org/show_bug.cgi?id=752528
Comment 2 Luis de Bethencourt 2015-09-29 15:56:58 UTC
Review of attachment 309828 [details] [review]:

commit 7c58eefb77bd78cd766c44de56bc69d3d606c386
Author: Luis de Bethencourt <luisbg@osg.samsung.com>
Date:   Fri Aug 21 17:42:52 2015 +0100

    gstreamer-uninstalled: add path for OpenCV haar cascade files

    Some OpenCV plugins use haar cascade files that are included in the
    GStreamer sources. To be able to use these from uninstalled, they need
    to be found through an environment variable.

    Adding this environment variable pointing to haar cascade files to
    gst-uninstalled.
Comment 3 Luis de Bethencourt 2015-09-29 16:02:40 UTC
Review of attachment 309829 [details] [review]:

commit 9bb76699e04cd612ae8ef3d7e2b8e9918d1778f7
Author: Luis de Bethencourt <luisbg@osg.samsung.com>
Date:   Tue Sep 29 17:00:22 2015 +0100

    handdetect: check for haar cascade files path

    When running GStreamer from uninstalled sources, the location of the haar
    cascade files will be local. Check if running in uninstalled and set the
    file paths accordingly.