Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
tessdata | 2014-12-01 | ||
OCR_training | 2014-12-01 | ||
eliteOCR.0.3.source.zip | 2014-12-01 | 3.1 MB | |
LICENSE | 2014-12-01 | 1.7 kB | |
eliteOCRGUI.py | 2014-12-01 | 30.8 kB | |
eliteOCRGUI.ui | 2014-12-01 | 33.9 kB | |
settings.py | 2014-12-01 | 2.2 kB | |
EliteOCR.py | 2014-12-01 | 18.0 kB | |
README.md | 2014-12-01 | 2.6 kB | |
ocr.py | 2014-12-01 | 14.4 kB | |
imageprocessing.py | 2014-12-01 | 1.7 kB | |
settingsUI.py | 2014-12-01 | 4.6 kB | |
settingsUI.ui | 2014-12-01 | 3.7 kB | |
settingsdialog.py | 2014-12-01 | 1.7 kB | |
customqlistwidgetitem.py | 2014-11-30 | 1.4 kB | |
customqtablewidget.py | 2014-11-30 | 446 Bytes | |
temp.py | 2014-11-29 | 8.3 kB | |
calibrate.py | 2014-11-26 | 7.0 kB | |
calibrateUI.py | 2014-11-26 | 5.2 kB | |
calibrateUI.ui | 2014-11-26 | 4.1 kB | |
res_rc.py | 2014-11-25 | 1.5 MB | |
res.qrc | 2014-11-25 | 230 Bytes | |
p4.png | 2014-11-25 | 61.6 kB | |
p3.png | 2014-11-25 | 78.4 kB | |
p1.png | 2014-11-25 | 78.2 kB | |
p2.png | 2014-11-25 | 78.1 kB | |
minus.png | 2014-11-18 | 333 Bytes | |
plus.png | 2014-11-18 | 878 Bytes | |
icon.ico | 2014-11-13 | 270.4 kB | |
EliteOCR.spec | 2014-11-10 | 495 Bytes | |
Totals: 30 Items | 5.3 MB | 0 |
EliteOCR
EliteOCR is a Python script that runs optical character recognition on screenshots from Elite: Dangerous commodities market.
Installation
Requirements
Python 2.7
https://www.python.org/downloads/
Numpy
http://sourceforge.net/projects/numpy/files/NumPy/1.9.1/
OpenCV
http://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.10/
Goto opencv/build/python/2.7 folder.
Copy cv2.pyd to C:/Python27/lib/site-packages.
Python-Tesseract
https://bitbucket.org/3togo/python-tesseract/downloads/
PyQt4
http://www.riverbankcomputing.co.uk/software/pyqt/download
qimage2ndarray
pip install qimage2ndarray
http://pypi.python.org/pypi/qimage2ndarray
Prerequisites
EliteOCR is capable of reading the entries in Elite: Dangerous markets screenshots. Best results are achieved with screenshots of 3840 by 2160 pixel (4K) or more. You can make screenshots in game by pressing F10. You find them usually in C:\Users\USERNAME\Pictures\Frontier Developments\Elite Dangerous Screenshots made with ALT+F10 have lower recognition rate!
Owners of Nvidia video cards can use DSR technology to increase the resolution for screenshots and revert it back to normal without leaving the game.
Usage
Run EliteOCR.py Click "+" and select your screenshots. Select multiple files by holding CTRL or add them one by one. Select one file and click the OCR button. Check if the values have been recognised properly. Optionally correct them or choose alternative from the drop down list. Click on "Add and Next" to continue to next line. You can edit the values in the table by double clicking on the entry.
After processing one screenshot you can choose the next file in the list and click the ORC Button again. Should there be a corrupted entry, you can click "Skip" to continue to next line without adding current one to the list. Duplicate entries are by default filtered out. To change this behaviour go to Settings.
When finished click on "Export" to save your results to a csv-file(separated by ; ). CSV can be opened by most spreadsheet editors like Excel, LibreOffice Calc etc. or alternatively text editors.