diff --git a/openbr/core/eval.cpp b/openbr/core/eval.cpp index 30c3c68..b66801f 100755 --- a/openbr/core/eval.cpp +++ b/openbr/core/eval.cpp @@ -892,6 +892,8 @@ float EvalLandmarking(const QString &predictedGallery, const QString &truthGalle // Or the ground truth seems to be for another object in the image || (QtUtils::euclideanLength(predictedPoints[normalizationIndexA] - truthPoints[normalizationIndexA]) / normalizedLength >= 0.5) || (QtUtils::euclideanLength(predictedPoints[normalizationIndexB] - truthPoints[normalizationIndexB]) / normalizedLength >= 0.5) + // Or the predicted image FTE'd + || predicted[i].file.fte || predicted[i].file.getBool("FTE") ) { predicted.removeAt(i); predictedNames.removeAt(i); diff --git a/share/openbr/plotting/plot_utils.R b/share/openbr/plotting/plot_utils.R index e6fe528..16cb592 100644 --- a/share/openbr/plotting/plot_utils.R +++ b/share/openbr/plotting/plot_utils.R @@ -313,7 +313,7 @@ plotEERSamples <- function(imData=NULL, gmData=NULL) { plotLandmarkSamples <- function(displaySample=NULL, expData=NULL, extData=NULL) { print(plotImage(displaySample[[1]], "Sample Landmarks", sprintf("Total Landmarks: %s", displaySample[[1]]$value))) - column <- if(majorSize > 1) majorHeader else "File" + column <- if(majorSize > 1) majorHeader else minorHeader if (nrow(EXT) != 0 && nrow(EXP)) { for (j in 1:length(algs)) { truthSample <- readImageData(EXT[EXT[,column] == algs[[j]],])