Do you often find yourself needing to extract text from images, screenshots, or other visual content while working on your projects? The "Windmillcode Paste Text From Image" extension is designed to make this process seamless and efficient by allowing you to extract and paste text from images directly into your VSCode editor.
-
Copy an image to your clipboard:
- Take a screenshot or copy an image from any source.
-
Paste the image as text in VSCode:
- Right-click in your editor where you want to paste the text.
- Select
Windmillcode: Paste Image as Text
from the context menu.
-
The extension will extract the text from the image using Tesseract.js and insert it into your active editor at the current cursor position.
Title | Command | Description |
---|---|---|
Windmillcode Paste Image as Text | windmillcode-paste-text-from-image.pasteImageAsText |
Extracts text from the image in your clipboard and pastes it into the active editor. |
Contributions are welcome! we need help on accurate results when greater than ~200 characters are in the image the results become very poor
if the result is bad you must zoom into the image to get better results. For large texts break into smaller sections for better results
- investigate image optimization solutions for better overall results
This extension is licensed under the MIT License. See the LICENSE file for details.