swip_core 0.1.0+4
swip_core: ^0.1.0+4 copied to clipboard
SWIP Core - Scoring engine for the Synheart Wellness Impact Protocol
swip_core (Flutter) #
SWIP SDK core – integrates with synheart_wear, computes SDNN, runs a tiny on‑device model, and streams a 0–100 SWIP score.
Quick start #
final swip = SWIPManager();
await swip.initialize(
config: const SWIPConfig(
modelBackend: 'onnx',
modelAssetPath:
'packages/swip_core/assets/models/extratrees_wrist_all_v1_0.onnx',
),
);
await swip.start();
swip.scores.listen((s) {
print('SWIP ${s.score0to100.toStringAsFixed(1)} via ${s.modelInfo.id}');
});