GITLAB

Chunk / ImageR

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • imager
  • test
  • test_feat.py
  • b69f7a48   staged. Browse Code ยป
    Chunk
    2015-07-06 18:28:35 +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 '