"Real-time Trainee Action Recognition using Action Similarity Embeddings". KCC2022.
Jongwhoa Lee*, Minho Sim*, and Ho-Jin Choi
Korea Advanced Institute of Science and Technology, Daejeon, South Korea
Install dependencies:
pip install -r requirements.txt
Setup project:
pip install .
- Prepare body part embedding (BPE) model.
- Extracts human skeletons from video frames using a pre-trained pose estimator.
- Using the BPE model, compute action embeddings for each video in the training set to create Standard Action DB
- Given the test sample, recognize action following the below steps:
- Extract body part embeddings following same process when creating standard action DB.
- Perform time alignment between test embedding and train embeddings using dynamic time warping (DTW) algorithm.
- Calculate cosine distances between embeddings.
- Predict actions using K-nearest neighbors (K-NN) algorithm.