SYMBOL INDEX (137 symbols across 17 files) FILE: board_basics.py class Board_basics (line 9) | class Board_basics: method __init__ (line 10) | def __init__(self, side_view_compensation, rotation_count): method initialize_ssim (line 22) | def initialize_ssim(self, frame): method load_ssim (line 76) | def load_ssim(self): method update_ssim (line 90) | def update_ssim(self, previous_frame, next_frame, move, is_capture, co... method get_square_image (line 111) | def get_square_image(self, row, column, method convert_row_column_to_square_name (line 121) | def convert_row_column_to_square_name(self, row, column): method square_region (line 136) | def square_region(self, row, column): method is_light (line 148) | def is_light(self, square_name): method get_potential_moves (line 160) | def get_potential_moves(self, fgmask, previous_frame, next_frame, ches... FILE: board_calibration.py function mark_corners (line 53) | def mark_corners(frame, augmented_corners, rotation_count): FILE: board_calibration_machine_learning.py function detect_board (line 7) | def detect_board(original_image, corner_model, piece_model, color_model): FILE: chessboard_detection.py class Board_position (line 10) | class Board_position: method __init__ (line 11) | def __init__(self, minX, minY, maxX, maxY): function find_chessboard (line 18) | def find_chessboard(): function auto_find_chessboard (line 46) | def auto_find_chessboard(): function is_white_on_bottom (line 59) | def is_white_on_bottom(current_chessboard_image): function get_square_image (line 68) | def get_square_image(row, column, board_img): function prepare (line 79) | def prepare(lines, kernel_close, kernel_open): function prepare_vertical (line 86) | def prepare_vertical(lines): function prepare_horizontal (line 92) | def prepare_horizontal(lines): function find_chessboard_from_image (line 98) | def find_chessboard_from_image(img): FILE: classifier.py class Classifier (line 7) | class Classifier: method __init__ (line 8) | def __init__(self, game_state): method classify (line 39) | def classify(self, img): method unit_gradients (line 88) | def unit_gradients(self, gray): method get_square_image (line 97) | def get_square_image(self, row, column, FILE: commentator.py class Commentator_thread (line 10) | class Commentator_thread(Thread): method __init__ (line 12) | def __init__(self, *args, **kwargs): method run (line 21) | def run(self): class Game_state (line 34) | class Game_state: method __init__ (line 36) | def __init__(self): method get_chessboard (line 48) | def get_chessboard(self): method get_square_image (line 58) | def get_square_image(self, row, column, method can_image_correspond_to_chessboard (line 69) | def can_image_correspond_to_chessboard(self, move, result): method find_premove (line 100) | def find_premove(self, result): method get_valid_move (line 120) | def get_valid_move(self, potential_starts, potential_arrivals, current... method has_square_image_changed (line 190) | def has_square_image_changed(self, old_square, method convert_row_column_to_square_name (line 198) | def convert_row_column_to_square_name(self, row, column): method convert_square_name_to_row_column (line 208) | def convert_square_name_to_row_column(self, square_name): method get_potential_moves (line 216) | def get_potential_moves(self, old_image, new_image): method register_move_if_needed (line 229) | def register_move_if_needed(self): method register_move (line 253) | def register_move(self, move, board_image): FILE: diagnostic.py function process (line 88) | def process(image): FILE: game.py class Game (line 16) | class Game: method __init__ (line 17) | def __init__(self, board_basics, speech_thread, use_template, make_opp... method initialize_hog (line 64) | def initialize_hog(self, frame): method detect_state_cnn (line 95) | def detect_state_cnn(self, chessboard_image): method check_state_cnn (line 118) | def check_state_cnn(self, result): method get_valid_2_move_cnn (line 135) | def get_valid_2_move_cnn(self, frame): method get_valid_move_cnn (line 164) | def get_valid_move_cnn(self, frame): method load_hog (line 189) | def load_hog(self): method detect_state_hog (line 199) | def detect_state_hog(self, chessboard_image): method get_valid_move_hog (line 220) | def get_valid_move_hog(self, fgmask, frame): method get_move_to_register (line 266) | def get_move_to_register(self): method is_light_change (line 275) | def is_light_change(self, frame): method check_state_hog (line 291) | def check_state_hog(self, result): method check_state_for_move (line 305) | def check_state_for_move(self, result): method check_state_for_light (line 319) | def check_state_for_light(self, result, result_hog): method get_valid_move_canny (line 335) | def get_valid_move_canny(self, fgmask, frame): method register_move (line 383) | def register_move(self, fgmask, previous_frame, next_frame): method learn (line 440) | def learn(self, frame): method get_valid_move (line 475) | def get_valid_move(self, potential_squares, potential_moves): FILE: gui.py function lichess (line 15) | def lichess(): function on_closing (line 25) | def on_closing(): function log_process (line 33) | def log_process(process, finish_message): function stop_process (line 56) | def stop_process(ignore=None): function diagnostic (line 62) | def diagnostic(ignore=None): function board_calibration (line 96) | def board_calibration(ignore=None): function start_game (line 138) | def start_game(ignore=None): function save_promotion (line 316) | def save_promotion(*args): function save_settings (line 377) | def save_settings(): function load_settings (line 383) | def load_settings(): FILE: helper.py function euclidean_distance (line 6) | def euclidean_distance(first, second): function perspective_transform (line 10) | def perspective_transform(image, pts1): function rotateMatrix (line 18) | def rotateMatrix(matrix): function auto_canny (line 29) | def auto_canny(image): function edge_detection (line 39) | def edge_detection(frame): function get_square_image (line 54) | def get_square_image(row, column, function contains_piece (line 66) | def contains_piece(square, view): function detect_state (line 88) | def detect_state(frame, view, roi_mask): function predict (line 100) | def predict(image, model): FILE: internet_game.py class Internet_game (line 6) | class Internet_game: method __init__ (line 7) | def __init__(self, use_template, start_delay, drag_drop): method move (line 16) | def move(self, move): method get_square_center (line 37) | def get_square_center(self, square_name): method convert_square_name_to_row_column (line 44) | def convert_square_name_to_row_column(self, square_name, is_white_on_b... method convert_row_column_to_square_name (line 52) | def convert_row_column_to_square_name(self, row, column, is_white_on_b... FILE: languages.py class English (line 4) | class English: method __init__ (line 5) | def __init__(self): method name (line 9) | def name(self, piece_type): method comment (line 23) | def comment(self, board, move): class German (line 56) | class German: method __init__ (line 57) | def __init__(self): method name (line 61) | def name(self, piece_type): method comment (line 75) | def comment(self, board, move): class Russian (line 108) | class Russian: method __init__ (line 109) | def __init__(self): method name (line 113) | def name(self, piece_type): method comment (line 127) | def comment(self, board, move): class Turkish (line 160) | class Turkish: method __init__ (line 161) | def __init__(self): method capture_suffix (line 165) | def capture_suffix(self, to_square): method from_suffix (line 175) | def from_suffix(self, from_square): method to_suffix (line 183) | def to_suffix(self, to_square): method comment (line 191) | def comment(self, board, move): class Italian (line 248) | class Italian: method __init__ (line 249) | def __init__(self): method name (line 253) | def name(self, piece_type): method prefix_name (line 267) | def prefix_name(self, piece_type): method comment (line 281) | def comment(self, board, move): class French (line 318) | class French: method __init__ (line 319) | def __init__(self): method name (line 323) | def name(self, piece_type): method comment (line 337) | def comment(self, board, move): FILE: lichess_commentator.py class Lichess_commentator (line 5) | class Lichess_commentator(Thread): method __init__ (line 7) | def __init__(self, *args, **kwargs): method run (line 16) | def run(self): class Game_state (line 24) | class Game_state: method __init__ (line 26) | def __init__(self): method register_move_if_needed (line 34) | def register_move_if_needed(self, stream): method register_move (line 56) | def register_move(self, move): method unregister_move (line 64) | def unregister_move(self): method from_position (line 73) | def from_position(self, fen): FILE: lichess_game.py class Lichess_game (line 8) | class Lichess_game: method __init__ (line 9) | def __init__(self, token): method move (line 33) | def move(self, move): FILE: main.py function waitUntilMotionCompletes (line 141) | def waitUntilMotionCompletes(): function stabilize_background_subtractors (line 155) | def stabilize_background_subtractors(): FILE: speech.py class Speech_thread (line 8) | class Speech_thread(Thread): method __init__ (line 10) | def __init__(self, *args, **kwargs): method run (line 15) | def run(self): method put_text (line 38) | def put_text(self, text): FILE: videocapture.py class Video_capture_thread (line 5) | class Video_capture_thread(Thread): method __init__ (line 7) | def __init__(self, *args, **kwargs): method run (line 12) | def run(self): method get_frame (line 19) | def get_frame(self):