Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
tessdata | 2014-11-27 | ||
EliteOCR.py | 2014-11-26 | 21.6 kB | |
eliteOCRGUI.py | 2014-11-26 | 30.0 kB | |
settingsUI.py | 2014-11-26 | 3.9 kB | |
ocr.py | 2014-11-26 | 6.3 kB | |
customqtablewidget.py | 2014-11-26 | 456 Bytes | |
calibrate.py | 2014-11-26 | 7.0 kB | |
calibrateUI.py | 2014-11-26 | 5.2 kB | |
README.md | 2014-11-25 | 2.4 kB | |
res_rc.py | 2014-11-25 | 1.5 MB | |
icon.ico | 2014-11-13 | 270.4 kB | |
LICENSE | 2014-11-10 | 813 Bytes | |
Totals: 12 Items | 1.8 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 recognising the commodities in screenshots. Best results (100% accuracy) 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
Owners of Nvidia video cards and 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 and click on "Save 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 click on the next file on the list and click the ORC Button again. Should there be repeated entry, you can click "Skip" to continue to next line without adding current one to the list.
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.