Ask Your Question

Dreyk's profile - activity

2012-09-14 14:43:26 -0600 asked a question Installing OpenCV on Solaris

I'm trying to install OpenCV 2.4.2 on Solaris. But I have some issues.

I run:

export CFLAGS=-std=c99 
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D  BUILD_PYTHON_SUPPORT=ON ..

And all is ok. But when I run:

gmake 
[  1%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o
In file included from /export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/core.hpp:49,
                 from /export/home/Glimpuse/OpenCV-2.4.2/modules/core/src/precomp.hpp:50,
                 from /export/home/Glimpuse/OpenCV-2.4.2/modules/core/src/algorithm.cpp:43:
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:331:25: emmintrin.h: No such file or directory
In file included from /export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/core.hpp:49,
                 from /export/home/Glimpuse/OpenCV-2.4.2/modules/core/src/precomp.hpp:50,
                 from /export/home/Glimpuse/OpenCV-2.4.2/modules/core/src/algorithm.cpp:43:
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h: In function `int cvFloor(double)':
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:337: error: `__m128d' undeclared (first use this function)
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:337: error: (Each undeclared identifier is reported only once for each function it appears in.)
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:337: error: expected `;' before "t"
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:338: error: `t' undeclared (first use this function)
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:338: error: `_mm_cvtsd_si32' undeclared (first use this function)
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:339: error: `_mm_cvtsi32_sd' undeclared (first use this function)
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:339: error: `_mm_cmplt_sd' undeclared (first use this function)
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:339: error: `_mm_movemask_pd' undeclared (first use this function)
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h: In function `int cvCeil(double)':
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:355: error: `__m128d' undeclared (first use this function)
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:355: error: expected `;' before "t"
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:356: error: `t' undeclared (first use this function)
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:356: error: `_mm_cvtsd_si32' undeclared (first use this function)
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:357: error: `_mm_cvtsi32_sd' undeclared (first use this function)
/export/home/Glimpuse/OpenCV-2.4.2/modules/core/include/opencv2/core/types_c.h:357: error: `_mm_cmplt_sd' undeclared (first use this function)
/export/home/Glimpuse/OpenCV-2 ...
(more)
2012-09-12 15:00:28 -0600 commented answer FaceRecognition Class

Thank! I'll remove all the pre processing because that reduce the performance and is not needed. I'm going to rotate the face like the eyes and then use the FaceRecognizer with the Fisherface algorithm. I'm using a threshold of 300, maybe I can reduce that.

2012-09-12 13:23:50 -0600 commented answer FaceRecognition Class

Thank Philipp. So, I don't know why the recognizer is bad... The only improvement I can think of is to rotate the picture as the eyes.

2012-09-11 23:59:17 -0600 commented answer FaceRecognition Class

Thank for the answer. But my question was if I need, I don't know, equalize the histogram, applied a filter like a Gaussian or Median. Is needed pre processing the image like that?

2012-09-11 23:29:09 -0600 received badge  Student (source)
2012-09-11 14:43:41 -0600 asked a question FaceRecognition Class

Hi, I'am develop a FaceRecognizer on iOS. And I've a doubt, the Face Recognition algorithm in the class need a pre processing? Or the class do that for me?