v1.0 - Version stable: multi-PC, détection UI-DETR-1, 3 modes exécution
- Frontend v4 accessible sur réseau local (192.168.1.40) - Ports ouverts: 3002 (frontend), 5001 (backend), 5004 (dashboard) - Ollama GPU fonctionnel - Self-healing interactif - Dashboard confiance Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
15
examples/test_owl_simple.py
Executable file
15
examples/test_owl_simple.py
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
from pathlib import Path
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent))
|
||||
|
||||
from core.detection.owl_detector import OwlDetector
|
||||
from PIL import Image
|
||||
|
||||
print("Test OWL-v2 Simple\n")
|
||||
owl = OwlDetector(confidence_threshold=0.05)
|
||||
print("✓ OWL-v2 chargé")
|
||||
|
||||
img = Image.new('RGB', (400, 300), color=(240, 240, 240))
|
||||
detections = owl.detect(img, ["button", "text field"])
|
||||
print(f"✓ Détections: {len(detections)}")
|
||||
Reference in New Issue
Block a user