+1
-1
@@ -17,7 +17,7 @@ if test "$PHP_FACEDETECT" != "no"; then
|
||||
PHP_ADD_INCLUDE($CV_INCLUDE)
|
||||
else
|
||||
if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists opencv4; then
|
||||
CV_INCLUDE=`$PKG_CONFIG opencv4 --variable=includedir_new`
|
||||
CV_INCLUDE=`$PKG_CONFIG opencv4 --variable=includedir`
|
||||
CV_LIBRARY=`$PKG_CONFIG opencv4 --libs`
|
||||
CV_VERSION=`$PKG_CONFIG opencv4 --modversion`
|
||||
if $PKG_CONFIG opencv4 --atleast-version=3.0.0 ; then
|
||||
|
||||
+4
-4
@@ -26,10 +26,10 @@ extern "C" {
|
||||
#include "ext/standard/info.h"
|
||||
#include "php_facedetect.h"
|
||||
|
||||
#include <opencv2/core/core.hpp>
|
||||
#include <opencv2/highgui/highgui.hpp>
|
||||
#include <opencv2/imgproc/imgproc.hpp>
|
||||
#include <opencv2/objdetect/objdetect.hpp>
|
||||
#include <opencv2/core.hpp>
|
||||
#include <opencv2/highgui.hpp>
|
||||
#include <opencv2/imgproc.hpp>
|
||||
#include <opencv2/objdetect.hpp>
|
||||
|
||||
|
||||
using namespace cv;
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário