From edc33db4681e20b6d1e2a335c9358d34315577bc Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Tue, 31 Aug 2021 12:00:10 -0600 Subject: [PATCH] removed ipc2013 --- openbr/plugins/classification/ipc2013.cpp | 52 ---------------------------------------------------- openbr/plugins/cmake/ipc2013.cmake | 9 --------- 2 files changed, 0 insertions(+), 61 deletions(-) delete mode 100644 openbr/plugins/classification/ipc2013.cpp delete mode 100644 openbr/plugins/cmake/ipc2013.cmake diff --git a/openbr/plugins/classification/ipc2013.cpp b/openbr/plugins/classification/ipc2013.cpp deleted file mode 100644 index 1432467..0000000 --- a/openbr/plugins/classification/ipc2013.cpp +++ /dev/null @@ -1,52 +0,0 @@ -#include -#include -#include -#include - -#include - -using namespace br; - -static PXCSession *pxcSession = NULL; -static PXCAccelerator *pxcAccelerator = NULL; - -/*! - * \ingroup initializers - * \brief Initializes Intel Perceptual Computing SDK 2013 - * \author Josh Klontz \cite jklontz - */ -class IPC2013Initializer : public Initializer -{ - void initialize() const - { - PXCSession_Create(&pxcSession); - pxcSession->CreateAccelerator(&pxcAccelerator); - } -}; - -BR_REGISTER(Initializer, IPC2013Initializer) - -/*! - * \ingroup transforms - * \brief Intel Perceptual Computing SDK 2013 Face Recognition - * \author Josh Klontz \cite jklontz - */ -class IPC2013FaceRecognitionTransform : public UntrainableTransform -{ - Q_OBJECT - - void project(const Template &src, Template &dst) const - { - PXCImage::ImageInfo pxcImageInfo; - pxcImageInfo.width = src.m().cols; - pxcImageInfo.height = src.m().rows; - pxcImageInfo.format = PXCImage::COLOR_FORMAT_RGB24; - - //PXCImage *pxcImage; - //pxcAccelerator->CreateImage(&pxcImageInfo, 0, src.m().data, &pxcImage); - } -}; - -BR_REGISTER(Transform, IPC2013FaceRecognitionTransfrom) - -#include "ipc2013.moc" diff --git a/openbr/plugins/cmake/ipc2013.cmake b/openbr/plugins/cmake/ipc2013.cmake deleted file mode 100644 index 617ac4d..0000000 --- a/openbr/plugins/cmake/ipc2013.cmake +++ /dev/null @@ -1,9 +0,0 @@ -set(BR_WITH_IPC2013 OFF CACHE BOOL "Build with Intel Perceptual Computing SDK 2013") - -if(${BR_WITH_IPC2013}) - find_package(IPC2013 REQUIRED) - set(BR_THIRDPARTY_LIBS ${BR_THIRDPARTY_LIBS} ${IPC2013_LIBS}) - install(DIRECTORY ${IPC2013_DIR}/bin/x64/ DESTINATION bin) -else() - set(BR_EXCLUDED_PLUGINS ${BR_EXCLUDED_PLUGINS} plugins/classification/ipc2013.cpp) -endif() -- libgit2 0.21.4