pyaesthetics
pyaesthetics copied to clipboard
ToDo
- [x] Fix warning in text / image ratio when area of the image == 0
/usr/local/lib/python3.5/dist-packages/prettywebsite-0.0.4-py3.5.egg/prettywebsite/spaceBasedDecomposition.py:63: RuntimeWarning: divide by zero encountered in long_scalars return({"textImageRatio":sum(text) / sum(image),"textArea":sum(text),"imageArea":sum(image),"nImages":len(image)})