From a765eae689bed11ff413995176926cab24cb8264 Mon Sep 17 00:00:00 2001 From: David PAGNON Date: Fri, 26 Apr 2024 23:34:47 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 8544935..50a100d 100644 --- a/README.md +++ b/README.md @@ -792,7 +792,6 @@ You will be proposed a to-do list, but please feel absolutely free to propose yo ✔ **Triangulation:** [Undistort](https://docs.opencv.org/3.4/da/d54/group__imgproc__transform.html#ga887960ea1bde84784e7f1710a922b93c) 2D points before triangulating (and [distort](https://github.com/lambdaloop/aniposelib/blob/d03b485c4e178d7cff076e9fe1ac36837db49158/aniposelib/cameras.py#L301) them before computing reprojection error). ✔ **Triangulation:** Offer the possibility to augment the triangulated data with [the OpenCap LSTM](https://github.com/stanfordnmbl/opencap-core/blob/main/utilsAugmenter.py). Create "BODY_25_AUGMENTED" model, Scaling_setup, IK_Setup. ✔ **Triangulation:** Multiple person kinematics (output multiple .trc coordinates files). Triangulate all persons with reprojection error above threshold, and identify them by minimizing their displacement across frames. -▢ **Triangulation:** If the gap is larger than the interpolation threshold, fill it with previous frames instead of leaving it blank. ▢ **Triangulation:** Pre-compile weighted_triangulation and reprojection with @jit(nopython=True, parallel=True) for faster execution. ▢ **Triangulation:** Offer the possibility of triangulating with Sparse Bundle Adjustment (SBA), Extended Kalman Filter (EKF), Full Trajectory Estimation (FTE) (see [AcinoSet](https://github.com/African-Robotics-Unit/AcinoSet)). ▢ **Triangulation:** Implement normalized DLT and RANSAC triangulation, Outlier rejection (sliding z-score?), as well as a [triangulation refinement step](https://doi.org/10.1109/TMM.2022.3171102). From 53aea43a4334728294254286aa67aadecfaa71d0 Mon Sep 17 00:00:00 2001 From: David PAGNON Date: Fri, 26 Apr 2024 23:51:32 +0200 Subject: [PATCH 2/4] Update README.md --- README.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 50a100d..717489e 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ If you can only use one single camera and don't mind losing some accuracy, pleas 4. [Camera calibration](#camera-calibration) 1. [Convert from Qualisys, Optitrack, Vicon, OpenCap, EasyMocap, or bioCV](#convert-from-qualisys-optitrack-vicon-opencap-easymocap-or-biocv) 2. [Calculate from scratch](#calculate-from-scratch) - 5. [Synchronization, Tracking, Triangulating, Filtering](#synchronization-tracking-triangulating-filtering) + 5. [Synchronizing, Tracking, Triangulating, Filtering](#synchronizing-tracking-triangulating-filtering) 1. [Synchronization](#synchronization) 2. [Associate persons across cameras](#associate-persons-across-cameras) 3. [Triangulating keypoints](#triangulating-keypoints) @@ -96,7 +96,7 @@ If you can only use one single camera and don't mind losing some accuracy, pleas 1. **Install OpenPose** (instructions [there](https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation/0_index.md)). \ *Windows portable demo is enough.* 2. **Install OpenSim 4.x** ([there](https://simtk.org/frs/index.php?group_id=91)). \ -*Tested up to v4.4-beta on Windows. Has to be compiled from source on Linux (see [there](https://simtk-confluence.stanford.edu:8443/display/OpenSim/Linux+Support)).* +*Tested up to v4.5 on Windows. Has to be compiled from source on Linux (see [there](https://simtk-confluence.stanford.edu:8443/display/OpenSim/Linux+Support)).* 3. ***Optional.*** *Install Anaconda or [Miniconda](https://docs.conda.io/en/latest/miniconda.html). \ Open an Anaconda terminal and create a virtual environment with typing:*
conda create -n Pose2Sim python=3.8 -y 
@@ -136,8 +136,11 @@ Pose2Sim.markerAugmentation()
 ```
 3D results are stored as .trc files in each trial folder in the `pose-3d` directory.
 
-*N.B.:* Default parameters have been provided in [Config.toml](https://github.com/perfanalytics/pose2sim/blob/main/Pose2Sim/S01_Demo_SingleTrial/Config.toml) but can be edited.\
-*N.B.:* *Try the calibration tool by changing `calibration_type` to `calculate` instead of `convert` (more info [there](#calculate-from-scratch)).*
+*N.B.:* Default parameters have been provided in [Config.toml](https://github.com/perfanalytics/pose2sim/blob/main/Pose2Sim/S01_Demo_SingleTrial/Config.toml) but can be edited.
+
+
+ +__*Go further:*__ Try the calibration tool by changing `calibration_type` to `calculate` instead of `convert` in [Config.toml](https://github.com/perfanalytics/pose2sim/blob/main/Pose2Sim/S01_Demo_SingleTrial/Config.toml) (more info [there](#calculate-from-scratch)).
@@ -153,7 +156,7 @@ Pose2Sim.markerAugmentation() ### Inverse kinematics 1. Load the provided `IK_Setup_Pose2Sim_LSTM.xml` scaling file from `Pose2Sim/OpenSim_Setup`. *(Tools -> Inverse kinematics -> Load)* -2. Run. You should see your skeletal model move in the Vizualizer window. +2. Run. You should see your skeletal model move in the Visualizer window. 5. Your IK motion file will be saved in `S00_P00_OpenSim`.
From 3935210d41200e1e208cd302d12308b92b131cfa Mon Sep 17 00:00:00 2001 From: David PAGNON Date: Fri, 26 Apr 2024 23:54:21 +0200 Subject: [PATCH 3/4] Update setup.cfg --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 053fe10..68cc27d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = pose2sim -version = 0.8.1 +version = 0.8.2 author = David Pagnon author_email = contact@david-pagnon.com description = Perform a markerless kinematic analysis from multiple calibrated views as a unified workflow from an OpenPose input to an OpenSim result. From aaad2a8991bdcc6e07db4a6e125ac506f555c09c Mon Sep 17 00:00:00 2001 From: David PAGNON Date: Fri, 26 Apr 2024 23:56:16 +0200 Subject: [PATCH 4/4] Update setup.cfg --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 68cc27d..2b9a155 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = pose2sim -version = 0.8.2 +version = 0.8.3 author = David Pagnon author_email = contact@david-pagnon.com description = Perform a markerless kinematic analysis from multiple calibrated views as a unified workflow from an OpenPose input to an OpenSim result.