alfred-workflows
alfred-workflows copied to clipboard
[Bug]: OCR doesn't work
Describe the bug
Workflow Name
OCR
Alfred Version
v5.1.4
MacOS Version
macOS 14 Sonoma
Mac Chip
Apple Silicon (like M1, M2)
MacOS Locale
EN
Workflow Homepage is 👉 OCR
I have installed both pngpaste and node with brew through terminal
I have installed both pngpaste and node with brew through terminal
I think you need to execute the screenshot command to print it out.
I have installed both pngpaste and node with brew through terminal
I think you need to execute the screenshot command to print it out.
I tried it in the terminal and it didn't work:
I have installed these two packages: pngpaste and node, but somehow they're not in the correct folder
I think you should print out the location of your commands after installation, so I can understand why it's not in the target path I'm aware of. Otherwise, how would the program know?
which node
which pngpaste
Hi Alan, thanks for the reply, please see below my screenshot:
it seems these two packages were installed in my homebrew folder, what should I do next to have them in the proper location?
Thanks
Hi Alan, thanks for the reply, please see below my screenshot:
it seems these two packages were installed in my homebrew folder, what should I do next to have them in the proper location?
Thanks
I have updated the version, just try installing it, and if there are still issues, reopen the issue.
Thank you.
The new OCR workflow use built-in OCR. faster and no limit.
I've updated to your latest version, but it still doesn't seem to work.
I added it to the Shortcuts, but couldn't paste it for some reason, and I didn't see these two windows as in your homepage when I was adding OCR to the Shortcuts:
when I double click on the newly added OCR shortcut, I see this window:
After the first OCR trigger, you will be prompted to install. After triggering OCR again, select the screen area and press Enter to perform OCR and retrieve the text. There will be a prompt for permission, just keep clicking allow, and you will not be prompted again in future use. Using Alfred workflow inevitably requires understanding the workflow.
Additionally, take a look at this GIF animation: https://github.com/alanhg/alfred-workflows/tree/master/ocr#效果
so I reinstalled the OCR shorcut, and clicked "allow" on the first privacy window, but I did not see the second privacy window.
The OCR tool still doesn't work. After selecting the text on the image, there isn't a text editor popping up like in your gif presentation, and I could neither paste the text anywhere else.