Also redundant now
This commit is contained in:
@@ -12,7 +12,7 @@ This has been tested with Python 3.11. Newer/older versions might work. It can b
|
||||
- [Manga OCR](https://github.com/kha-white/manga-ocr): refer to the readme for installation ("m" key)
|
||||
- [EasyOCR](https://github.com/JaidedAI/EasyOCR): refer to the readme for installation ("e" key)
|
||||
- [PaddleOCR](https://github.com/PaddlePaddle/PaddleOCR): refer to the [wiki](https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.7/doc/doc_en/quickstart_en.md) for installation ("o" key)
|
||||
- Apple Vision framework: this will work on macOS Ventura or later if pyobjc (`pip install pyobjc`) is installed. In my experience, the best of the local providers for horizontal text ("a" key)
|
||||
- Apple Vision framework: this will work on macOS Ventura or later. In my experience, the best of the local providers for horizontal text ("a" key)
|
||||
- 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 (`winocr_serve`), installing requests (`pip install requests`) and specifying the IP address of the Windows VM/machine in the config file (see below) ("w" key)
|
||||
|
||||
## Cloud providers
|
||||
|
||||
@@ -209,9 +209,6 @@ class AppleVision:
|
||||
logger.warning('Apple Vision is not supported on non-macOS platforms!')
|
||||
elif int(platform.mac_ver()[0].split('.')[0]) < 13:
|
||||
logger.warning('Apple Vision is not supported on macOS older than Ventura/13.0!')
|
||||
else:
|
||||
if 'objc' not in sys.modules:
|
||||
logger.warning('pyobjc not available, Apple Vision will not work!')
|
||||
else:
|
||||
self.available = True
|
||||
logger.info('Apple Vision ready')
|
||||
|
||||
Reference in New Issue
Block a user