pyppbox 3.6b3__tar.gz → 3.6b5__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.
Files changed (94) hide show
  1. {pyppbox-3.6b3 → pyppbox-3.6b5}/GETSTARTED.md +5 -5
  2. {pyppbox-3.6b3/pyppbox.egg-info → pyppbox-3.6b5}/PKG-INFO +4 -4
  3. {pyppbox-3.6b3 → pyppbox-3.6b5}/RELEASENOTES.md +15 -1
  4. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/__init__.py +1 -1
  5. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/guidemo.py +4 -8
  6. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/ui_torchreid.py +1 -1
  7. {pyppbox-3.6b3 → pyppbox-3.6b5/pyppbox.egg-info}/PKG-INFO +4 -4
  8. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox.egg-info/requires.txt +3 -3
  9. {pyppbox-3.6b3 → pyppbox-3.6b5}/requirements/requirements.txt +5 -5
  10. {pyppbox-3.6b3 → pyppbox-3.6b5}/LICENSE +0 -0
  11. {pyppbox-3.6b3 → pyppbox-3.6b5}/MANIFEST.in +0 -0
  12. {pyppbox-3.6b3 → pyppbox-3.6b5}/README.md +0 -0
  13. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/config/__init__.py +0 -0
  14. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/config/cfg/cfg.zip +0 -0
  15. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/config/cfg/detectors.yaml +0 -0
  16. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/config/cfg/main.yaml +0 -0
  17. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/config/cfg/reiders.yaml +0 -0
  18. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/config/cfg/trackers.yaml +0 -0
  19. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/config/configtools.py +0 -0
  20. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/config/myconfig.py +0 -0
  21. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/config/strings/strings.yaml +0 -0
  22. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/config/strings/strings.zip +0 -0
  23. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/config/unifiedstrings.py +0 -0
  24. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/data/datasets/.gitignore +0 -0
  25. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/data/logs/.gitignore +0 -0
  26. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/data/modules/.gitignore +0 -0
  27. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/data/res/.gitignore +0 -0
  28. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/data/res/idmap.txt +0 -0
  29. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/__init__.py +0 -0
  30. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/assets/TReID.png +0 -0
  31. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/assets/icon.ico +0 -0
  32. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/assets/settings.ico +0 -0
  33. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/guihub.py +0 -0
  34. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/guitools.py +0 -0
  35. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/tmp/input.tmp +0 -0
  36. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/tmp/ui.tmp +0 -0
  37. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/ui_centroid.py +0 -0
  38. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/ui_deepsort.py +0 -0
  39. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/ui_facenet.py +0 -0
  40. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/ui_gt.py +0 -0
  41. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/ui_launcher.py +0 -0
  42. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/ui_sort.py +0 -0
  43. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/ui_yolocls.py +0 -0
  44. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/gui/ui_yoloult.py +0 -0
  45. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/__init__.py +0 -0
  46. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/detectors/__init__.py +0 -0
  47. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/detectors/yolocls/__init__.py +0 -0
  48. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/detectors/yoloult/__init__.py +0 -0
  49. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/reiders/__init__.py +0 -0
  50. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/reiders/facenet/__init__.py +0 -0
  51. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/reiders/facenet/origin/align_dataset_mtcnn.py +0 -0
  52. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/reiders/facenet/origin/detect_face.py +0 -0
  53. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/reiders/facenet/origin/facenet.py +0 -0
  54. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/reiders/torchreid/__init__.py +0 -0
  55. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/reiders/torchreid/model_dict.py +0 -0
  56. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/reiders/torchreid/model_dict.yaml +0 -0
  57. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/reiders/torchreid/utils.py +0 -0
  58. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/__init__.py +0 -0
  59. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/centroid/__init__.py +0 -0
  60. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/deepsort/__init__.py +0 -0
  61. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/deepsort/origin/detection.py +0 -0
  62. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/deepsort/origin/detection_yolo.py +0 -0
  63. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/deepsort/origin/generate_detections.py +0 -0
  64. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/deepsort/origin/iou_matching.py +0 -0
  65. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/deepsort/origin/kalman_filter.py +0 -0
  66. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/deepsort/origin/linear_assignment.py +0 -0
  67. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/deepsort/origin/nn_matching.py +0 -0
  68. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/deepsort/origin/preprocessing.py +0 -0
  69. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/deepsort/origin/track.py +0 -0
  70. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/deepsort/origin/tracker.py +0 -0
  71. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/deepsort/origin/voc_classes.txt +0 -0
  72. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/sort/__init__.py +0 -0
  73. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/modules/trackers/sort/origin/sort.py +0 -0
  74. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/ppb/__init__.py +0 -0
  75. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/ppb/mt.py +0 -0
  76. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/standalone/__init__.py +0 -0
  77. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/utils/__init__.py +0 -0
  78. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/utils/commontools.py +0 -0
  79. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/utils/evatools.py +0 -0
  80. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/utils/gttools.py +0 -0
  81. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/utils/logtools.py +0 -0
  82. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/utils/mot2pyppbox.py +0 -0
  83. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/utils/persontools.py +0 -0
  84. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/utils/restools.py +0 -0
  85. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox/utils/visualizetools.py +0 -0
  86. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox.egg-info/SOURCES.txt +0 -0
  87. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox.egg-info/dependency_links.txt +0 -0
  88. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyppbox.egg-info/top_level.txt +0 -0
  89. {pyppbox-3.6b3 → pyppbox-3.6b5}/pyproject.toml +0 -0
  90. {pyppbox-3.6b3 → pyppbox-3.6b5}/requirements/README.md +0 -0
  91. {pyppbox-3.6b3 → pyppbox-3.6b5}/requirements/test_gpu.py +0 -0
  92. {pyppbox-3.6b3 → pyppbox-3.6b5}/setup.cfg +0 -0
  93. {pyppbox-3.6b3 → pyppbox-3.6b5}/setup.py +0 -0
  94. {pyppbox-3.6b3 → pyppbox-3.6b5}/setup_extra.yaml +0 -0
@@ -31,11 +31,13 @@ All requirements are not strictly limited. However, some specific modules might
31
31
  - On Linux:
32
32
  - For GPU:
33
33
  ```
34
+ python -m pip install tensorflow[and-cuda] # TensorFlow GPU
34
35
  pip install torch torchvision torchaudio
35
36
  pip install -r requirements.txt
36
37
  ```
37
38
  - For CPU-only:
38
39
  ```
40
+ python -m pip install tensorflow # TensorFlow CPU
39
41
  pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
40
42
  pip install -r requirements.txt
41
43
  ```
@@ -73,7 +75,7 @@ You need to install the main package which is `pyppbox` and the data for the mod
73
75
  ```
74
76
  - Or build from source:
75
77
  ```
76
- pip install wheel build PyYAML
78
+ pip install setuptools wheel build PyYAML
77
79
  python -m build --wheel --skip-dependency-check --no-isolation
78
80
  ```
79
81
 
@@ -92,7 +94,7 @@ You need to install the main package which is `pyppbox` and the data for the mod
92
94
  - Download the latest from [releases](https://github.com/rathaumons/PoseTReID_DATASET/releases)
93
95
  - Or install directly:
94
96
  ```
95
- pip install https://github.com/rathaumons/PoseTReID_DATASET/releases/download/v2.0/pyppbox_data_gta5-2.0-py3-none-any.whl
97
+ pip install https://github.com/numediart/PoseTReID_DATASET/releases/download/v2.0/pyppbox_data_gta5-2.0-py3-none-any.whl
96
98
  ```
97
99
 
98
100
  * Quick Test
@@ -110,9 +112,7 @@ You need to install the main package which is `pyppbox` and the data for the mod
110
112
  ```
111
113
  - For ***Ubuntu on WSL 2***, you need to install these:
112
114
  ```
113
- sudo apt-get install libgl1-mesa-glx
114
- sudo apt-get install xdg-utils
115
- sudo apt-get install libegl1
115
+ sudo apt-get install libgl1-mesa-glx xdg-utils libegl1
116
116
  ```
117
117
 
118
118
  ## 📢 FYI
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyppbox
3
- Version: 3.6b3
3
+ Version: 3.6b5
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
@@ -31,14 +31,13 @@ Classifier: Operating System :: MacOS
31
31
  Requires-Python: >=3.9
32
32
  Description-Content-Type: text/markdown
33
33
  License-File: LICENSE
34
- Requires-Dist: Cython>=0.29.33
34
+ Requires-Dist: Cython>=0.29.37
35
35
  Requires-Dist: numpy
36
36
  Requires-Dist: opencv-contrib-python
37
37
  Requires-Dist: scikit-image>=0.20.0
38
38
  Requires-Dist: scikit-learn>=1.2.2
39
39
  Requires-Dist: scipy>=1.10.0
40
40
  Requires-Dist: imageio
41
- Requires-Dist: imutils
42
41
  Requires-Dist: pandas
43
42
  Requires-Dist: Pillow
44
43
  Requires-Dist: psutil
@@ -56,8 +55,9 @@ Requires-Dist: torchaudio
56
55
  Requires-Dist: filterpy
57
56
  Requires-Dist: lapx
58
57
  Requires-Dist: PyQt6
58
+ Requires-Dist: sfps
59
59
  Requires-Dist: pyppbox-torchreid
60
- Requires-Dist: pyppbox-ultralytics>=8.0.218
60
+ Requires-Dist: vsensebox-ultralytics>=8.1.48
61
61
 
62
62
  # 🐍📦 [**pyppbox**](https://github.com/rathaumons/pyppbox)
63
63
 
@@ -12,7 +12,21 @@
12
12
 
13
13
  ## **pyppbox V3 - Make Simpler and Faster**
14
14
 
15
- * `pyppbox` [v3.6b3](https://github.com/rathaumons/pyppbox/tree/v3.6b3) - The Last V3
15
+ * `pyppbox` [v3.6b5](https://github.com/rathaumons/pyppbox/tree/v3.6b5) - The Last V3
16
+
17
+ - Fix file filter in Torchreid GUI
18
+ - Switch from [`pyppbox-ultralytics`](https://github.com/rathaumons/ultralytics-for-pyppbox) to [`vsensebox-ultralytics`](https://github.com/numediart/ultralytics-for-vsensebox)
19
+ - **Known issue/limitation**:
20
+ - You tell me :)
21
+
22
+ * `pyppbox` [v3.6b4](https://github.com/rathaumons/pyppbox/tree/v3.6b4) - ~~The Last V3~~
23
+
24
+ - Integrate [SFPS](https://github.com/rathaROG/smooth-fps) for better FPS calculation
25
+ - Update workflow
26
+ - **Known issue/limitation**:
27
+ - You tell me :)
28
+
29
+ * `pyppbox` [v3.6b3](https://github.com/rathaumons/pyppbox/tree/v3.6b3) - ~~The Last V3~~
16
30
 
17
31
  - Fix typo and update workflow
18
32
  - **Known issue/limitation**:
@@ -47,7 +47,7 @@ from pyppbox.gui.guitools import (
47
47
  )
48
48
 
49
49
 
50
- __version__ = '3.6b3'
50
+ __version__ = '3.6b5'
51
51
  __author__ = 'Ratha SIV'
52
52
  __description__ = 'Toolbox for people detecting, tracking, and re-identifying.'
53
53
  __homepage__ = 'https://rathaumons.github.io/pyppbox'
@@ -20,9 +20,8 @@
20
20
 
21
21
 
22
22
  import cv2
23
- import imutils.video
24
23
 
25
- from timeit import time
24
+ from sfps import SFPS
26
25
  from pyppbox.gui.guihub import loadUITMP, loadInputTMP
27
26
  from pyppbox.utils.evatools import MyEVA
28
27
  from pyppbox.utils.restools import ResIO
@@ -74,14 +73,13 @@ cap = cv2.VideoCapture(joinFPathFull(getGlobalRootDir(), input_source))
74
73
  cap_width = cap.get(cv2.CAP_PROP_FRAME_WIDTH)
75
74
  cap_height = cap.get(cv2.CAP_PROP_FRAME_HEIGHT)
76
75
 
77
- fps = 0.0
78
- fps_imutils = imutils.video.FPS().start()
76
+ # Frame rate
77
+ sfps = SFPS(nframes=7, interval=1)
79
78
 
80
79
  # Need frame_index for display
81
80
  frame_index = 0
82
81
 
83
82
  while cap.isOpened():
84
- t1 = time.time()
85
83
  hasFrame, frame = cap.read()
86
84
  if hasFrame:
87
85
  # Resize frame if force HD
@@ -111,9 +109,7 @@ while cap.isOpened():
111
109
  img_is_mat=True
112
110
  )
113
111
  # Add framerate & info
114
- fps_imutils.update()
115
- fps = (fps + (1./((1.000000000001*time.time())-t1))) / 2
116
- cv2.putText(visual_frame, str(int(fps)) + " | " + str(frame_index), (15, 30),
112
+ cv2.putText(visual_frame, sfps.fps(format_spec='.0f') + " | " + str(frame_index), (15, 30),
117
113
  cv2.FONT_HERSHEY_COMPLEX_SMALL, 1, (255, 255, 255), 1, cv2.LINE_AA)
118
114
 
119
115
  # Show
@@ -190,7 +190,7 @@ class Ui_Torchreid(object):
190
190
 
191
191
  def browseModelPath(self):
192
192
  default_path = getAncestorDir(self.mycfg.rcfg_torchreid.model_path)
193
- model_filter = "PyTorch model (*.pth;*.pyth;*.tar)"
193
+ model_filter = "PyTorch model (*.pth *.pyth *.tar *.*)"
194
194
  source_file, _ = QtWidgets.QFileDialog.getOpenFileName(None, "Model file",
195
195
  default_path, model_filter)
196
196
  if source_file:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyppbox
3
- Version: 3.6b3
3
+ Version: 3.6b5
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
@@ -31,14 +31,13 @@ Classifier: Operating System :: MacOS
31
31
  Requires-Python: >=3.9
32
32
  Description-Content-Type: text/markdown
33
33
  License-File: LICENSE
34
- Requires-Dist: Cython>=0.29.33
34
+ Requires-Dist: Cython>=0.29.37
35
35
  Requires-Dist: numpy
36
36
  Requires-Dist: opencv-contrib-python
37
37
  Requires-Dist: scikit-image>=0.20.0
38
38
  Requires-Dist: scikit-learn>=1.2.2
39
39
  Requires-Dist: scipy>=1.10.0
40
40
  Requires-Dist: imageio
41
- Requires-Dist: imutils
42
41
  Requires-Dist: pandas
43
42
  Requires-Dist: Pillow
44
43
  Requires-Dist: psutil
@@ -56,8 +55,9 @@ Requires-Dist: torchaudio
56
55
  Requires-Dist: filterpy
57
56
  Requires-Dist: lapx
58
57
  Requires-Dist: PyQt6
58
+ Requires-Dist: sfps
59
59
  Requires-Dist: pyppbox-torchreid
60
- Requires-Dist: pyppbox-ultralytics>=8.0.218
60
+ Requires-Dist: vsensebox-ultralytics>=8.1.48
61
61
 
62
62
  # 🐍📦 [**pyppbox**](https://github.com/rathaumons/pyppbox)
63
63
 
@@ -1,11 +1,10 @@
1
- Cython>=0.29.33
1
+ Cython>=0.29.37
2
2
  numpy
3
3
  opencv-contrib-python
4
4
  scikit-image>=0.20.0
5
5
  scikit-learn>=1.2.2
6
6
  scipy>=1.10.0
7
7
  imageio
8
- imutils
9
8
  pandas
10
9
  Pillow
11
10
  psutil
@@ -23,5 +22,6 @@ torchaudio
23
22
  filterpy
24
23
  lapx
25
24
  PyQt6
25
+ sfps
26
26
  pyppbox-torchreid
27
- pyppbox-ultralytics>=8.0.218
27
+ vsensebox-ultralytics>=8.1.48
@@ -1,8 +1,8 @@
1
1
  ### Base
2
- Cython>=0.29.33
2
+ Cython>=0.29.37
3
3
  numpy
4
4
  ### OpenCV
5
- # For GUI support, check:
5
+ # For GPU support, check:
6
6
  # https://github.com/rathaumons/opencv-for-pyppbox
7
7
  opencv-contrib-python
8
8
  ### Common
@@ -10,7 +10,6 @@ scikit-image>=0.20.0
10
10
  scikit-learn>=1.2.2
11
11
  scipy>=1.10.0
12
12
  imageio
13
- imutils
14
13
  pandas
15
14
  Pillow
16
15
  psutil
@@ -36,9 +35,10 @@ filterpy
36
35
  lapx
37
36
  ### GUI
38
37
  PyQt6
38
+ sfps
39
39
  ### Customized pyppbox-torchreid
40
40
  pyppbox-torchreid
41
- ### Customized pyppbox-ultralytics
42
- pyppbox-ultralytics>=8.0.218
41
+ ### Customized vsensebox-ultralytics (pyppbox-ultralytics is discontinued)
42
+ vsensebox-ultralytics>=8.1.48
43
43
  ### Unused
44
44
  # shapely
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