Commit 1ac058bd authored by Zohreh MOSTAANI's avatar Zohreh MOSTAANI

[vuln] minor fixes in format

parent 080cb1c0
......@@ -9,7 +9,6 @@ from bob.bio.base.database import FileListBioDatabase
from bob.bio.video.database import VideoBioFile
from bob.bio.video import FrameSelector
from bob.io.base import HDF5File, create_directories_safe
from bob.extension import rc
from bob.pad.face.preprocessor.FaceCropAlign import detect_face_landmarks_in_image
import numpy as np
......@@ -25,7 +24,7 @@ logger.setLevel(logging.INFO)
class File(VideoBioFile):
"""
The file interface for rgb data.
The file interface for RGB data.
"""
def load(self, directory=None, extension=None,
......@@ -43,7 +42,7 @@ class File(VideoBioFile):
class AIMVulnDataset(FileListBioDatabase):
"""
A high level implementation of a Database class for AIM dataset used for vulnurabitliy analysis.
A high level implementation of a Database class for AIM dataset used for vulnerability analysis.
"""
......@@ -66,7 +65,7 @@ class AIMVulnDataset(FileListBioDatabase):
**Parameters:**
``original_directory`` : str or None
original directory refers to the location of AIM_vulun parent directory
original directory refers to the location of AIM_vuln parent directory
``original_extension`` : str or None
extension of original data
......
......@@ -11,7 +11,6 @@ Options:
-o <path>, --output=<path> The path to which the plots will be saved [default: ]
"""
import os
from docopt import docopt
import bob.measure
......@@ -20,7 +19,6 @@ import numpy as np
from bob.bio.base.score.load import load_score
from matplotlib import gridspec
#--------------------------------------------------------------------
# Here are the global names used for the plots
......@@ -41,6 +39,7 @@ hist_plot_ylabel = 'Normalized Count'
#--------------------------------------------------------------------
# separating genuine and makeup scores
def return_similarity_scores(scores):
'''
Separates the necessary scores from the score list for genuine and makeup.
......@@ -56,6 +55,8 @@ def return_similarity_scores(scores):
#--------------------------------------------------------------------
# plotting the box-plot
def plot_box_plot(gen_scores, makeup_scores, output):
'''
The box plots to show the effect of makeup on FR system
......@@ -108,6 +109,8 @@ def plot_box_plot(gen_scores, makeup_scores, output):
#--------------------------------------------------------------------
# plotting the histogram
def plot_histogram(gen_scores, makeup_scores, output):
'''
The histogram to show the effect of makeup on FR system
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment