diff --git a/puterbot/README.md b/puterbot/README.md index a8db3874c..ee6f9c88e 100644 --- a/puterbot/README.md +++ b/puterbot/README.md @@ -65,55 +65,3 @@ following information: ``` alembic revision --autogenerate -m "" ``` - - -## Building (Windows only) - -install ms c++ build tools -https://visualstudio.microsoft.com/visual-cpp-build-tools/ - -install python 3.9.6 -https://www.python.org/ftp/python/3.9.6/python-3.9.6-amd64.exe - -trust pip hosts on proxy restricted windows machine: -``` -pip config set global.trusted-host "pypi.org files.pythonhosted.org pypi.python.org" --trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org -``` - -install tesseract -``` -https://github.om/UB-Mannheim/tesseract/wiki/ -``` - -add to path in the current shell -``` -set PATH=%PATH%;%USERPROFILE%\AppData\Local\Tesseract-OCR -``` - -do it permanently -``` -setx PATH "%PATH%;%USERPROFILE%\AppData\Local\Tesseract-OCR" -``` - -build -``` -pyinstaller --noconfirm --add-data "resources\*.png;resources" audit.py -``` - -## Script dependencies - -install easyocr -``` -pip install --user easyocr -i https://pypi.python.org/simple/ -``` - -install kerasocr -``` -pip install --user keras-ocr -i https://pypi.python.org/simple -python -m pip install --user tensorflow -i https://pypi.python.org/simple --trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org -``` - -install paddleocr -``` -python -m pip install --user paddlepaddle -````