An person embedder for features based person tracking
{
"model_path": "/path/to/your/model"
}make setup #or make setup-jp6 on jetson machines
source build/.venv/bin/activate
export PYTHONPATH=$PYTHONPATH:$(pwd)\
python src/test_integration.pyThis project includes a Makefile script to automate the PyInstaller build process for Jetson machines. Building and deploying the module for other platforms should be done through CI.
PyInstaller is used to create standalone executables from the Python module scripts.
Run :
make setup-jp6- installs system dependencies (cuDNN and cuSPARSELt)
- creates venv environment (under
./build/.venv) - gets/builds python packages wheel files - Torch, Torchvision (built from source)
Cleaned with make clean (this also deletes pyinstaller build directory)
make pyinstallerThis command builds the module executable using PyInstaller.
This creates the PyInstaller executable under ./build/pyinstaller_dist.
Edit first_run field in meta.json file
"first_run": "first_run_jp6.sh"
Compress the module with the updated meta.json and first_run_jp6.sh using:
make module.tar.gzand upload to the registry:
viam login
viam module upload --version 0.0.0-rc0 --platform linux/arm64 --tags 'jetpack:6' module.tar.gzCleaned with make clean