Blame view

test/test_feat.py 368 Bytes
84648488   Chunk   reverted.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
__author__ = 'chunk'

from ..common import *

from ..mfeat import IntraBlockDiff

import os

package_dir = os.path.dirname(os.path.abspath(__file__))


def test_IntraBlockDiff():
    fibd = IntraBlockDiff.FeatIntraBlockDiff()
    print fibd.feat(os.path.join(package_dir, '../res/test3.jpg'))