Skip to content
Snippets Groups Projects
Commit 68d4690b authored by Manuel Günther's avatar Manuel Günther
Browse files

Corrected function call to be API-compatible to Bob 1.0.3

parent 3ec39e67
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ have a Bob version yet, you can get it from: ...@@ -14,7 +14,7 @@ have a Bob version yet, you can get it from:
http://idiap.github.com/bob/ http://idiap.github.com/bob/
If you already have installed Bob, please make sure that you have at least If you already have installed Bob, please make sure that you have at least
the version 1.0.3, otherwise the example won't work. the version 1.0.4, otherwise the example won't work.
The AT&T image database is quite small, but sufficient to show how the face The AT&T image database is quite small, but sufficient to show how the face
verification methods work. Still, the results may not be meaningful. One good verification methods work. Still, the results may not be meaningful. One good
......
...@@ -36,7 +36,7 @@ def extract_feature(image): ...@@ -36,7 +36,7 @@ def extract_feature(image):
"""Extracts the DCT features for the given image""" """Extracts the DCT features for the given image"""
# compute shape of the image blocks # compute shape of the image blocks
block_shape = bob.ip.get_block_3d_output_shape(image, DCT_BLOCK_SIZE, DCT_BLOCK_SIZE, DCT_BLOCK_OVERLAP, DCT_BLOCK_OVERLAP) block_shape = bob.ip.get_block_shape(image, DCT_BLOCK_SIZE, DCT_BLOCK_SIZE, DCT_BLOCK_OVERLAP, DCT_BLOCK_OVERLAP)
image_blocks = numpy.ndarray(block_shape, 'float64') image_blocks = numpy.ndarray(block_shape, 'float64')
# fill image blocks # fill image blocks
......
...@@ -36,7 +36,7 @@ recipe = local.bob.recipe:config ...@@ -36,7 +36,7 @@ recipe = local.bob.recipe:config
; If you go for a relative path, remember this path is relative to the path ; If you go for a relative path, remember this path is relative to the path
; you are calling buildout from. This is normally the path that contains the ; you are calling buildout from. This is normally the path that contains the
; file 'setup.py' for your own package. ; file 'setup.py' for your own package.
install-directory = ../bob/build install-directory = /scratch/mguenther/Bob/cmake/trunk
; Some examples for Idiap: ; Some examples for Idiap:
;install-directory = /idiap/group/torch5spro/releases/bob-1.0.2/install/linux-x86_64-release ;install-directory = /idiap/group/torch5spro/releases/bob-1.0.2/install/linux-x86_64-release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment