I think you'll be pleasantly surprised, this is a thing!! I thought about making it but quickly decided computer vision wasn't up to the task yet. It seems I was horribly wrong: https://github.com/maciejczyzewski/neural-chessboard
Haven't tried it myself but it looks amazing