Show HN: Scannable Chess Scoresheets
51–60 of 74 posts
Re: Show HN: Scannable Chess Scoresheets
#52This is cool. One thing I keep hoping either exists now or will soon is the ability to take a photo of an actual board position and get a FEN string out (or just directly send it to Stockfish and get an evaluation). It'd be really helpful to quickly analyze positions when I'm trying to help my kids out, cos we don't generally keep notation and I'm not always confident that my advice on a position is blunder-free.
Re: Show HN: Scannable Chess Scoresheets
#53Re: Show HN: Scannable Chess Scoresheets
#54Earlier quoted context omitted.
The way we check legality and adjust is with the character recognition. We use the second highest and third highest confidence characters. So, if you write a 5 and the model recognizes it as a 5 and then a 6 and 7, but really it's a 4, we can't help. This is because we'd add moves exponentially every time we add that many combinations
I don't get it. If Bg5 is an illegal move then the recognition is obviously wrong and you can prune it (I would think?). Who am I to talk though, I'm not the one programming this thing. That's just what my gut tells me. :)
The model actually gives us a confidence for each possibility. It might say, N-90%, K-10%, B/R/Q-0% for one of the boxes. Here, we look at how confident our character recognizer is on each character. If the PGN is invalid, then we know some character was recognized incorrectly. We look at the low-confidence characters and change them to the next highest confidence prediction, checking to see which combination of changes delivers a valid PGN. For example, consider the string of moves 1. d4 d2. Black can't play d2 on move 1! But we look at the next most likely predictions, perhaps d8 for white and d5 for black. These are the combinations:
d4 d2
d4 d5
d8 d2
d8 d5
Only the second one is valid, so we choose it and continue ahead.
If you literally wrote "d4 d2," then it's a lot less likely that the correct digit instead of 2 will be in the top 3 predictions.
Re: Show HN: Scannable Chess Scoresheets
#55Awesome job! If anyone else is working on a project like this or is interested in learning more about applied machine learning we've got a helpful Slack community over at Heartbeat ( https://bit.ly/heartbeatslack )
Re: Show HN: Scannable Chess Scoresheets
#56This is definitely a real problem for some people - a chess organizer friend of mine recently spent 4-5 hours entering games from a scoresheet into the computer every night. This solution is pretty nice - but it is possible to imagine that such a solution might work directly on horribly written scoresheets, using handwriting recognition + the kind of constraints mentioned by indy7500 - that would be pretty amazing fr…
Re: Show HN: Scannable Chess Scoresheets
#57Re: Show HN: Scannable Chess Scoresheets
#58Earlier quoted context omitted.
I don't get it. If Bg5 is an illegal move then the recognition is obviously wrong and you can prune it (I would think?). Who am I to talk though, I'm not the one programming this thing. That's just what my gut tells me. :)
Don't say that, you're definitely more experienced than me :) I'll try to clarify, but I could be wrong. This is from the chess.com article on it here: https://www.chess.com/blog/ReineChess/scannable-scoresheets-... The model actually gives us a confidence for each possibility. It might say, N-90%, K-10%, B/R/Q-0% for one of the boxes. Here, we look at how confident our character recognizer is on each character. If t…
Anyways, this is really cool, and smart idea. I'll be printing these out and bringing them to my next tourney. Excited to see how it goes! How do I send you direct feedback?
Re: Show HN: Scannable Chess Scoresheets
#59Re: Show HN: Scannable Chess Scoresheets
#60We have decided to make it open source! Will publish in another article perhaps, when it has enough comments added in the next two days!