Skip to content

Why are the top and left coordinates swapped in Update #2

Description

@GrubbyHalo
	if (objects.size() > 0)
	{
		for(size_t i = 0; i < objects.size(); i++){
			Ttlwh a;
			a.t=objects[i].rect.x;
			a.l=objects[i].rect.y;
			a.w=objects[i].rect.width;
			a.h=objects[i].rect.height;

			float score = objects[i].prob;
			int obj_id  = objects[i].label;

			STrack strack(a, score, obj_id, this);
			if (score >= track_thresh) detections.push_back(strack);
			else  			           detections_low.push_back(strack);
		}
	}
More specifically

a.t=objects[i].rect.x;
a.l=objects[i].rect.y;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions