💡 Examples#
The examples below will help you make the most use of pyppbox. Before you try these examples, make sure you already installed pyppbox V3+ or check 🚀 Getting Started if you haven’t already.
ℹ️ Source code and required input files are available here: {pyppbox repo}/examples.
Run scripts with the repository’s examples/ directory as the working directory.
Examples 3, 4, 5, 11, and 13 contain C:/pyppbox_v3/ placeholders in their scripts
or custom configs; replace these with your installed pyppbox directory. Find it
with python -c "import os, pyppbox; print(os.path.dirname(pyppbox.__file__))".
- Example 1: Use some basic standalone functions
- Example 2: Use pyppbox’s internal config directory
- Example 3: Set a custom config directory
- Example 4: Set the main detector/tracker/reider by a YAML or JSON file
- Example 5: Set the main modules by a raw/ready dictionary
- Example 6: Set the main modules by names
- Example 7: Use result tools
- Example 8: Use real-time evaluation tools
- Example 9: Compare a generated result to a reference or ground-truth
- Example 10: Use GT (Ground-truth) as a detector
- Example 11: Train a classifier using a supported reider
- Example 12: Train all the internal reider classifiers for GTA V dataset
- Example 13: Use a supported module directly
- Example 14: Use pyppbox in multithreading application