ChessOcr OCR Chess Diagrams

ChessOcr OCR Chess Diagrams


This app utilizes the camera to recognize Chess Diagrams in books using optical character recognition (OCR). It saves each recognized diagram in a pgn file, and also puts the most recent one in the clipboard as a FEN string. You can then invoke a chess program like DroidFish, or SCIDOnthego directly to analyze the position or do a data base search for games that contain this position. For best results the diagram should take up at least half the camera view, and the book be reasonably flat (there is some compensation for page warp). It works best for cameras that have autofocus capabilities, and will not work as well on cameras that can not autofocus. Also, some cameras are not very sensitive to light and require bright background lighting, while others work well even in low lighting conditions.

If the chess diagrams are not being recognized, then try setting the video resolution higher than the default (say to 1280 x 720) and/or setting the ISO to a high value instead of leaving it on auto. Also remember to keep the page as flat as possible in reasonably bright light. A green box will appear around the diagram after one successful recognition. By default two identical recognition of the same diagram in a sequence are necessary (this can be changed in settings) for a final successful result. If you are only recognizing diagrams from modern books then you can usually set the double recognition flag to false.

You can use a free database that I maintain to look up the games associated with a given recognized position as follows:

1) Install ChessOcr app and SCIDOntheGo https://play.google.com/store/apps/details?id=org.scid.android
2) Download zip file http://www.kgrothapps.com/files/dbmsall-may-7-14.zip then unzip and put these files in SCID directory.
3) Start SCIDOntheGo app and do file open database dbmsall-may-7-14.zip, and keep this database open.
4) Long press on the board, go to bottom of menu, and select "Retrieve position".
5) First time set selection of ChessOcr to be the permanent association.
6) Place diagram in middle of video, large as possible and press screen to start.
7) Recognized position is drawn on screen, press which colour is to move.
8) Resulting position is returned to SCIDOntheGO
9) Do "Search, Search current board, Ok" and then pgn for matching games will be retrieved.

You can use "Retrieve position" from the chess app DroidFish by doing long press on the board, going to the bottom of the menu, and then selecting "Retrieve Position".

Recent changes:
Release 1.11 fixes some auto focus problems on various devices.

Release 1.10 increases the default screen resolution, and has some bug fixes.

Release 1.9 fixes a problem on some Samsung devices.

Release 1.8 draws a green box around the recognized figure in the default double recognition mode.

Release 1.6 adds ability to start ChessBase Online for Android with a recognized position using new menu item.
Add to list
Free
82
4.1
User ratings
103
Installs
10,000+
Concerns
0
File size
4906 kb
Screenshots
Video of ChessOcr OCR Chess Diagrams Screenshot of ChessOcr OCR Chess Diagrams Screenshot of ChessOcr OCR Chess Diagrams Screenshot of ChessOcr OCR Chess Diagrams Screenshot of ChessOcr OCR Chess Diagrams

About ChessOcr OCR Chess Diagrams
This app utilizes the camera to recognize Chess Diagrams in books using optical character recognition (OCR). It saves each recognized diagram in a pgn file, and also puts the most recent one in the clipboard as a FEN string. You can then invoke a chess program like DroidFish, or SCIDOnthego directly to analyze the position or do a data base search for games that contain this position. For best results the diagram should take up at least half the camera view, and the book be reasonably flat (there is some compensation for page warp). It works best for cameras that have autofocus capabilities, and will not work as well on cameras that can not autofocus. Also, some cameras are not very sensitive to light and require bright background lighting, while others work well even in low lighting conditions.

If the chess diagrams are not being recognized, then try setting the video resolution higher than the default (say to 1280 x 720) and/or setting the ISO to a high value instead of leaving it on auto. Also remember to keep the page as flat as possible in reasonably bright light. A green box will appear around the diagram after one successful recognition. By default two identical recognition of the same diagram in a sequence are necessary (this can be changed in settings) for a final successful result. If you are only recognizing diagrams from modern books then you can usually set the double recognition flag to false.

You can use a free database that I maintain to look up the games associated with a given recognized position as follows:

1) Install ChessOcr app and SCIDOntheGo https://play.google.com/store/apps/details?id=org.scid.android
2) Download zip file http://www.kgrothapps.com/files/dbmsall-may-7-14.zip then unzip and put these files in SCID directory.
3) Start SCIDOntheGo app and do file open database dbmsall-may-7-14.zip, and keep this database open.
4) Long press on the board, go to bottom of menu, and select "Retrieve position".
5) First time set selection of ChessOcr to be the permanent association.
6) Place diagram in middle of video, large as possible and press screen to start.
7) Recognized position is drawn on screen, press which colour is to move.
8) Resulting position is returned to SCIDOntheGO
9) Do "Search, Search current board, Ok" and then pgn for matching games will be retrieved.

You can use "Retrieve position" from the chess app DroidFish by doing long press on the board, going to the bottom of the menu, and then selecting "Retrieve Position".

Recent changes:
Release 1.11 fixes some auto focus problems on various devices.

Release 1.10 increases the default screen resolution, and has some bug fixes.

Release 1.9 fixes a problem on some Samsung devices.

Release 1.8 draws a green box around the recognized figure in the default double recognition mode.

Release 1.6 adds ability to start ChessBase Online for Android with a recognized position using new menu item.

Visit Website
User reviews of ChessOcr OCR Chess Diagrams
Write the first review for this app!
Android Market Comments
A Google User
4 days ago
Fake app !!!!
A Google User
5 days ago
Not working with Galaxy Tab Nice app if it works. But apparently you must set your tablet on a tripod and have a lightning setting of a studio to get it done. But then, setting up a board manually maybe faster.
A Google User
Jul 17, 2014
Good tool, but It fails miserably when trying to grab something off a screen. Guessing it has to do with the refresh rate confusing the camera or something.
A Google User
Jul 4, 2014
Balla deol Balram deol
A Google User
Apr 5, 2014
Good overall, but it has problems with my old Informants. Specifically, confusing the White king and White bishop. These are old books though. The app is impressive for any modern printed diagrams.