lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.72k stars 2.28k forks source link

Load board from camera into the analysis board #15842

Open HKalbasi opened 3 months ago

HKalbasi commented 3 months ago

I like playing chess with physical pieces, but I want to also analyze my games using stockfish in certain moments. It would be great if I could load the board data into the analysis board section of the lichess site which is the most complete chess analysis tool I'm aware of (it has opening and 7 piece tablebase, stockfish, and a nice ui to play variations).

I have a python script with some opencv and cnn that can detect the board state. It gives the stockfish score and fen of the board so that I can copy it into lichess. I would be happy to integerate it with lichess, it would be both easier for me to use it, and allow more people to benefit from it. Currently it is a python script but I can covert it to a client side js script, which I think makes a better user experience, while also reducing the resource usage on the lichess server.

Would you accept such a thing on the main lichess website? Or do you consider it out of scope?

Siderite commented 3 months ago

You could try a browser extension. There is a very good one called Chessvision.ai. It may already have what you say.

TheForkPower commented 3 months ago

also chesscam.net