Commit edc33db4681e20b6d1e2a335c9358d34315577bc

Authored by Josh Klontz
1 parent 9b8db88d

removed ipc2013

openbr/plugins/classification/ipc2013.cpp deleted
1   -#include <pxcaccelerator.h>
2   -#include <pxcface.h>
3   -#include <pxcimage.h>
4   -#include <pxcsession.h>
5   -
6   -#include <openbr/plugins/openbr_internal.h>
7   -
8   -using namespace br;
9   -
10   -static PXCSession *pxcSession = NULL;
11   -static PXCAccelerator *pxcAccelerator = NULL;
12   -
13   -/*!
14   - * \ingroup initializers
15   - * \brief Initializes Intel Perceptual Computing SDK 2013
16   - * \author Josh Klontz \cite jklontz
17   - */
18   -class IPC2013Initializer : public Initializer
19   -{
20   - void initialize() const
21   - {
22   - PXCSession_Create(&pxcSession);
23   - pxcSession->CreateAccelerator(&pxcAccelerator);
24   - }
25   -};
26   -
27   -BR_REGISTER(Initializer, IPC2013Initializer)
28   -
29   -/*!
30   - * \ingroup transforms
31   - * \brief Intel Perceptual Computing SDK 2013 Face Recognition
32   - * \author Josh Klontz \cite jklontz
33   - */
34   -class IPC2013FaceRecognitionTransform : public UntrainableTransform
35   -{
36   - Q_OBJECT
37   -
38   - void project(const Template &src, Template &dst) const
39   - {
40   - PXCImage::ImageInfo pxcImageInfo;
41   - pxcImageInfo.width = src.m().cols;
42   - pxcImageInfo.height = src.m().rows;
43   - pxcImageInfo.format = PXCImage::COLOR_FORMAT_RGB24;
44   -
45   - //PXCImage *pxcImage;
46   - //pxcAccelerator->CreateImage(&pxcImageInfo, 0, src.m().data, &pxcImage);
47   - }
48   -};
49   -
50   -BR_REGISTER(Transform, IPC2013FaceRecognitionTransfrom)
51   -
52   -#include "ipc2013.moc"
openbr/plugins/cmake/ipc2013.cmake deleted
1   -set(BR_WITH_IPC2013 OFF CACHE BOOL "Build with Intel Perceptual Computing SDK 2013")
2   -
3   -if(${BR_WITH_IPC2013})
4   - find_package(IPC2013 REQUIRED)
5   - set(BR_THIRDPARTY_LIBS ${BR_THIRDPARTY_LIBS} ${IPC2013_LIBS})
6   - install(DIRECTORY ${IPC2013_DIR}/bin/x64/ DESTINATION bin)
7   -else()
8   - set(BR_EXCLUDED_PLUGINS ${BR_EXCLUDED_PLUGINS} plugins/classification/ipc2013.cpp)
9   -endif()