Skip to content

DeirdreHegarty/Colour_Vision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colour_Vision

Getting Started

create python 3 virtual env

# synthax
python3 -m venv <path to directory>

# venv called `.venv` in current directory
python3 -m venv .venv

# activate virtual env
source .venv/bin/activate

install required dependencies

pip3 install flask
pip3 install flask_dropzone 
pip3 install flask_uploads
pip3 install pyocr
pip3 install wand
pip3 install tesserocr
pip3 install pytesseract
pip3 install pillow
pip3 install opencv-python
pip3 install fpdf

# currently installed in virtual env
Click (7.0)
Flask (1.0.2)
Flask-Dropzone (1.5.3)
Flask-Uploads (0.2.1)
itsdangerous (1.1.0)
Jinja2 (2.10)
MarkupSafe (1.1.0)
pip (9.0.3)
setuptools (39.0.1)
Werkzeug (0.14.1)

install tesseract on Mac (using brew):

brew install imagemagick@6
ln -s /usr/local/Cellar/imagemagick@6/6.9.10-14/lib/libMagickWand-6.Q16.6.dylib  /usr/local/lib/libMagickWand.dylib

xcode-select --install
brew install tesseract --all-languages

brew install ghostscript

To Run (python 3.7.1)

Terminal

python run.py 

IPython

(recommend using IPython --pdb)

run run

or

run run.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published