Merge pull request #131 from somacoder/master
ISO C++ forbids in-class initialization of non-const static member
This commit is contained in:
commit
150c20b917
2 changed files with 18 additions and 17 deletions
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2016, Carnegie Mellon University and University of Cambridge,
|
// Copyright (C) 2016, Carnegie Mellon University and University of Cambridge,
|
||||||
// all rights reserved.
|
// all rights reserved.
|
||||||
//
|
//
|
||||||
// THIS SOFTWARE IS PROVIDED “AS IS” FOR ACADEMIC USE ONLY AND ANY EXPRESS
|
// THIS SOFTWARE IS PROVIDED “AS IS” FOR ACADEMIC USE ONLY AND ANY EXPRESS
|
||||||
// OR IMPLIED WARRANTIES WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
// OR IMPLIED WARRANTIES WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||||
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS
|
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS
|
||||||
|
@ -15,13 +15,13 @@
|
||||||
// POSSIBILITY OF SUCH DAMAGE.
|
// POSSIBILITY OF SUCH DAMAGE.
|
||||||
//
|
//
|
||||||
// Notwithstanding the license granted herein, Licensee acknowledges that certain components
|
// Notwithstanding the license granted herein, Licensee acknowledges that certain components
|
||||||
// of the Software may be covered by so-called “open source” software licenses (“Open Source
|
// of the Software may be covered by so-called “open source” software licenses (“Open Source
|
||||||
// Components”), which means any software licenses approved as open source licenses by the
|
// Components”), which means any software licenses approved as open source licenses by the
|
||||||
// Open Source Initiative or any substantially similar licenses, including without limitation any
|
// Open Source Initiative or any substantially similar licenses, including without limitation any
|
||||||
// license that, as a condition of distribution of the software licensed under such license,
|
// license that, as a condition of distribution of the software licensed under such license,
|
||||||
// requires that the distributor make the software available in source code format. Licensor shall
|
// requires that the distributor make the software available in source code format. Licensor shall
|
||||||
// provide a list of Open Source Components for a particular version of the Software upon
|
// provide a list of Open Source Components for a particular version of the Software upon
|
||||||
// Licensee’s request. Licensee will comply with the applicable terms of such licenses and to
|
// Licensee’s request. Licensee will comply with the applicable terms of such licenses and to
|
||||||
// the extent required by the licenses covering Open Source Components, the terms of such
|
// the extent required by the licenses covering Open Source Components, the terms of such
|
||||||
// licenses will apply in lieu of the terms of this Agreement. To the extent the terms of the
|
// licenses will apply in lieu of the terms of this Agreement. To the extent the terms of the
|
||||||
// licenses applicable to Open Source Components prohibit any of the restrictions in this
|
// licenses applicable to Open Source Components prohibit any of the restrictions in this
|
||||||
|
@ -38,20 +38,20 @@
|
||||||
// reports and manuals, must cite at least one of the following works:
|
// reports and manuals, must cite at least one of the following works:
|
||||||
//
|
//
|
||||||
// OpenFace: an open source facial behavior analysis toolkit
|
// OpenFace: an open source facial behavior analysis toolkit
|
||||||
// Tadas Baltrušaitis, Peter Robinson, and Louis-Philippe Morency
|
// Tadas Baltrušaitis, Peter Robinson, and Louis-Philippe Morency
|
||||||
// in IEEE Winter Conference on Applications of Computer Vision, 2016
|
// in IEEE Winter Conference on Applications of Computer Vision, 2016
|
||||||
//
|
//
|
||||||
// Rendering of Eyes for Eye-Shape Registration and Gaze Estimation
|
// Rendering of Eyes for Eye-Shape Registration and Gaze Estimation
|
||||||
// Erroll Wood, Tadas Baltrušaitis, Xucong Zhang, Yusuke Sugano, Peter Robinson, and Andreas Bulling
|
// Erroll Wood, Tadas Baltrušaitis, Xucong Zhang, Yusuke Sugano, Peter Robinson, and Andreas Bulling
|
||||||
// in IEEE International. Conference on Computer Vision (ICCV), 2015
|
// in IEEE International. Conference on Computer Vision (ICCV), 2015
|
||||||
//
|
//
|
||||||
// Cross-dataset learning and person-speci?c normalisation for automatic Action Unit detection
|
// Cross-dataset learning and person-speci?c normalisation for automatic Action Unit detection
|
||||||
// Tadas Baltrušaitis, Marwa Mahmoud, and Peter Robinson
|
// Tadas Baltrušaitis, Marwa Mahmoud, and Peter Robinson
|
||||||
// in Facial Expression Recognition and Analysis Challenge,
|
// in Facial Expression Recognition and Analysis Challenge,
|
||||||
// IEEE International Conference on Automatic Face and Gesture Recognition, 2015
|
// IEEE International Conference on Automatic Face and Gesture Recognition, 2015
|
||||||
//
|
//
|
||||||
// Constrained Local Neural Fields for robust facial landmark detection in the wild.
|
// Constrained Local Neural Fields for robust facial landmark detection in the wild.
|
||||||
// Tadas Baltrušaitis, Peter Robinson, and Louis-Philippe Morency.
|
// Tadas Baltrušaitis, Peter Robinson, and Louis-Philippe Morency.
|
||||||
// in IEEE Int. Conference on Computer Vision Workshops, 300 Faces in-the-Wild Challenge, 2013.
|
// in IEEE Int. Conference on Computer Vision Workshops, 300 Faces in-the-Wild Challenge, 2013.
|
||||||
//
|
//
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -130,7 +130,7 @@ public:
|
||||||
double detection_certainty;
|
double detection_certainty;
|
||||||
|
|
||||||
// Indicator if eye model is there for eye detection
|
// Indicator if eye model is there for eye detection
|
||||||
bool eye_model = false;
|
bool eye_model;
|
||||||
|
|
||||||
// the triangulation per each view (for drawing purposes only)
|
// the triangulation per each view (for drawing purposes only)
|
||||||
vector<cv::Mat_<int> > triangulations;
|
vector<cv::Mat_<int> > triangulations;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// Copyright (C) 2016, Carnegie Mellon University and University of Cambridge,
|
// Copyright (C) 2016, Carnegie Mellon University and University of Cambridge,
|
||||||
// all rights reserved.
|
// all rights reserved.
|
||||||
//
|
//
|
||||||
// THIS SOFTWARE IS PROVIDED “AS IS” FOR ACADEMIC USE ONLY AND ANY EXPRESS
|
// THIS SOFTWARE IS PROVIDED “AS IS” FOR ACADEMIC USE ONLY AND ANY EXPRESS
|
||||||
// OR IMPLIED WARRANTIES WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
// OR IMPLIED WARRANTIES WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||||
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS
|
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS
|
||||||
|
@ -15,13 +15,13 @@
|
||||||
// POSSIBILITY OF SUCH DAMAGE.
|
// POSSIBILITY OF SUCH DAMAGE.
|
||||||
//
|
//
|
||||||
// Notwithstanding the license granted herein, Licensee acknowledges that certain components
|
// Notwithstanding the license granted herein, Licensee acknowledges that certain components
|
||||||
// of the Software may be covered by so-called “open source” software licenses (“Open Source
|
// of the Software may be covered by so-called “open source” software licenses (“Open Source
|
||||||
// Components”), which means any software licenses approved as open source licenses by the
|
// Components”), which means any software licenses approved as open source licenses by the
|
||||||
// Open Source Initiative or any substantially similar licenses, including without limitation any
|
// Open Source Initiative or any substantially similar licenses, including without limitation any
|
||||||
// license that, as a condition of distribution of the software licensed under such license,
|
// license that, as a condition of distribution of the software licensed under such license,
|
||||||
// requires that the distributor make the software available in source code format. Licensor shall
|
// requires that the distributor make the software available in source code format. Licensor shall
|
||||||
// provide a list of Open Source Components for a particular version of the Software upon
|
// provide a list of Open Source Components for a particular version of the Software upon
|
||||||
// Licensee’s request. Licensee will comply with the applicable terms of such licenses and to
|
// Licensee’s request. Licensee will comply with the applicable terms of such licenses and to
|
||||||
// the extent required by the licenses covering Open Source Components, the terms of such
|
// the extent required by the licenses covering Open Source Components, the terms of such
|
||||||
// licenses will apply in lieu of the terms of this Agreement. To the extent the terms of the
|
// licenses will apply in lieu of the terms of this Agreement. To the extent the terms of the
|
||||||
// licenses applicable to Open Source Components prohibit any of the restrictions in this
|
// licenses applicable to Open Source Components prohibit any of the restrictions in this
|
||||||
|
@ -38,20 +38,20 @@
|
||||||
// reports and manuals, must cite at least one of the following works:
|
// reports and manuals, must cite at least one of the following works:
|
||||||
//
|
//
|
||||||
// OpenFace: an open source facial behavior analysis toolkit
|
// OpenFace: an open source facial behavior analysis toolkit
|
||||||
// Tadas Baltrušaitis, Peter Robinson, and Louis-Philippe Morency
|
// Tadas Baltrušaitis, Peter Robinson, and Louis-Philippe Morency
|
||||||
// in IEEE Winter Conference on Applications of Computer Vision, 2016
|
// in IEEE Winter Conference on Applications of Computer Vision, 2016
|
||||||
//
|
//
|
||||||
// Rendering of Eyes for Eye-Shape Registration and Gaze Estimation
|
// Rendering of Eyes for Eye-Shape Registration and Gaze Estimation
|
||||||
// Erroll Wood, Tadas Baltrušaitis, Xucong Zhang, Yusuke Sugano, Peter Robinson, and Andreas Bulling
|
// Erroll Wood, Tadas Baltrušaitis, Xucong Zhang, Yusuke Sugano, Peter Robinson, and Andreas Bulling
|
||||||
// in IEEE International. Conference on Computer Vision (ICCV), 2015
|
// in IEEE International. Conference on Computer Vision (ICCV), 2015
|
||||||
//
|
//
|
||||||
// Cross-dataset learning and person-speci?c normalisation for automatic Action Unit detection
|
// Cross-dataset learning and person-speci?c normalisation for automatic Action Unit detection
|
||||||
// Tadas Baltrušaitis, Marwa Mahmoud, and Peter Robinson
|
// Tadas Baltrušaitis, Marwa Mahmoud, and Peter Robinson
|
||||||
// in Facial Expression Recognition and Analysis Challenge,
|
// in Facial Expression Recognition and Analysis Challenge,
|
||||||
// IEEE International Conference on Automatic Face and Gesture Recognition, 2015
|
// IEEE International Conference on Automatic Face and Gesture Recognition, 2015
|
||||||
//
|
//
|
||||||
// Constrained Local Neural Fields for robust facial landmark detection in the wild.
|
// Constrained Local Neural Fields for robust facial landmark detection in the wild.
|
||||||
// Tadas Baltrušaitis, Peter Robinson, and Louis-Philippe Morency.
|
// Tadas Baltrušaitis, Peter Robinson, and Louis-Philippe Morency.
|
||||||
// in IEEE Int. Conference on Computer Vision Workshops, 300 Faces in-the-Wild Challenge, 2013.
|
// in IEEE Int. Conference on Computer Vision Workshops, 300 Faces in-the-Wild Challenge, 2013.
|
||||||
//
|
//
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -536,6 +536,7 @@ void CLNF::Read(string main_location)
|
||||||
tracking_initialised = false;
|
tracking_initialised = false;
|
||||||
model_likelihood = -10; // very low
|
model_likelihood = -10; // very low
|
||||||
detection_certainty = 1; // very uncertain
|
detection_certainty = 1; // very uncertain
|
||||||
|
eye_model = false;
|
||||||
|
|
||||||
// Initialising default values for the rest of the variables
|
// Initialising default values for the rest of the variables
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue