Exemplo n.º 1
0
from tkinter import filedialog
from tkinter import *

# 최대 줄 수 설정
pd.set_option('display.max_rows', 2500)
# 최대 열 수 설정
pd.set_option('display.max_columns', 200)
# 표시할 가로의 길이
pd.set_option('display.width', 160)
# 출력값 소숫점4자리로 설정
pd.options.display.float_format = '{:.4f}'.format

deg2Rad = math.pi / 180
rad2Deg = 180 / math.pi

bcheck_match = objmatch_roi.match_intersection_roi()


def funcname():
    return sys._getframe(1).f_code.co_name + "()"


def callername():
    return sys._getframe(2).f_code.co_name + "()"


def print_current_time(text=''):
    tnow = dt.datetime.now()
    print('%s-%2s-%2s %2s:%2s:%2s \t%s' %
          (tnow.year, tnow.month, tnow.day, tnow.hour, tnow.minute,
           tnow.second, text))
 def __init__(self):
     print("*************initial make_gaze_and_roi class***********\n")
     self.debugflag = C_PRINT_ENABLE
     self.obj_mi = mi.match_intersection_roi()
     pass