Commit d0465cd4 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed small issues.

parent 1145e469
......@@ -74,7 +74,7 @@ class LRPCA (
return model_records
def save_model(self, model, model_file):
def write_model(self, model, model_file):
"""Saves the enrolled model to file using the pickle module."""
# just dump the model to .pkl file
utils.save_pickle(model, model_file)
......@@ -44,7 +44,6 @@ class LRPCA (
def _check_image(self, image):
assert isinstance(image, numpy.ndarray)
assert image.ndim == 2
assert image.dtype == numpy.uint8
def _py_image(self, image):
"""Converts the given image to pyvision images."""
Supports Markdown
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