Commit graph

9 commits

Author SHA1 Message Date
Reuven
014bf98ea2 feat(demo): add Self-Learning tab with 6 interactive training demos
- Live Classifier: Train custom classes with labeled examples, test classification
- Few-Shot Learning: 3-class system (A/B/C) with drag-drop training
- Incremental Learning: Positive/negative examples with prototype visualization
- Feedback Learning: Track predictions and accuracy over time
- Memory Bank: View stored embeddings, export/import as JSON
- Camera Training: Train using webcam with single/auto-capture modes

All demos use real CNN embeddings (512-dim) with prototypical networks
for classification. Includes cosine similarity scoring and confidence bars.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-11 19:31:23 -04:00
Reuven
3691699569 fix(demo): improve motion detection sensitivity and reliability
- Wait for video to be fully ready before processing
- Add camera warmup delay
- Increase sensitivity (10x amplification, lower threshold)
- Center crop video for consistent detection
- Add better error handling and logging

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-11 18:58:45 -04:00
Reuven
4f49ec2d42 feat(demo): add interactive demos and self-learning examples
Interactive Demos:
- Similarity Search: Click image to find similar ones
- Motion Detection: Real-time scene change via embeddings
- A/B Comparison: Side-by-side image comparison
- Batch Processor: Process up to 20 images at once
- Embedding Explorer: Visualize 512-dim features with stats
- Anomaly Detection: Find outlier images in a set

Self-Learning Code Examples:
- Self-Learning System: Adaptive classifier with feedback loop
- Incremental Learning: Online learning without forgetting
- Few-Shot Learning: Learn from 1-5 examples per class
- Image Retrieval: Searchable image database
- Content Moderation: Flag similar inappropriate content
- Visual Recommendations: Recommend similar items
- Video Keyframes: Extract unique frames

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-11 18:26:30 -04:00
Reuven
da6c7e260a fix(pose): force WebGL backend for TensorFlow.js compatibility
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-11 18:10:59 -04:00
Reuven
72c1f225f7 feat(demo): add real-time pose estimation with MoveNet
- Add new Pose Estimation tab with 17-keypoint body tracking
- Integrate TensorFlow.js MoveNet (SinglePose Lightning model)
- Real-time skeleton visualization with colored keypoints
- Pose embedding (34-dim) with similarity comparison
- Reference pose capture for pose matching
- Toggle skeleton visibility
- Add pose tracking and gesture control code examples
- Update badges and examples grid

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-11 18:09:07 -04:00
Reuven
1799da243f feat: add real-time CNN processing with live webcam
- Real-time embedding extraction at ~30+ FPS
- Live FPS and latency display
- Reference image comparison with similarity score
- Live embedding visualization
- Center-crop to square for consistent input

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-11 18:02:13 -04:00
Reuven
15fcb8d556 fix: host WASM files locally + add console debugging
- Host ruvector_cnn_wasm.js and .wasm in docs/cnn/
- Add detailed console.log for debugging WASM init
- Remove CDN dependency for reliability

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-11 17:59:13 -04:00
Reuven
4bf6bf706b fix: correct WASM API usage in CNN demo
- Use object format for init: { module_or_path: url }
- Use WasmCnnEmbedder (not CnnEmbedder)
- Use snake_case methods: embedding_dim, cosine_similarity

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-11 17:57:25 -04:00
Reuven
0625e2c46c refactor: move CNN demo to docs/cnn/ for shorter URL
URL: https://ruvnet.github.io/ruvector/cnn/

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-11 17:52:13 -04:00