Lens is back (thanks Viola again)
This commit is contained in:
@@ -37,7 +37,8 @@ Additionally:
|
||||
- WinRT OCR: this will work on Windows 10 or later if winocr (`pip install winocr`) is installed. It can also be used by installing winocr on a Windows virtual machine and running the server there (`winocr_serve`), and installing requests (`pip install requests`) and specifying the IP address of the Windows VM/machine in the config file ("w" key)
|
||||
|
||||
## Cloud providers
|
||||
- Google Lens: Google Vision in disguise (no need for API keys!), however it needs to download a couple megabytes of data for each request. You need to install pyjson5 and requests (`pip install pyjson5 requests`) ("l" key)
|
||||
- Google Lens: Google Vision in disguise (no need for API keys!), You need to install protobuf and requests (`pip install protobuf requests`) ("l" key)
|
||||
- Google Lens (web): alternative version of Lens (Google webpage version). Results should be the same but it's much slower. You need to install pyjson5 and requests (`pip install pyjson5 requests`) ("k" key)
|
||||
- Google Vision: you need a service account .json file named google_vision.json in `user directory/.config/` and installing google-cloud-vision (`pip install google-cloud-vision`) ("g" key)
|
||||
- Azure Image Analysis: you need to specify an api key and an endpoint in the config file and to install azure-ai-vision-imageanalysis (`pip install azure-ai-vision-imageanalysis`) ("v" key)
|
||||
- OCRSpace: you need to specify an api key in the config file and to install requests (`pip install requests`) ("o" key)
|
||||
@@ -45,7 +46,7 @@ Additionally:
|
||||
# Acknowledgments
|
||||
|
||||
This uses code from/references these projects:
|
||||
- Viola for working on the Google Lens implementation and helping with the pyobjc VisionKit code!
|
||||
- Viola for working on the Google Lens implementation (twice!) and helping with the pyobjc VisionKit code!
|
||||
- [google-lens-ocr](https://github.com/dimdenGD/chrome-lens-ocr) for additional Lens reverse engineering and the headers/URL parameters I currently use
|
||||
- @ronaldoussoren for helping with the pyobjc VisionKit code
|
||||
- [Manga OCR](https://github.com/kha-white/manga-ocr)
|
||||
|
||||
Reference in New Issue
Block a user