andfanilo / streamlit-drawable-canvas

Do you like Quick, Draw? Well what if you could train/predict doodles drawn inside Streamlit? Also draws lines, circles and boxes over background images for annotation.
https://drawable-canvas.streamlit.app/
MIT License
563 stars 85 forks source link

Variable devicePixelRatio #2

Closed andfanilo closed 4 years ago

andfanilo commented 4 years ago

We don't correctly reshape the image data when page is zoomed -> devicePixelRatio != 1.