Commit 93a0f21d authored by Manuel Günther's avatar Manuel Günther

Removed runtime dependency of bob.io.image

parent 15998f2d
Pipeline #13230 passed with stages
in 11 minutes and 38 seconds
......@@ -11,7 +11,6 @@ I/O.
import os
from bob.db.base import File
import bob.io.base
import bob.io.image # required because our database has images
class Sample(File):
......@@ -58,6 +57,7 @@ class Sample(File):
def load(self, directory=None, extension=None):
'''Default loading routine - see :py:meth:`bob.db.base.File.load`'''
import bob.io.image
path = self.make_path(directory, extension)
return bob.io.base.load(path)
......
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