HireTrace / scripts /test_pose.py
mrinal22258's picture
chore(release): HireTrace v2 production release with pre-launch hardening
1bbf278
Raw History Blame Contribute Delete
382 Bytes
import numpy as np
import cv2
from PIL import Image, ImageDraw
from scripts.generate_mascot_system import measure_gaze_metrics
# Load C and N cells
master = Image.open('assets/brand/hiretrace_mascot_directions.webp').convert('RGBA')
arr = np.array(master)
cell_c = Image.fromarray(arr[300:600, 300:600])
cell_n = Image.fromarray(arr[0:300, 300:600])
print("Ready to test poses")