Go board recognition in nodejs