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
541 stars 83 forks source link

app.py not returning original pixels #121

Open wheynelau opened 1 year ago

wheynelau commented 1 year ago

When inputting a larger image, the original coords are not returned. I have a workaround made in the app.py, but sharing to check there's any correct way to do this via st_canvas