Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
tessdata | 2014-11-10 | ||
README.md | 2014-11-10 | 2.4 kB | |
ocr.py | 2014-11-10 | 5.3 kB | |
LICENSE | 2014-11-10 | 813 Bytes | |
eliteOCRGUI.ui | 2014-11-10 | 18.6 kB | |
eliteOCRGUI.py | 2014-11-10 | 20.9 kB | |
EliteOCR.py | 2014-11-10 | 13.6 kB | |
Totals: 7 Items | 61.6 kB | 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. Those should be at least 1920 by 1080 pixel in size and have an aspect ratio of 16:9. Best results (100% accuracy) are achieved with screenshots of 3840 by 2160 pixel (4K). 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 "Choose Image" and select your screenshot. 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 add another of the same station. Should there be repeated entry, you can click "Skip" to continue to next line without adding current one to the list.
When you have all the entries of one stations commodity market in the table 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.