#!/usr/bin/env python2 import time import struct import pygame import sys from math import sin, cos, radians SCALE = 3 RED = (255,0,0) GREEN = (0,255,0) GRAY = (127, 127, 127) KEYPOINTS_SIZE = 24 def load_keypoints(path): kpts = [] with open(path, "rb") as f: size = struct.unpack("