Ask Your Question

ADarkDividedGem's profile - activity

2019-06-14 04:38:45 -0600 received badge  Notable Question (source)
2016-02-10 16:26:13 -0600 received badge  Popular Question (source)
2014-04-07 06:31:34 -0600 received badge  Self-Learner (source)
2014-04-07 06:31:34 -0600 received badge  Necromancer (source)
2014-04-06 08:27:34 -0600 received badge  Editor (source)
2014-04-06 08:26:00 -0600 answered a question pkg-config for Windows 7

After having a search around in the source files I found the following entry in CMakeList.text

# Generate opencv.pc for pkg-config command
include(cmake/OpenCVGenPkgconfig.cmake)

Looking in OpenCVGenPkgconfig.cmake has the following comment

#  The package name specified on the pkg-config command line is defined to
#      be the name of the metadata file, minus the .pc extension.

After compiling OpenCV with Visual Studio 2012 by following the instructions found in Installation in Windows tutorial the opencv.pc was found in the unix-install which might explain why its not available for window. It looks like opencv.pc contains the information returned by the pkg-config command line

# Package Information for pkg-config

prefix=C:/OpencCV/builds/install
exec_prefix=${prefix}
libdir=
includedir_old=${prefix}/include/opencv
includedir_new=${prefix}/include

Name: OpenCV
Description: Open Source Computer Vision Library
Version: 2.4.8
Libs:  ${exec_prefix}/x86/vc11/lib/opencv_calib3d248.dll ...
Cflags: -I${includedir_old} -I${includedir_new}

After editing the Cflags and Libs properties to include the full file path I used that in my Open Source project.

INCS = -IC:/OpencCV/builds/install/include/opencv -IC:/OpencCV/builds/install/include
LIBS = C:/OpencCV/builds/install/x86/vc11/lib/opencv_calib3d248.dll ...

Now it compiles correctly.

2014-02-09 08:56:23 -0600 asked a question pkg-config for Windows 7

I am wanting to compile an open source project that makes use of OpenCV and part of the make file includes the following lines.

INCS = `pkg-config --cflags opencv` 
LIBS = `pkg-config --libs opencv`

I have downloaded OpenCV but cant find the pkg-config executable. It looks like I will need to compile OpenCV and add pkg-config to my path for the make file to work.

What do I need to compile to get the pkg-config executable for Windows 7?

2013-09-30 02:14:08 -0600 received badge  Student (source)
2013-09-28 15:16:09 -0600 asked a question LBP Cascades for eyes nose and mouth

Hi,

I noticed there is a larger collection of Haar cascades than LBP cascades: https://github.com/Itseez/opencv/tree/master/data/haarcascades https://github.com/Itseez/opencv/tree/master/data/lbpcascades

Does anyone know where I can get my hands on a larger collection of LBP cascades e.g. eyes, nose and mouth? Chances are I might have to make my own, in which case would OpenCV be interested in adding them to the repository?

Thanks

2013-09-27 23:39:18 -0600 asked a question Testing done to OpenCV face detection

Hi

I want to compare how well the frontal face classifier provided in the OpenCV for Android sample works against the native face detection functionality built into Android phones.

Before I start is anyone aware of any testing already done to the frontal face classifier? This way I can then apply the same tests to the native Android face detection.

Thanks