|
| 1 | +SegmentDisplayOCR AviSynth Filter compiling instructions |
| 2 | + |
| 3 | +1. License |
| 4 | +---------- |
| 5 | +Copyright (c) 2014 Lcferrum |
| 6 | + |
| 7 | +This program is free software: you can redistribute it and/or modify |
| 8 | +it under the terms of the GNU General Public License as published by |
| 9 | +the Free Software Foundation, either version 3 of the License, or |
| 10 | +(at your option) any later version. |
| 11 | + |
| 12 | +You should have received a copy of the GNU General Public License |
| 13 | +along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 14 | + |
| 15 | +2. General |
| 16 | +---------- |
| 17 | +SegmentDisplayOCR is written using C++ (ISO/IEC 14882:1998) and is intended |
| 18 | +to be used on Windows only. General compilation steps: |
| 19 | + |
| 20 | + 1) Download sources from https://github.com/lcferrum/segment-display-ocr |
| 21 | + |
| 22 | + 2) Compile it using Microsoft Visual Studio. |
| 23 | + |
| 24 | + 3) After compiling, see the README.TXT file for instructions on using |
| 25 | + SegmentDisplayOCR. |
| 26 | + |
| 27 | +3. Specific compiling instructions |
| 28 | +---------------------------------- |
| 29 | +The easiest way to compile SegmentDisplayOCR is by using included solution file |
| 30 | +for Microsoft Visual Studio 2008. Open solution file, select Release |
| 31 | +configuration and build solution. Compiled DLL can be found in Release directory. |
| 32 | + |
| 33 | +Unfortunately, AviSynth C++ API (avisynth.h) uses Visual Studio specific code |
| 34 | +so you can use compilers only from Visual Studio family. AviSynth C++ API |
| 35 | +included with this sources is from official 2.6.0 alpha release. Official |
| 36 | +AviSynth release only supports 32-bit so if you want to compile 64-bit version |
| 37 | +of SegmentDisplayOCR you'll need avisynth.h from unofficial 64-bit release you |
| 38 | +intend to use. Keep in mind that SegmentDisplayOCR can't be compiled against |
| 39 | +AviSynth C API and versions of AviSynth C++ API earlier than 5 (that is from |
| 40 | +official 2.6.0 relase). |
| 41 | + |
| 42 | +If you want to make Visual Studio project from scratch, consider the following: |
| 43 | + |
| 44 | + - Use empty Win32 console project with application type set to DLL as |
| 45 | + basis. |
| 46 | + - Add all the source files (.cpp, .h, .rc) to the project. |
| 47 | + - Change character set to multi-byte in project general settings. |
| 48 | + - Output DLL must be named SegmentDisplayOCR.dll. |
| 49 | + - If using Visual Studio 2010 and higher, set platform toolset to v90. |
| 50 | + Otherwise, with higher value, you won't be able to use SegmentDisplayOCR |
| 51 | + on Windows 2000. |
0 commit comments