Skip to content

Code for our paper "Advanced acoustic footstep-based person identification dataset and method using multimodal feature fusion"

License

Notifications You must be signed in to change notification settings

Cratial/AFPIDII-AFPINet

Repository files navigation

Advanced acoustic footstep-based person identification dataset and method using multimodal feature fusion

This is a PyTorch implementation of our paper published in KBS.

AFPID-II: Improved Acoustic Footstep-based Person Identification Dataset. AFPI-Net: Acoustic Footstep based Person Identification Network.

Acess to the AFPID-II dataset and this source code

Note: The source code and the AFPID-II dataset is free for non-commercial research and education purposes. Any commercial use should get formal permission first.

The code and dataset are released under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License for NonCommercial use only.

The AFPID-II dataset could be downloaded from Baidu pan fetch code: 6y28 or Google drive. Please cite our paper if you use any part of our source code or data in your research.

Requirement

  • python>=3.9.7
  • audioread>=2.1.9
  • PyTorch>=1.12.1
  • torchvision>=0.13.1
  • pandas>=1.4.4
  • librosa>=0.8.1
  • h5py>=3.7.0
  • numpy>=1.20.3
  • scikit-learn>=1.0.1
  • scipy>=1.7.3

Usage

Download the AFPID-II dataset and prepare the directory following the below structure:

├── ../data/acoustic_footstep
│   ├── AFPID-Raw
│   |    ├── S01
│   |    ├── S02
│   |    ├── ...
│   |    ├── S13
│   |    ├── fse_sep_tim_vec_cell.mat
│   ├── AFPID-II_P2-Raw
│   |    ├── S01
│   |    ├── S02
│   |    ├── ...
│   |    ├── S40
│   |    ├── afpid_ii_p2_fse_sep_tim_vec.mat
  1. Generate various dataset variants with files in ./scripts, including audio feature extraction:
> python process_AFPID_FE1.py 
> python process_AFPID_II_P2_FE1.py
  1. Train the model with parameters adjusted in ./configs/wave_hcraft_spec_fusion.json:
> python train.py
  1. To evaluate the model:
> python test_afpinet.py

Results


Figure 1:Person identification scores on AFPID_RK and AFPID_RD (%).


Figure 2: Person classification results on AFPID-II concerning multiple covariates.

Code References

In this Codebase, we utilize code from the following source(s):

About

Code for our paper "Advanced acoustic footstep-based person identification dataset and method using multimodal feature fusion"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages