Commit 85745824 authored by André Anjos's avatar André Anjos 💬

Fix tests after massive update

parent 2ae1c1ed
Pipeline #4074 passed with stages
in 36 minutes and 7 seconds
...@@ -75,7 +75,7 @@ def test_finger_crop(): ...@@ -75,7 +75,7 @@ def test_finger_crop():
img = bob.io.base.load(input_filename) img = bob.io.base.load(input_filename)
from bob.bio.vein.preprocessors.FingerCrop import FingerCrop from bob.bio.vein.preprocessor.FingerCrop import FingerCrop
preprocess = FingerCrop(fingercontour='leemaskMatlab', padding_width=0) preprocess = FingerCrop(fingercontour='leemaskMatlab', padding_width=0)
preproc, mask = preprocess(img) preproc, mask = preprocess(img)
...@@ -105,7 +105,7 @@ def test_miuramax(): ...@@ -105,7 +105,7 @@ def test_miuramax():
input_fvr = bob.io.base.load(input_fvr_filename) input_fvr = bob.io.base.load(input_fvr_filename)
# Apply Python implementation # Apply Python implementation
from bob.bio.vein.extractors.MaximumCurvature import MaximumCurvature from bob.bio.vein.extractor.MaximumCurvature import MaximumCurvature
MC = MaximumCurvature(5) MC = MaximumCurvature(5)
output_img = MC((input_img, input_fvr)) output_img = MC((input_img, input_fvr))
...@@ -130,7 +130,7 @@ def test_miurarlt(): ...@@ -130,7 +130,7 @@ def test_miurarlt():
input_fvr = bob.io.base.load(input_fvr_filename) input_fvr = bob.io.base.load(input_fvr_filename)
# Apply Python implementation # Apply Python implementation
from bob.bio.vein.extractors.RepeatedLineTracking import RepeatedLineTracking from bob.bio.vein.extractor.RepeatedLineTracking import RepeatedLineTracking
RLT = RepeatedLineTracking(3000, 1, 21, False) RLT = RepeatedLineTracking(3000, 1, 21, False)
output_img = RLT((input_img, input_fvr)) output_img = RLT((input_img, input_fvr))
...@@ -155,7 +155,7 @@ def test_huangwl(): ...@@ -155,7 +155,7 @@ def test_huangwl():
input_fvr = bob.io.base.load(input_fvr_filename) input_fvr = bob.io.base.load(input_fvr_filename)
# Apply Python implementation # Apply Python implementation
from bob.bio.vein.extractors.WideLineDetector import WideLineDetector from bob.bio.vein.extractor.WideLineDetector import WideLineDetector
WL = WideLineDetector(5, 1, 41, False) WL = WideLineDetector(5, 1, 41, False)
output_img = WL((input_img, input_fvr)) output_img = WL((input_img, input_fvr))
...@@ -178,7 +178,7 @@ def test_miura_match(): ...@@ -178,7 +178,7 @@ def test_miura_match():
probe_gen_vein = bob.io.base.load(probe_gen_filename) probe_gen_vein = bob.io.base.load(probe_gen_filename)
probe_imp_vein = bob.io.base.load(probe_imp_filename) probe_imp_vein = bob.io.base.load(probe_imp_filename)
from bob.bio.vein.algorithms.MiuraMatch import MiuraMatch from bob.bio.vein.algorithm.MiuraMatch import MiuraMatch
MM = MiuraMatch(ch=18, cw=28) MM = MiuraMatch(ch=18, cw=28)
score_gen = MM.score(template_vein, probe_gen_vein) score_gen = MM.score(template_vein, probe_gen_vein)
......
#!/usr/bin/env python #!/usr/bin/env python
# vim: set fileencoding=utf-8 : # vim: set fileencoding=utf-8 :
# @author: Manuel Guenther <Manuel.Guenther@idiap.ch> # Thu May 24 10:41:42 CEST 2012
# @date: Thu May 24 10:41:42 CEST 2012
#
# Copyright (C) 2011-2012 Idiap Research Institute, Martigny, Switzerland
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from nose.plugins.skip import SkipTest from nose.plugins.skip import SkipTest
......
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