Skip to content

Instantly share code, notes, and snippets.

@shoaibmehedi7
Created July 20, 2021 11:40
Show Gist options
  • Save shoaibmehedi7/3342b31609a0bace1d48e62b4a43b721 to your computer and use it in GitHub Desktop.
Save shoaibmehedi7/3342b31609a0bace1d48e62b4a43b721 to your computer and use it in GitHub Desktop.
def register(self, centroid, inputRect):
self.objects[self.nextObjectID] = centroid
self.bbox[self.nextObjectID] = inputRect
self.disappeared[self.nextObjectID] = 0
self.nextObjectID += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment