modelVersion constant
String
const modelVersion
Cache-invalidation key for consumers that persist detection results.
Bump this when detection output could change for the same input bytes - i.e. on model file swaps (retraining, new weights), NMS threshold changes, preprocessing changes, or postprocessing / coordinate-space changes. Do NOT bump for pure refactors, doc updates, API additions, or anything else that leaves inference output identical.
Downstream caches should include this value in their lookup key so stored results are ignored after an upgrade that changes behavior.
Implementation
static const String modelVersion = '1.1.1';