From e6914a65b49ee6864893361e1f9f9641a59c1381 Mon Sep 17 00:00:00 2001 From: woodenbirds <1979309725@qq.com> Date: Tue, 19 Nov 2024 13:58:35 -0800 Subject: [PATCH] delete aria_utils --- aria_utils.py | 211 -------------------------------------------------- 1 file changed, 211 deletions(-) delete mode 100755 aria_utils.py diff --git a/aria_utils.py b/aria_utils.py deleted file mode 100755 index 50f827d..0000000 --- a/aria_utils.py +++ /dev/null @@ -1,211 +0,0 @@ -import pandas as pd -import numpy as np -import matplotlib.pyplot as plt -import projectaria_tools.core.mps as mps -from projectaria_tools.core import data_provider,calibration -# from projectaria_tools.core.mps.utils import get_nearest_pose -from projectaria_tools.core.stream_id import StreamId -from projectaria_tools.core.sensor_data import DEVICE_TIME,CLOSEST -from projectaria_tools.core.mps.utils import get_nearest_wrist_and_palm_pose -import os - -def x_y_rot90(x, y, w, h): - return h-y, x - -def x_y_undistort(x, y, w, h, pinhole, calib): - x, y = int(x), int(y) - # a zero numpy array of shape (w, h) with coordinate (x,y) having value 1 - point = np.zeros((w, h)) - offset = 2 - for i in range(x-offset, x+offset+1): - for j in range(y-offset, y+offset+1): - if i>=0 and i=0 and j