# coding: utf-8
import tr
import os

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

def test():
    os.chdir(_BASEDIR)
    print("recognize", tr.recognize("imgs/line.png"))
    txt = tr.run("imgs/line.png")[0][1]
    print(txt)
    

if __name__ == "__main__":
    test()

6decd90e1b11e15775352e3edd35d4b0ec61cab3
<mask token>


def test():
    os.chdir(_BASEDIR)
    print('recognize', tr.recognize('imgs/line.png'))
    txt = tr.run('imgs/line.png')[0][1]
    print(txt)


<mask token>

<mask token>


def test():
    os.chdir(_BASEDIR)
    print('recognize', tr.recognize('imgs/line.png'))
    txt = tr.run('imgs/line.png')[0][1]
    print(txt)


if __name__ == '__main__':
    test()

<mask token>
_BASEDIR = os.path.dirname(os.path.abspath(__file__))


def test():
    os.chdir(_BASEDIR)
    print('recognize', tr.recognize('imgs/line.png'))
    txt = tr.run('imgs/line.png')[0][1]
    print(txt)


if __name__ == '__main__':
    test()

import tr
import os
_BASEDIR = os.path.dirname(os.path.abspath(__file__))


def test():
    os.chdir(_BASEDIR)
    print('recognize', tr.recognize('imgs/line.png'))
    txt = tr.run('imgs/line.png')[0][1]
    print(txt)


if __name__ == '__main__':
    test()

# coding: utf-8
import tr
import os

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

def test():
    os.chdir(_BASEDIR)
    print("recognize", tr.recognize("imgs/line.png"))
    txt = tr.run("imgs/line.png")[0][1]
    print(txt)
    

if __name__ == "__main__":
    test()
