Уведомления

Группа в Telegram: @pythonsu

#1 Дек. 8, 2015 16:41:59

sevatster
Зарегистрирован: 2015-08-17
Сообщения: 17
Репутация: +  0  -
Профиль   Отправить e-mail  

Нахождение и распознавание текста OpenCV

Привет!

Вопрос уже по-любому неоднократно звучавший, но ответа увы, не нашел.

Очень хочется посмотреть какой-то элементарный исходник с использованием OpenCV, который читает картинку и выдает текст, на ней содержащийся. Изображение простое с хорошо читаемым текстом, например, скриншот сайта.

Спасибо за исходник если кто-то скинет.

Офлайн

#2 Дек. 10, 2015 16:40:18

dzh
Зарегистрирован: 2015-12-01
Сообщения: 9
Репутация: +  1  -
Профиль   Отправить e-mail  

Нахождение и распознавание текста OpenCV

Как-то срочно на коленке что-то такое собрал
tesseract ocr

Прикреплённый файлы:
attachment ocr.zip (8,2 KБ)

Офлайн

#3 Дек. 11, 2015 09:36:41

sevatster
Зарегистрирован: 2015-08-17
Сообщения: 17
Репутация: +  0  -
Профиль   Отправить e-mail  

Нахождение и распознавание текста OpenCV

Спасибо, но исходник почему-то не работает, выдает “No OCR tool found”. Погуглил - вроде бы нужно установить pytesseract, установил, но результат не поменялся. Почему-то у меня отказывается запускаться.

Офлайн

#4 Дек. 11, 2015 09:45:29

dzh
Зарегистрирован: 2015-12-01
Сообщения: 9
Репутация: +  1  -
Профиль   Отправить e-mail  

Нахождение и распознавание текста OpenCV

какая у вас операционка?

для deb linuxов мне хватило

apt-get install tesseract-ocr tesseract-ocr-eng

Офлайн

#5 Дек. 11, 2015 10:39:11

sevatster
Зарегистрирован: 2015-08-17
Сообщения: 17
Репутация: +  0  -
Профиль   Отправить e-mail  

Нахождение и распознавание текста OpenCV

У меня Windows 7.

Хм, а я установил pytesseract.
Пробовал tesseract-ocr, но я наверное делаю что-то неправильно, потому что он не установился.
Вот лог:
https://yadi.sk/i/wholFEF1m9b4y
Потом я установил VCForPython27, и вот следующий лог:

------------------------------------------------------------
C:\Python27\Scripts\pip run on 12/11/15 10:35:53
Downloading/unpacking tesseract-ocr
  Getting page https://pypi.python.org/simple/tesseract-ocr/
  URLs to search for versions for tesseract-ocr:
  * https://pypi.python.org/simple/tesseract-ocr/
  Analyzing links from page https://pypi.python.org/simple/tesseract-ocr/
    Found link https://pypi.python.org/packages/source/t/tesseract-ocr/tesseract-ocr-0.0.1.tar.gz#md5=690a6bce4e0e8818093ad0aca4671408 (from https://pypi.python.org/simple/tesseract-ocr/), version: 0.0.1
  Downloading tesseract-ocr-0.0.1.tar.gz
  Downloading from URL https://pypi.python.org/packages/source/t/tesseract-ocr/tesseract-ocr-0.0.1.tar.gz#md5=690a6bce4e0e8818093ad0aca4671408 (from https://pypi.python.org/simple/tesseract-ocr/)
  Running setup.py (path:d:\temp\pip_build_tereschuk\tesseract-ocr\setup.py) egg_info for package tesseract-ocr
    running egg_info
    creating pip-egg-info\tesseract_ocr.egg-info
    writing requirements to pip-egg-info\tesseract_ocr.egg-info\requires.txt
    writing pip-egg-info\tesseract_ocr.egg-info\PKG-INFO
    writing top-level names to pip-egg-info\tesseract_ocr.egg-info\top_level.txt
    writing dependency_links to pip-egg-info\tesseract_ocr.egg-info\dependency_links.txt
    writing manifest file 'pip-egg-info\tesseract_ocr.egg-info\SOURCES.txt'
    warning: manifest_maker: standard file '-c' not found
    
    file tesseract_ocr.py (for module tesseract_ocr) not found
    reading manifest file 'pip-egg-info\tesseract_ocr.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    writing manifest file 'pip-egg-info\tesseract_ocr.egg-info\SOURCES.txt'
  Source in d:\temp\pip_build_tereschuk\tesseract-ocr has version 0.0.1, which satisfies requirement tesseract-ocr
Downloading/unpacking cython (from tesseract-ocr)
  Getting page https://pypi.python.org/simple/cython/
  URLs to search for versions for cython (from tesseract-ocr):
  * https://pypi.python.org/simple/cython/
  Analyzing links from page https://pypi.python.org/simple/cython/
    Skipping https://pypi.python.org/packages/2.6/C/Cython/Cython-0.23.4-cp26-none-win32.whl#md5=8bceed77312945c5cf640ce2b37e6b60 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/2.6/C/Cython/Cython-0.23.4-cp26-none-win_amd64.whl#md5=da91eb67c8bace92f21910dd62134175 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/2.7/C/Cython/Cython-0.20.2-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl#md5=9c3e8394bbeeca640cbe59d3e5e44356 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Found link https://pypi.python.org/packages/2.7/C/Cython/Cython-0.23.4-cp27-none-win32.whl#md5=9bbeca3a08f62804229c807f5ec99d2b (from https://pypi.python.org/simple/cython/), version: 0.23.4
    Skipping https://pypi.python.org/packages/2.7/C/Cython/Cython-0.23.4-cp27-none-win_amd64.whl#md5=6914de675773aca2776be5fad74df751 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/3.3/C/Cython/Cython-0.20.2-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl#md5=708325fdd6b0ba05786d01d311010a40 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/3.3/C/Cython/Cython-0.23.4-cp33-none-win32.whl#md5=1002c489f02d113a5885df17ff147fb6 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/3.3/C/Cython/Cython-0.23.4-cp33-none-win_amd64.whl#md5=40fa0ed699dc43f1fe21584b70d210b3 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/3.4/C/Cython/Cython-0.20.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.whl#md5=71bae8fcb334d6788c5be6123eefd7d2 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/3.4/C/Cython/Cython-0.23.4-cp34-none-win32.whl#md5=f97c24605cfe7d48f3365515e29a9533 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/3.4/C/Cython/Cython-0.23.4-cp34-none-win_amd64.whl#md5=037ebcb31e1b98595ec30e313d1d7578 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp27/C/Cython/Cython-0.21.1-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=c71d49d89605897d9a6a5c933fe95e4f (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp27/C/Cython/Cython-0.21.2-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=b8c947310db995f0fa967934a5324a66 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp27/C/Cython/Cython-0.22-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=869192b1d71f993fc8f7f019f559d3e5 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp27/C/Cython/Cython-0.22.1-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=79709743dbf131c8792a7ee031309d83 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp27/C/Cython/Cython-0.23-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=d084ffe602a13ee2f09e887632cf8daf (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp27/C/Cython/Cython-0.23.1-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=fc38ddd7ff83911242bdfa69332777e3 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp27/C/Cython/Cython-0.23.2-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=02465e38aadeac8db5f43e92896db668 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp27/C/Cython/Cython-0.23.3-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=9c7d5b03f7e33f06affe229be81165c0 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp27/C/Cython/Cython-0.23.4-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=31dc5a607db45fe7084f50e27c2c38d7 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp32/C/Cython/Cython-0.21.1-cp32-cp32m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=55ba39557963c57b5a9c4623475d9eaf (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp32/C/Cython/Cython-0.21.2-cp32-cp32m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=ceaa0c2b8256fc93288c9342f4abe04e (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp32/C/Cython/Cython-0.22-cp32-cp32m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=5f53dc2e0715264103af34b4250ca61a (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp32/C/Cython/Cython-0.22.1-cp32-cp32m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=fea8be18ca4632b3d4c975e0bcf24a62 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp32/C/Cython/Cython-0.23-cp32-cp32m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=f206b3ee1a4dfb163e2f33a04154488b (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp32/C/Cython/Cython-0.23.1-cp32-cp32m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=fbb98f3af15398d9cc81a5dc98205565 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp32/C/Cython/Cython-0.23.2-cp32-cp32m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=63db4557f9cb1e899972c0ea4167e0c4 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp32/C/Cython/Cython-0.23.3-cp32-cp32m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=36332da551e3c5c84f54746dd1fd8d17 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp32/C/Cython/Cython-0.23.4-cp32-cp32m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=7a11b6181d6783f6e173ab78f955760a (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp33/C/Cython/Cython-0.21.1-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=410149eb3e57cb30d55cabcaf0d33b78 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp33/C/Cython/Cython-0.21.2-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=a91394642ca03325d98903219143cdee (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp33/C/Cython/Cython-0.22-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=b28878a6e970545b6292204027cf5599 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp33/C/Cython/Cython-0.22.1-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=f4c45750eaf7e16bbda1f6dda3c0a1dc (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp33/C/Cython/Cython-0.23-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=4436fb84becf27c79d06d5207ce90132 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp33/C/Cython/Cython-0.23.1-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=6ae43cf2c012d3f311bfd3b367b95a90 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp33/C/Cython/Cython-0.23.2-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=496a9f64762bddfa1ec1814736c2ba53 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp33/C/Cython/Cython-0.23.3-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=29c889420ed810cf94979150074be5d7 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp33/C/Cython/Cython-0.23.4-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=aa2facdba90ee62aa2e63768e61625e9 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp34/C/Cython/Cython-0.21.1-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=423e061f97e45173e3b0ea195d612de1 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp34/C/Cython/Cython-0.21.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=f066e674335a7f1c2b17174830305130 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp34/C/Cython/Cython-0.22-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=7bf4eb3e8cbcbf0be34fbd8cc64a4638 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp34/C/Cython/Cython-0.22.1-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=e547afafd6baebb504dc33b133f11559 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp34/C/Cython/Cython-0.23-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=aab6cfa7f40a9b52a1151a5285a5e75a (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp34/C/Cython/Cython-0.23.1-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=054b31e424b748bbede2fbb47bd8a158 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp34/C/Cython/Cython-0.23.2-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=c1030aad7423f83a5317c67e784a01a4 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp34/C/Cython/Cython-0.23.3-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=90dd3b96b561416a3876fa99e7e59c6a (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp34/C/Cython/Cython-0.23.4-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=a21bf859108e763edbe7da445b0996bd (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp35/C/Cython/Cython-0.23.2-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=814477e2673908784c267706e43ac670 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp35/C/Cython/Cython-0.23.3-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=921cf78364fa129fffa9ddff2defed67 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp35/C/Cython/Cython-0.23.4-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=c23f7b5abdc417655b6640d5972cc4d8 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp35/C/Cython/Cython-0.23.4-cp35-none-win32.whl#md5=8059f2eb2291e59bbdd9cd3360803abc (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Skipping https://pypi.python.org/packages/cp35/C/Cython/Cython-0.23.4-cp35-none-win_amd64.whl#md5=3adecbfd544876b2de1a5ae3d2e34887 (from https://pypi.python.org/simple/cython/) because it is not compatible with this Python
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.10.1.tar.gz#md5=46fa1d523f9a92d7bed7ce6d6ceb3f6e (from https://pypi.python.org/simple/cython/), version: 0.10.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.10.2.tar.gz#md5=2e2d31cb8646328458f512a1d1341bba (from https://pypi.python.org/simple/cython/), version: 0.10.2
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.10.3.tar.gz#md5=684103ed37472d9beef3a38e0d5c431d (from https://pypi.python.org/simple/cython/), version: 0.10.3
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.10.tar.gz#md5=343558180f62823a70d10a0129622947 (from https://pypi.python.org/simple/cython/), version: 0.10
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.11.1.tar.gz#md5=89ef89be9a9e387c61dfbb264174723d (from https://pypi.python.org/simple/cython/), version: 0.11.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.11.2.tar.gz#md5=e78c3ce340c8c1370c1478387e2ffb63 (from https://pypi.python.org/simple/cython/), version: 0.11.2
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.11.3.tar.gz#md5=d2055aaaec81b84d443998633b328c2c (from https://pypi.python.org/simple/cython/), version: 0.11.3
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.11.tar.gz#md5=2a6cd318e642f3c166bdd2ac6a9a2d9d (from https://pypi.python.org/simple/cython/), version: 0.11
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.12.1.tar.gz#md5=cf9f98e982258f8516620277975016f3 (from https://pypi.python.org/simple/cython/), version: 0.12.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.12.tar.gz#md5=f73ad2258115c92ce982d34d27580076 (from https://pypi.python.org/simple/cython/), version: 0.12
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.13.tar.gz#md5=7c0c62ba3df5c97979b2e4b61d7e686e (from https://pypi.python.org/simple/cython/), version: 0.13
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.14.1.tar.gz#md5=1ae1947c1218110f0e41fc95b2bc4530 (from https://pypi.python.org/simple/cython/), version: 0.14.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.14.tar.gz#md5=2c505e7a943159547ac0b0209e720b0d (from https://pypi.python.org/simple/cython/), version: 0.14
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.15.1.tar.gz#md5=171021b3845c9ca8bd6d8185b3cde664 (from https://pypi.python.org/simple/cython/), version: 0.15.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.15.tar.gz#md5=794b93c4c1c4cc031f90302cacd834ca (from https://pypi.python.org/simple/cython/), version: 0.15
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.16.tar.gz#md5=7934186ada3552110aba92062fa88b1c (from https://pypi.python.org/simple/cython/), version: 0.16
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.17.1.tar.gz#md5=f0bd2494dbe080a1185b61fa358135f2 (from https://pypi.python.org/simple/cython/), version: 0.17.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.17.2.tar.gz#md5=09dfd4f5f82046f85025a391f084d8f9 (from https://pypi.python.org/simple/cython/), version: 0.17.2
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.17.2.zip#md5=f8453496a289db91f0cb0b3029b5b131 (from https://pypi.python.org/simple/cython/), version: 0.17.2
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.17.3.tar.gz#md5=683241fee8f51a08acd42ab1deea0857 (from https://pypi.python.org/simple/cython/), version: 0.17.3
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.17.4.tar.gz#md5=cb11463e3a0c8d063e578db64ff61dde (from https://pypi.python.org/simple/cython/), version: 0.17.4
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.17.4.zip#md5=9f02ba1b383780a5819787999a0c673b (from https://pypi.python.org/simple/cython/), version: 0.17.4
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.17.tar.gz#md5=d6b669956b25babf7dd86db0a98539e4 (from https://pypi.python.org/simple/cython/), version: 0.17
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.18.tar.gz#md5=6a72d14e72f3df597b34ac326152f8d2 (from https://pypi.python.org/simple/cython/), version: 0.18
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.18.zip#md5=62d87ee2a809311aa2124d67626ba738 (from https://pypi.python.org/simple/cython/), version: 0.18
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.19.1.tar.gz#md5=df4cfb2b8e3345272e3fc451b76bd630 (from https://pypi.python.org/simple/cython/), version: 0.19.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.19.1.zip#md5=991e7887140b3e962ef65e9c05a8694d (from https://pypi.python.org/simple/cython/), version: 0.19.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.19.2.tar.gz#md5=4af1218346510b464c0a6bf15500d0e2 (from https://pypi.python.org/simple/cython/), version: 0.19.2
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.19.2.zip#md5=43bf703709d3499fe7131c29ef16331d (from https://pypi.python.org/simple/cython/), version: 0.19.2
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.19.tar.gz#md5=76989337dee4cf7afdcb5cde514423f8 (from https://pypi.python.org/simple/cython/), version: 0.19
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.19.zip#md5=d0ea3e3007af7474862924960c1c3102 (from https://pypi.python.org/simple/cython/), version: 0.19
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.20.1.tar.gz#md5=52431696c64e618036537c4d9aa79d99 (from https://pypi.python.org/simple/cython/), version: 0.20.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.20.2.tar.gz#md5=7fc13e1c665bdf7cea19ad08906af91f (from https://pypi.python.org/simple/cython/), version: 0.20.2
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.20.tar.gz#md5=104f3bcdeb4969ba426a37376b4c0e7f (from https://pypi.python.org/simple/cython/), version: 0.20
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.21.1.tar.gz#md5=c59163d7c72c0a0ee5eb84edd17935ed (from https://pypi.python.org/simple/cython/), version: 0.21.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.21.1.zip#md5=3e8ed7f5d49cb931105d3c99263be060 (from https://pypi.python.org/simple/cython/), version: 0.21.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.21.2.tar.gz#md5=d21adb870c75680dc857cd05d41046a4 (from https://pypi.python.org/simple/cython/), version: 0.21.2
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.21.2.zip#md5=c2b920b9539c361aa62b237907e747b8 (from https://pypi.python.org/simple/cython/), version: 0.21.2
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.21.tar.gz#md5=6c9c4d19ba485fe8cd88e23b57ac7886 (from https://pypi.python.org/simple/cython/), version: 0.21
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.21.zip#md5=a72b5856e6ff9737179372dde1f4e9bc (from https://pypi.python.org/simple/cython/), version: 0.21
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.22.1.tar.gz#md5=b920f3c81ae767477a342807bf5e68e8 (from https://pypi.python.org/simple/cython/), version: 0.22.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.23.1.tar.gz#md5=db3c5b365e1c3f71c7cd90e96473a3ab (from https://pypi.python.org/simple/cython/), version: 0.23.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.23.1.zip#md5=68c6a639bc3ee190250d1800af1b8f97 (from https://pypi.python.org/simple/cython/), version: 0.23.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.23.2.tar.gz#md5=188e18c826dae4514ee0628144df6c3e (from https://pypi.python.org/simple/cython/), version: 0.23.2
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.23.2.zip#md5=6462600654b8c1b15822d6207141b236 (from https://pypi.python.org/simple/cython/), version: 0.23.2
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.23.3.tar.gz#md5=813df20f7ce5f00e60568e0371fbd07c (from https://pypi.python.org/simple/cython/), version: 0.23.3
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.23.3.zip#md5=5d58daf5361f0fe722c9c654f36c564e (from https://pypi.python.org/simple/cython/), version: 0.23.3
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.23.4.tar.gz#md5=157df1f69bcec6b56fd97e0f2e057f6e (from https://pypi.python.org/simple/cython/), version: 0.23.4
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.23.4.zip#md5=84c8c764ffbeae5f4a513d25fda4fd5e (from https://pypi.python.org/simple/cython/), version: 0.23.4
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.23.tar.gz#md5=63d472d0a9b3b39b9651f7bf568bb4a5 (from https://pypi.python.org/simple/cython/), version: 0.23
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.23.zip#md5=3a003010bd57814e110cd6b9ebea8bde (from https://pypi.python.org/simple/cython/), version: 0.23
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.10.1.tar.gz#md5=5c075b47c19bef9aa326805aceadbb1e (from https://pypi.python.org/simple/cython/), version: 0.9.6.10.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.10.tar.gz#md5=06ff29f03a947f96ba09f8e3b533cdbd (from https://pypi.python.org/simple/cython/), version: 0.9.6.10
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.10b.tar.gz#md5=4e622c0526d8f847853e2a0c00ff69f7 (from https://pypi.python.org/simple/cython/), version: 0.9.6.10b
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.11.tar.gz#md5=1b6115fe6517906db66e60e3a3a7b10b (from https://pypi.python.org/simple/cython/), version: 0.9.6.11
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.11b.tar.gz#md5=ec9a7beb5139fe8041068c1f2b6a1f4f (from https://pypi.python.org/simple/cython/), version: 0.9.6.11b
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.12.tar.gz#md5=265ca0b53dcf8fd308e5dfa9c2f822aa (from https://pypi.python.org/simple/cython/), version: 0.9.6.12
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.13.1.tar.gz#md5=3b7bde3b0869b3624cd80fe5cde4e2ed (from https://pypi.python.org/simple/cython/), version: 0.9.6.13.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.13.tar.gz#md5=5ea85237dab9857164e2218719887ed1 (from https://pypi.python.org/simple/cython/), version: 0.9.6.13
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.14.tar.gz#md5=edb342c7525119c2a924897873d215b4 (from https://pypi.python.org/simple/cython/), version: 0.9.6.14
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.5.tar.gz#md5=648c8a774afaebd0262ce3ee71845932 (from https://pypi.python.org/simple/cython/), version: 0.9.6.5
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.6.tar.gz#md5=0c0527d7b06b87fad85bf571ca8e3732 (from https://pypi.python.org/simple/cython/), version: 0.9.6.6
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.7.tar.gz#md5=2b2db78b39f83d0028f983a0a2d06b85 (from https://pypi.python.org/simple/cython/), version: 0.9.6.7
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.8.tar.gz#md5=8582cba1b996f5a73d0d65c7719a3c70 (from https://pypi.python.org/simple/cython/), version: 0.9.6.8
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.8.1.1.tar.gz#md5=3865bcebfc0d84f4d8261bbb169f4b48 (from https://pypi.python.org/simple/cython/), version: 0.9.8.1.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.8.1.tar.gz#md5=8a397cb6768de6aa2046fa0b8046456d (from https://pypi.python.org/simple/cython/), version: 0.9.8.1
    Found link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.8.tar.gz#md5=baaf1075aa99a5c2c30acc39db277c37 (from https://pypi.python.org/simple/cython/), version: 0.9.8
    Found link https://pypi.python.org/packages/source/C/Cython/cython-0.22.tar.gz#md5=1ae25add4ef7b63ee9b4af697300d6b6 (from https://pypi.python.org/simple/cython/), version: 0.22
  Ignoring link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.10b.tar.gz#md5=4e622c0526d8f847853e2a0c00ff69f7 (from https://pypi.python.org/simple/cython/), version 0.9.6.10b is a pre-release (use --pre to allow).
  Ignoring link https://pypi.python.org/packages/source/C/Cython/Cython-0.9.6.11b.tar.gz#md5=ec9a7beb5139fe8041068c1f2b6a1f4f (from https://pypi.python.org/simple/cython/), version 0.9.6.11b is a pre-release (use --pre to allow).
  Using version 0.23.4 (newest of versions: 0.23.4, 0.23.4, 0.23.4, 0.23.3, 0.23.3, 0.23.2, 0.23.2, 0.23.1, 0.23.1, 0.23, 0.23, 0.22.1, 0.22, 0.21.2, 0.21.2, 0.21.1, 0.21.1, 0.21, 0.21, 0.20.2, 0.20.1, 0.20, 0.19.2, 0.19.2, 0.19.1, 0.19.1, 0.19, 0.19, 0.18, 0.18, 0.17.4, 0.17.4, 0.17.3, 0.17.2, 0.17.2, 0.17.1, 0.17, 0.16, 0.15.1, 0.15, 0.14.1, 0.14, 0.13, 0.12.1, 0.12, 0.11.3, 0.11.2, 0.11.1, 0.11, 0.10.3, 0.10.2, 0.10.1, 0.10, 0.9.8.1.1, 0.9.8.1, 0.9.8, 0.9.6.14, 0.9.6.13.1, 0.9.6.13, 0.9.6.12, 0.9.6.11, 0.9.6.10.1, 0.9.6.10, 0.9.6.8, 0.9.6.7, 0.9.6.6, 0.9.6.5)
  Downloading from URL https://pypi.python.org/packages/2.7/C/Cython/Cython-0.23.4-cp27-none-win32.whl#md5=9bbeca3a08f62804229c807f5ec99d2b (from https://pypi.python.org/simple/cython/)
Installing collected packages: tesseract-ocr, cython
  Running setup.py install for tesseract-ocr
    Running command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='d:\\temp\\pip_build_tereschuk\\tesseract-ocr\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record d:\temp\pip-paity_-record\install-record.txt --single-version-externally-managed --compile
    running install
    running build
    running build_py
    file tesseract_ocr.py (for module tesseract_ocr) not found
    file tesseract_ocr.py (for module tesseract_ocr) not found
    running build_ext
    building 'tesseract_ocr' extension
    creating build
    creating build\temp.win32-2.7
    creating build\temp.win32-2.7\Release
    C:\Users\tereschuk.vsevolod\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tptesseract_ocr.cpp /Fobuild\temp.win32-2.7\Release\tesseract_ocr.obj
    tesseract_ocr.cpp
    tesseract_ocr.cpp(264) : fatal error C1083: Cannot open include file: 'leptonica/allheaders.h': No such file or directory
    error: command 'C:\\Users\\tereschuk.vsevolod\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
    Complete output from command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='d:\\temp\\pip_build_tereschuk\\tesseract-ocr\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record d:\temp\pip-paity_-record\install-record.txt --single-version-externally-managed --compile:
    running install
running build
running build_py
file tesseract_ocr.py (for module tesseract_ocr) not found
file tesseract_ocr.py (for module tesseract_ocr) not found
running build_ext
building 'tesseract_ocr' extension
creating build
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
C:\Users\tereschuk.vsevolod\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tptesseract_ocr.cpp /Fobuild\temp.win32-2.7\Release\tesseract_ocr.obj
tesseract_ocr.cpp
tesseract_ocr.cpp(264) : fatal error C1083: Cannot open include file: 'leptonica/allheaders.h': No such file or directory
error: command 'C:\\Users\\tereschuk.vsevolod\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
----------------------------------------
Cleaning up...
  Removing temporary dir d:\temp\pip_build_tereschuk...
Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='d:\\temp\\pip_build_tereschuk\\tesseract-ocr\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record d:\temp\pip-paity_-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in d:\temp\pip_build_tereschuk\tesseract-ocr
Exception information:
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "C:\Python27\lib\site-packages\pip\commands\install.py", line 283, in run
    requirement_set.install(install_options, global_options, root=options.root_path)
  File "C:\Python27\lib\site-packages\pip\req.py", line 1435, in install
    requirement.install(install_options, global_options, *args, **kwargs)
  File "C:\Python27\lib\site-packages\pip\req.py", line 706, in install
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "C:\Python27\lib\site-packages\pip\util.py", line 697, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='d:\\temp\\pip_build_tereschuk\\tesseract-ocr\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record d:\temp\pip-paity_-record\install-record.txt --single-version-externally-managed --compile failed with error code 1 in d:\temp\pip_build_tereschuk\tesseract-ocr

Офлайн

Board footer

Модераторировать

Powered by DjangoBB

Lo-Fi Version