test_feat.py 368 Bytes
__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'))


if __name__ == '__main__':
    test_IntraBlockDiff()
    print 'helllo '