class SimpleTracker:
    def __init__(self):
        self.tracks = {}  # Tracks of persons
        self.next_id = 10  # ID for the next person
    
    def update_tracks(self, detections):
        # Implement track updating logic here
        # For simplicity, we're directly using detections as tracks in this example
        new_tracks = {}
        for det in detections:
            x1, y1, x2, y2 = det["bbox"]
            cx = (x1 + x2) / 2.0
            cy = (y1 + y2) / 2.0
            found = False
            for track_id, track in self.tracks.items():
                tx1, ty1, tx2, ty2 = track["bbox"]
                tcx = (tx1 + tx2) / 2.0
                tcy = (ty1 + ty2) / 2.0
                if ((cx - tcx) ** 2 + (cy - tcy) ** 2) ** 0.5 < 50:  # Example threshold
                    new_tracks[track_id] = det
                    found = True
                    break
            if not found:
                new_tracks[self.next_id] = det
                self.next_id += 1
        self.tracks = new_tracks