form-extractor-prototype
form-extractor-prototype copied to clipboard
Support image upload in addition to input from a URL
Let people provide input to the tool without needing to upload the image somewhere else to get a URL for it first.
You can support drag and drop of images in addition to click to select - I did that for my https://tools.simonwillison.net/ocr tool (mostly written for me by Claude 3 Opus) - you can see how that works in the source code here: https://github.com/simonw/tools/blob/baebe5777294e4ecb5a482aca4919be214132024/ocr.html#L224-L262