Skip to content

Commit 35a229b

Browse files
committed
Evo: make tracker compatible with MOTChallenge inputs and outputs
1 parent 807d883 commit 35a229b

4 files changed

Lines changed: 429 additions & 7 deletions

File tree

ItemTracked.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ exports.ItemTracked = function(properties, frameNb, DEFAULT_UNMATCHEDFRAMES_TOLE
194194
}
195195
}
196196

197+
itemTracked.toMOT = function(frameIndex) {
198+
return `${frameIndex},${this.idDisplay},${this.x},${this.y},${this.w},${this.h},${this.confidence / 100},-1,-1,-1`;
199+
}
200+
197201
itemTracked.toJSONGenericInfo = function() {
198202
return {
199203
id: this.id,

0 commit comments

Comments
 (0)