I have a small script that create JSON. I want to add field track_ID and this field wll be int. Idea is to add some loop in which it starts from 1 and finish when objects gone. Any ideas?
for list in obj['frames']['objects']:
data = {
'track_ID':
'object_id': obj['info']['doc']
}