Skip to main content

Module vision_pipeline

Module vision_pipeline 

Source
Expand description

End-to-end native vision pipeline (MVP + GSW W/G/S).

Synthetic or raw RGB → detect (reference or production weights) → track → epistemic quins → overlay BMP. Plus generate + image-to-3D. No Python.

Structs§

BiosensePulseDemo
Biosense excellence demos (consent-bound recipes; no training).
GenerateResult
GsContinuumResult
Full G→S continuum: generate → media store → recon → validate → OBJ + .10d + quins.
ImageTo3dResult
OverlayBoxDto
SrResultDto
Super-resolution (“Enhance”) result: before/after PNG data URLs + honesty.
VisionDemoResult

Functions§

biosense_self_monitor_pulse_demo
Synthetic pulse + optional EVM → rPPG (security consent template for demo).
correct_instance
demo_test
demo_train
Public helpers for UI without storage.
detect_from_image_file
Decode PNG/JPEG and detect.
detect_from_rgb8
Detect from raw RGB8 buffer (file import path).
detect_with_disk_weights
Detect with QVWT from disk if present.
ensure_vision_weights
Ensure seed QVWT on disk; load for production path.
generate_and_reconstruct
Generate then reconstruct (G→S10 smoke path).
generate_image
Swarm G — native seeded image generation.
image_to_3d_from_rgb
Swarm S-V10 — heightfield recon + validation.
ingest_demo_to_wal
Persist native observations to WAL and return SHACL report.
node_hint_to_tensor10d
Map vision NodeHintTensor10D for spectral paint (D1/D2).
query_vision_region
Query observation quins by normalized region (u16).
reject_instance
Human rejects instance; machine claims remain. Returns updated attestation note.
run_gs_continuum
Full continuum used before handing off to auditory work: generate → content-addressed store → heightfield recon → validate → OBJ + sealed .10d + generation receipt quins + geometry quins.
run_sample_demo
run_sample_demo_with_backend
run_synthetic_demo
Run synthetic sample through detect → track → compile → SHACL → overlay BMP.
run_synthetic_demo_with_backend
seal_vision_mesh_with_detections
Seal a MeshIR with detection-derived Tensor10D nodes (D1 product path).
section15_smoke
§15 automated smoke: synthetic detect + SHACL + overlay.
super_resolve_image
Decode arbitrary image bytes, classically super-resolve (Enhance), and return before/after PNG data URLs plus device/honesty metadata.
twin_elasticity_demo
Phase 11–12: twin eligibility + closed-form elasticity preview (A1, not FEA).
vision_local_embed_demo
Local CBIR proxy hashes for an RGB buffer (not CLIP).