mobile icon indicating copy to clipboard operation
mobile copied to clipboard

Scan with camera for starting position feature

Open alexisdurieux opened this issue 1 year ago • 4 comments

Hello, I would like to be able to scan a position from a book to start study it on a lichess study or to practice against the computer. I think this could be one good addition to the set of features of lichess and I am willing to develop if you are willing for this feature to be implemented.

Thanks

alexisdurieux avatar Dec 25 '23 10:12 alexisdurieux

Hi!

Sure this is a nice feature. I'd have to consider the maintenance cost as for every feature but I'd like to see it in the app.

Have you an idea of libraries, ML models you plan to use?

veloce avatar Dec 26 '23 09:12 veloce

So, I have looked very quickly and I have found https://github.com/linrock/chessboard-recognizer. However, I need to investigate further as we probably want the simplest thing. I have to try things to see if that works with Tensorflow lite. Or maybe we d prefer in any case have it connected to the backend so that it benefits the desktop version :) I ll try to come back in the upcoming days with a more concrete plan.

alexisdurieux avatar Dec 26 '23 11:12 alexisdurieux

Ideally it should be able to recognise offline, so without a backend connection.

veloce avatar Dec 26 '23 13:12 veloce

Would this be like chessvision.ai? If so I would love this as chessvision seems to slowly moving to a premium model.

I wouldn't even be opposed to the idea of asking if Pawel (creator of chessvision) is interested in partnering up

ijm8710 avatar Jan 18 '24 05:01 ijm8710