Files
scrypted/plugins/openvino
The Beholder bfb8c233f4 openvino: avoid CLIP startup timeout by loading HF cache first (#1949)
Scrypted could restart the OpenVINO plugin on startup in offline/firewalled setups because CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32") triggers HuggingFace Hub network checks/retries that exceed the plugin startup watchdog.
Update predict/clip.py to:
- Load the CLIP processor from the local HF cache first (local_files_only=True) so startup is fast/offline-safe.
- Refresh the processor cache online asynchronously in a background thread (asyncio.to_thread) so update checks don’t block startup.
- Add simple log prints to indicate cache load vs refresh success/failure.
2025-12-26 18:38:13 -08:00
..
2024-11-21 14:37:49 -08:00
2023-04-25 21:56:07 -07:00
2023-04-25 21:56:07 -07:00
2023-04-25 21:56:07 -07:00
2023-04-25 21:56:07 -07:00

OpenVINO Object Detection for Scrypted

This plugin adds object detection capabilities to any camera in Scrypted. Having a fast GPU and CPU is highly recommended.

The OpenVINO Plugin should only be used if you are a Scrypted NVR user. It will provide no benefits to HomeKit, which does its own detection processing.