GITLAB

qijun / newdist

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • newdist
  • ImageR
  • imager
  • test
  • test_feat.py
  • 1f1943eb   initial commit Browse Code ยป
    qijun
    2016-01-06 21:41:27 +0800  
test_feat.py 368 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
__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 '