cherry-studio/packages
Kejiang Ma 0e5ebcfd00
feat: new build-in OCR provider -> intel OV(NPU) OCR (#10737)
* new build-in ocr provider intel ov

Signed-off-by: Ma, Kejiang <kj.ma@intel.com>
Signed-off-by: Kejiang Ma <kj.ma@intel.com>

* updated base on PR's commnets

Signed-off-by: Kejiang Ma <kj.ma@intel.com>

* feat(OcrImageSettings): use swr to fetch available providers

Add loading state and error handling when fetching available OCR providers. Display an alert when provider loading fails, showing the error message. Also optimize provider filtering logic using useMemo.

* refactor(ocr): rename providers to listProviders for consistency

Update method name to better reflect its functionality and maintain naming consistency across the codebase

---------

Signed-off-by: Ma, Kejiang <kj.ma@intel.com>
Signed-off-by: Kejiang Ma <kj.ma@intel.com>
Co-authored-by: icarus <eurfelux@gmail.com>
2025-10-17 15:18:00 +08:00
..
aiCore fix: update ESLint configuration and dependencies, replace zod import… (#10645) 2025-10-12 17:15:52 +08:00
extension-table-plus feat: use biome to format files (#10170) 2025-09-15 19:21:15 +08:00
mcp-trace feat: add developer mode settings 2025-07-20 15:37:38 +08:00
shared feat: new build-in OCR provider -> intel OV(NPU) OCR (#10737) 2025-10-17 15:18:00 +08:00