pyppbox 3.5b2__tar.gz → 3.6b1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyppbox-3.5b2 → pyppbox-3.6b1}/GETSTARTED.md +17 -26
- {pyppbox-3.5b2/pyppbox.egg-info → pyppbox-3.6b1}/PKG-INFO +3 -5
- {pyppbox-3.5b2 → pyppbox-3.6b1}/README.md +2 -2
- {pyppbox-3.5b2 → pyppbox-3.6b1}/RELEASENOTES.md +11 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/__init__.py +1 -1
- pyppbox-3.6b1/pyppbox/config/cfg/cfg.zip +0 -0
- pyppbox-3.6b1/pyppbox/config/strings/strings.zip +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/guitools.py +11 -12
- {pyppbox-3.5b2 → pyppbox-3.6b1/pyppbox.egg-info}/PKG-INFO +3 -5
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox.egg-info/SOURCES.txt +2 -1
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox.egg-info/requires.txt +0 -2
- {pyppbox-3.5b2 → pyppbox-3.6b1}/requirements/requirements.txt +0 -3
- pyppbox-3.5b2/pyppbox/config/cfg/cfg.7z +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/LICENSE +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/MANIFEST.in +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/config/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/config/cfg/detectors.yaml +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/config/cfg/main.yaml +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/config/cfg/reiders.yaml +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/config/cfg/trackers.yaml +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/config/configtools.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/config/myconfig.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/config/strings/strings.yaml +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/config/unifiedstrings.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/data/datasets/.gitignore +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/data/logs/.gitignore +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/data/modules/.gitignore +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/data/res/.gitignore +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/data/res/idmap.txt +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/assets/TReID.png +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/assets/icon.ico +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/assets/settings.ico +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/guidemo.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/guihub.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/tmp/input.tmp +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/tmp/ui.tmp +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/ui_centroid.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/ui_deepsort.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/ui_facenet.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/ui_gt.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/ui_launcher.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/ui_sort.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/ui_torchreid.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/ui_yolocls.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/gui/ui_yoloult.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/detectors/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/detectors/yolocls/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/detectors/yoloult/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/reiders/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/reiders/facenet/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/reiders/facenet/origin/align_dataset_mtcnn.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/reiders/facenet/origin/detect_face.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/reiders/facenet/origin/facenet.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/reiders/torchreid/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/reiders/torchreid/model_dict.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/reiders/torchreid/model_dict.yaml +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/reiders/torchreid/utils.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/centroid/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/detection.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/detection_yolo.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/generate_detections.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/iou_matching.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/kalman_filter.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/linear_assignment.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/nn_matching.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/preprocessing.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/track.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/tracker.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/voc_classes.txt +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/sort/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/sort/origin/sort.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/standalone/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/standalone/mt.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/utils/__init__.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/utils/commontools.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/utils/evatools.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/utils/gttools.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/utils/logtools.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/utils/mot2pyppbox.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/utils/persontools.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/utils/restools.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/utils/visualizetools.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox.egg-info/dependency_links.txt +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox.egg-info/top_level.txt +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/pyproject.toml +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/requirements/README.md +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/requirements/test_gpu.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/setup.cfg +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/setup.py +0 -0
- {pyppbox-3.5b2 → pyppbox-3.6b1}/setup_extra.yaml +0 -0
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
# 🚀 Getting Started
|
|
2
2
|
|
|
3
|
-
Installing `pyppbox` is very easy and straightforward. You can install it from [PyPI](https://pypi.org/project/pyppbox/) directly or use the prebuilt `.whl` files on [GitHub releases](https://github.com/rathaumons/pyppbox/releases) or install from GitHub directly or build it from source on your own machine. However, in order to get it work, you need to install all the necessary dependencies or requirements for the modules you
|
|
3
|
+
Installing `pyppbox` is very easy and straightforward. You can install it from [PyPI](https://pypi.org/project/pyppbox/) directly or use the prebuilt `.whl` files on [GitHub releases](https://github.com/rathaumons/pyppbox/releases) or install from GitHub directly or build it from source on your own machine. However, in order to get it work, you need to install all the necessary dependencies or requirements for the modules you need.
|
|
4
4
|
|
|
5
|
-
🆕 `pyppbox` `v3.0b2+` supports all Windows, Linux and macOS. ***Use the most recent version of `pyppbox` for smoother experience!***
|
|
6
5
|
|
|
7
6
|
## ⚙️ Requirements
|
|
8
7
|
|
|
9
8
|
All requirements are not strictly limited. However, some specific modules might need some special dependencies. For example, `YOLO_Classic` (With `.weights` model) relies on [OpenCV DNN](https://docs.opencv.org/4.x/d2/d58/tutorial_table_of_content_dnn.html) in order to make use of GPU power. In this case, you might need to build OpenCV from source by yourself or use our [`pyppbox-opencv`](https://github.com/rathaumons/opencv-for-pyppbox) instead of the official `opencv-contrib-python` which does not include GPU support.
|
|
10
9
|
|
|
11
10
|
* Prerequisite:
|
|
12
|
-
- (Optional) For NVIDIA GPU: [CUDA Toolkit 11.x/12.x](https://developer.nvidia.com/cuda-downloads) with default installation path
|
|
13
|
-
- (Optional) For NVIDIA GPU: [cuDNN 8.x.x](https://developer.nvidia.com/rdp/cudnn-download) with default installation path
|
|
14
11
|
- Python [[3.9-3.12]](https://www.python.org/downloads/)
|
|
15
12
|
- Local pyppbox repo: `git clone https://github.com/rathaumons/pyppbox.git`
|
|
16
13
|
|
|
17
14
|
* Before you install dependencies/requirements:
|
|
18
15
|
- For Linux, recommend changing `python3` to `python`: `sudo apt install python-is-python3`
|
|
19
16
|
- If you prefer conda + Python [3.9-3.12]: `conda create --name pyppbox_env python=3.11`
|
|
20
|
-
-
|
|
21
|
-
|
|
17
|
+
- Upgrade `pip` and `setuptools`:
|
|
18
|
+
```
|
|
19
|
+
python -m pip install --upgrade pip
|
|
20
|
+
pip install "setuptools>=67.2.0"
|
|
21
|
+
```
|
|
22
|
+
- Recommend removing the official `ultralytics`:
|
|
23
|
+
```
|
|
24
|
+
pip uninstall -y ultralytics
|
|
25
|
+
```
|
|
22
26
|
|
|
23
27
|
* Install dependencies/requirments under `pyppbox/requirements/`:
|
|
24
28
|
- On Windows, recommend using the `cmd` installer:
|
|
@@ -27,17 +31,11 @@ All requirements are not strictly limited. However, some specific modules might
|
|
|
27
31
|
- On Linux:
|
|
28
32
|
- For GPU:
|
|
29
33
|
```
|
|
30
|
-
python -m pip install --upgrade pip
|
|
31
|
-
pip uninstall -y ultralytics # Remove the official ultralytics
|
|
32
|
-
pip install "setuptools>=67.2.0"
|
|
33
34
|
pip install torch torchvision torchaudio
|
|
34
35
|
pip install -r requirements.txt
|
|
35
36
|
```
|
|
36
37
|
- For CPU-only:
|
|
37
38
|
```
|
|
38
|
-
python -m pip install --upgrade pip
|
|
39
|
-
pip uninstall -y ultralytics # Remove the official ultralytics
|
|
40
|
-
pip install "setuptools>=67.2.0"
|
|
41
39
|
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
|
|
42
40
|
pip install -r requirements.txt
|
|
43
41
|
```
|
|
@@ -45,9 +43,6 @@ All requirements are not strictly limited. However, some specific modules might
|
|
|
45
43
|
- For GPU: Not available
|
|
46
44
|
- For CPU:
|
|
47
45
|
```
|
|
48
|
-
python -m pip install --upgrade pip
|
|
49
|
-
pip uninstall -y ultralytics # Remove the official ultralytics
|
|
50
|
-
pip install "setuptools>=67.2.0"
|
|
51
46
|
pip install torch torchvision torchaudio
|
|
52
47
|
pip install -r requirements.txt
|
|
53
48
|
```
|
|
@@ -59,9 +54,8 @@ All requirements are not strictly limited. However, some specific modules might
|
|
|
59
54
|
- If there is no error, then you are all good and ready to go.
|
|
60
55
|
- For OpenCV, the official `opencv-contrib-python` (No GPU support) is set in the `requirements.txt` file. If you need GPU support, check our [`pyppbox-opencv`](https://github.com/rathaumons/opencv-for-pyppbox) or build one from source by yourself.
|
|
61
56
|
|
|
62
|
-
*
|
|
63
|
-
-
|
|
64
|
-
- For GPU on Windows, [Tensorflow 2.11+ no long provides native GPU support](https://www.tensorflow.org/install/pip#windows-native).
|
|
57
|
+
* ***ATTENTION*** ⚠️⚠️⚠️
|
|
58
|
+
- If you use YOLO Ultralytics without GPU, you need to set `cpu` as string for the parameter `device` in its configuration.
|
|
65
59
|
|
|
66
60
|
|
|
67
61
|
## 💽 Setup
|
|
@@ -79,11 +73,8 @@ You need to install the main package which is `pyppbox` and the data for the mod
|
|
|
79
73
|
```
|
|
80
74
|
- Or build from source:
|
|
81
75
|
```
|
|
82
|
-
pip install "setuptools>=67.2.0"
|
|
83
76
|
pip install wheel build PyYAML
|
|
84
77
|
python -m build --wheel --skip-dependency-check --no-isolation
|
|
85
|
-
cd dist
|
|
86
|
-
pip install pyppbox-xxx.whl
|
|
87
78
|
```
|
|
88
79
|
|
|
89
80
|
* Install [`pyppbox-data-xxx`](https://github.com/rathaumons/pyppbox-data/)
|
|
@@ -104,15 +95,15 @@ You need to install the main package which is `pyppbox` and the data for the mod
|
|
|
104
95
|
pip install https://github.com/rathaumons/PoseTReID_DATASET/releases/download/v2.0/pyppbox_data_gta5-2.0-py3-none-any.whl
|
|
105
96
|
```
|
|
106
97
|
|
|
107
|
-
*
|
|
108
|
-
-
|
|
98
|
+
* Quick Test
|
|
99
|
+
- In your Python terminal:
|
|
109
100
|
```
|
|
110
|
-
python
|
|
111
101
|
import pyppbox
|
|
112
102
|
pyppbox.launchGUI()
|
|
113
103
|
```
|
|
114
|
-
|
|
115
|
-
<
|
|
104
|
+
Now you should see the GUI demo like this screenshot:
|
|
105
|
+
<img src="https://raw.githubusercontent.com/rathaROG/screenshot/master/pyppbox/pyppbox_gui.jpg">
|
|
106
|
+
- For related GUI functions and other configurations, check the [Configurations page](https://rathaumons.github.io/pyppbox/pyppbox/config.html).
|
|
116
107
|
- For ***Linux***, if the GUI does not work, you might need to install these:
|
|
117
108
|
```
|
|
118
109
|
sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyppbox
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.6b1
|
|
4
4
|
Summary: Toolbox for people detecting, tracking, and re-identifying.
|
|
5
5
|
Home-page: https://github.com/rathaumons/pyppbox
|
|
6
6
|
Author: Ratha SIV
|
|
@@ -55,8 +55,6 @@ Requires-Dist: torchvision
|
|
|
55
55
|
Requires-Dist: torchaudio
|
|
56
56
|
Requires-Dist: filterpy
|
|
57
57
|
Requires-Dist: lapx
|
|
58
|
-
Requires-Dist: pyunpack
|
|
59
|
-
Requires-Dist: patool
|
|
60
58
|
Requires-Dist: PyQt6
|
|
61
59
|
Requires-Dist: pyppbox-torchreid
|
|
62
60
|
Requires-Dist: pyppbox-ultralytics>=8.0.218
|
|
@@ -79,8 +77,8 @@ Requires-Dist: pyppbox-ultralytics>=8.0.218
|
|
|
79
77
|
|
|
80
78
|
* ` pyppbox = Python + People + Toolbox `
|
|
81
79
|
* Design for both short and long term people detecting, tracking, and re-identifying.
|
|
82
|
-
* Integrate GUI for easy
|
|
83
|
-
* Support dictionary and YAML/JSON
|
|
80
|
+
* Integrate GUI for easy configuration and demo.
|
|
81
|
+
* Support dictionary and YAML/JSON configuration.
|
|
84
82
|
* Support [[GTA_V_Dataset]](https://github.com/rathaumons/PoseTReID_DATASET) -> Real-time online and offline evaluation.
|
|
85
83
|
* Check our papers: 1 [[IEEE]](https://ieeexplore.ieee.org/document/9271712) | 2 [[IEEE]](https://ieeexplore.ieee.org/document/9946587) [[arxiv]](https://doi.org/10.48550/arxiv.2205.10086)
|
|
86
84
|
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
* ` pyppbox = Python + People + Toolbox `
|
|
18
18
|
* Design for both short and long term people detecting, tracking, and re-identifying.
|
|
19
|
-
* Integrate GUI for easy
|
|
20
|
-
* Support dictionary and YAML/JSON
|
|
19
|
+
* Integrate GUI for easy configuration and demo.
|
|
20
|
+
* Support dictionary and YAML/JSON configuration.
|
|
21
21
|
* Support [[GTA_V_Dataset]](https://github.com/rathaumons/PoseTReID_DATASET) -> Real-time online and offline evaluation.
|
|
22
22
|
* Check our papers: 1 [[IEEE]](https://ieeexplore.ieee.org/document/9271712) | 2 [[IEEE]](https://ieeexplore.ieee.org/document/9946587) [[arxiv]](https://doi.org/10.48550/arxiv.2205.10086)
|
|
23
23
|
|
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## **pyppbox V3 - Make Simpler and Faster**
|
|
4
4
|
|
|
5
|
+
* `pyppbox` [v3.6b1](https://github.com/rathaumons/pyppbox/tree/v3.5b2)
|
|
6
|
+
|
|
7
|
+
- Replace `pyunpack` & `patool` with `shutil`
|
|
8
|
+
- Improve Example 9 - example_09_eva_offline.py
|
|
9
|
+
- Add `pyppbox.gui.guitools` to the documentations
|
|
10
|
+
- Fix `useInternalConfigDir()` in `pyppbox.gui.guitools`
|
|
11
|
+
- Fix sphinx-build warning for utils.rst
|
|
12
|
+
- Fix and improve documentations
|
|
13
|
+
- **Known issue/limitation**:
|
|
14
|
+
- You tell me :)
|
|
15
|
+
|
|
5
16
|
* `pyppbox` [v3.5b2](https://github.com/rathaumons/pyppbox/tree/v3.5b2)
|
|
6
17
|
|
|
7
18
|
- Increase default random ID range in evatools
|
|
@@ -47,7 +47,7 @@ from pyppbox.gui.guitools import (
|
|
|
47
47
|
)
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
__version__ = '3.
|
|
50
|
+
__version__ = '3.6b1'
|
|
51
51
|
__author__ = 'Ratha SIV'
|
|
52
52
|
__description__ = 'Toolbox for people detecting, tracking, and re-identifying.'
|
|
53
53
|
__homepage__ = 'https://rathaumons.github.io/pyppbox'
|
|
Binary file
|
|
Binary file
|
|
@@ -23,7 +23,7 @@ import os
|
|
|
23
23
|
import sys
|
|
24
24
|
import subprocess as sp
|
|
25
25
|
|
|
26
|
-
from pyppbox.utils.logtools import add_warning_log, add_error_log
|
|
26
|
+
from pyppbox.utils.logtools import add_info_log, add_warning_log, add_error_log
|
|
27
27
|
from pyppbox.config.configtools import PYPPBOXStructure, loadDocument, loadListDocument
|
|
28
28
|
from pyppbox.utils.commontools import getAbsPathFDS, joinFPathFull, isExist
|
|
29
29
|
from pyppbox.gui.guihub import writeUITMP
|
|
@@ -52,8 +52,9 @@ def useThisConfigDir(cfg_dir):
|
|
|
52
52
|
def useInternalConfigDir():
|
|
53
53
|
"""Use the internal config directory, :code:`{pyppbox root}/confog/cfg` inside pyppbox package.
|
|
54
54
|
"""
|
|
55
|
-
global pyppbox_struct
|
|
55
|
+
global pyppbox_struct, __cfgdir__
|
|
56
56
|
pyppbox_struct = PYPPBOXStructure()
|
|
57
|
+
__cfgdir__ = pyppbox_struct.cfg_dir
|
|
57
58
|
add_warning_log("FYI: This basic method only serves GUI submodule `pyppbox.gui`.")
|
|
58
59
|
|
|
59
60
|
def showMainConfig():
|
|
@@ -85,9 +86,10 @@ def resetInternalConfig():
|
|
|
85
86
|
"""
|
|
86
87
|
global pyppbox_struct
|
|
87
88
|
pyppbox_struct = PYPPBOXStructure()
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
cfg_zip = os.path.join(pyppbox_struct.cfg_dir, 'cfg.zip')
|
|
90
|
+
import shutil
|
|
91
|
+
shutil.unpack_archive(cfg_zip, pyppbox_struct.cfg_dir)
|
|
92
|
+
add_info_log("Reset successfully!")
|
|
91
93
|
add_warning_log("FYI: This basic method only serves GUI submodule `pyppbox.gui`.")
|
|
92
94
|
|
|
93
95
|
def launchGUI():
|
|
@@ -112,15 +114,12 @@ def generateConfig(cfg_dir, auto_launch_gui=True):
|
|
|
112
114
|
An indication of whether to load and launch GUI from the :obj:`config_dir`.
|
|
113
115
|
"""
|
|
114
116
|
if isExist(cfg_dir):
|
|
115
|
-
abspath = getAbsPathFDS(cfg_dir)
|
|
116
117
|
global pyppbox_struct
|
|
118
|
+
abspath = getAbsPathFDS(cfg_dir)
|
|
119
|
+
cfg_zip = os.path.join(pyppbox_struct.cfg_dir, 'cfg.zip')
|
|
117
120
|
try:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
try:
|
|
121
|
-
os.remove(joinFPathFull(abspath, 'strings.yaml'))
|
|
122
|
-
except Exception:
|
|
123
|
-
pass
|
|
121
|
+
import shutil
|
|
122
|
+
shutil.unpack_archive(cfg_zip, abspath)
|
|
124
123
|
if auto_launch_gui:
|
|
125
124
|
useThisConfigDir(abspath)
|
|
126
125
|
launchGUI()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyppbox
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.6b1
|
|
4
4
|
Summary: Toolbox for people detecting, tracking, and re-identifying.
|
|
5
5
|
Home-page: https://github.com/rathaumons/pyppbox
|
|
6
6
|
Author: Ratha SIV
|
|
@@ -55,8 +55,6 @@ Requires-Dist: torchvision
|
|
|
55
55
|
Requires-Dist: torchaudio
|
|
56
56
|
Requires-Dist: filterpy
|
|
57
57
|
Requires-Dist: lapx
|
|
58
|
-
Requires-Dist: pyunpack
|
|
59
|
-
Requires-Dist: patool
|
|
60
58
|
Requires-Dist: PyQt6
|
|
61
59
|
Requires-Dist: pyppbox-torchreid
|
|
62
60
|
Requires-Dist: pyppbox-ultralytics>=8.0.218
|
|
@@ -79,8 +77,8 @@ Requires-Dist: pyppbox-ultralytics>=8.0.218
|
|
|
79
77
|
|
|
80
78
|
* ` pyppbox = Python + People + Toolbox `
|
|
81
79
|
* Design for both short and long term people detecting, tracking, and re-identifying.
|
|
82
|
-
* Integrate GUI for easy
|
|
83
|
-
* Support dictionary and YAML/JSON
|
|
80
|
+
* Integrate GUI for easy configuration and demo.
|
|
81
|
+
* Support dictionary and YAML/JSON configuration.
|
|
84
82
|
* Support [[GTA_V_Dataset]](https://github.com/rathaumons/PoseTReID_DATASET) -> Real-time online and offline evaluation.
|
|
85
83
|
* Check our papers: 1 [[IEEE]](https://ieeexplore.ieee.org/document/9271712) | 2 [[IEEE]](https://ieeexplore.ieee.org/document/9946587) [[arxiv]](https://doi.org/10.48550/arxiv.2205.10086)
|
|
86
84
|
|
|
@@ -16,12 +16,13 @@ pyppbox/config/__init__.py
|
|
|
16
16
|
pyppbox/config/configtools.py
|
|
17
17
|
pyppbox/config/myconfig.py
|
|
18
18
|
pyppbox/config/unifiedstrings.py
|
|
19
|
-
pyppbox/config/cfg/cfg.
|
|
19
|
+
pyppbox/config/cfg/cfg.zip
|
|
20
20
|
pyppbox/config/cfg/detectors.yaml
|
|
21
21
|
pyppbox/config/cfg/main.yaml
|
|
22
22
|
pyppbox/config/cfg/reiders.yaml
|
|
23
23
|
pyppbox/config/cfg/trackers.yaml
|
|
24
24
|
pyppbox/config/strings/strings.yaml
|
|
25
|
+
pyppbox/config/strings/strings.zip
|
|
25
26
|
pyppbox/data/datasets/.gitignore
|
|
26
27
|
pyppbox/data/logs/.gitignore
|
|
27
28
|
pyppbox/data/modules/.gitignore
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/reiders/facenet/origin/align_dataset_mtcnn.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/generate_detections.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyppbox-3.5b2 → pyppbox-3.6b1}/pyppbox/modules/trackers/deepsort/origin/linear_assignment.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|