Skip to contents

Classify one square against a single template library

Usage

classify_square(square_img, lib)

Arguments

square_img

A magick image of one square.

lib

A template library from load_template_library().

Value

A FEN piece symbol, or "." for an empty square.