Skip to content

Instantly share code, notes, and snippets.

@masouduut94
Created July 10, 2020 07:34
Show Gist options
  • Save masouduut94/50929e9eb684bd7a6c494569f5bc93ce to your computer and use it in GitHub Desktop.
Save masouduut94/50929e9eb684bd7a6c494569f5bc93ce to your computer and use it in GitHub Desktop.
class JsonParser:
def __init__(self, top_k_labels: int = 1):
self.frames = {}
self.video_details = dict(frame_width=None,
frame_height=None,
frame_rate=None,
video_name=None)
self.top_k_labels = top_k_labels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment