pyppbox 3.6b3__tar.gz → 3.6b4__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.6b4}/GETSTARTED.md +1 -1
  2. {pyppbox-3.6b3/pyppbox.egg-info → pyppbox-3.6b4}/PKG-INFO +2 -2
  3. {pyppbox-3.6b3 → pyppbox-3.6b4}/RELEASENOTES.md +8 -1
  4. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/__init__.py +1 -1
  5. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/guidemo.py +4 -8
  6. {pyppbox-3.6b3 → pyppbox-3.6b4/pyppbox.egg-info}/PKG-INFO +2 -2
  7. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox.egg-info/requires.txt +1 -1
  8. {pyppbox-3.6b3 → pyppbox-3.6b4}/requirements/requirements.txt +1 -1
  9. {pyppbox-3.6b3 → pyppbox-3.6b4}/LICENSE +0 -0
  10. {pyppbox-3.6b3 → pyppbox-3.6b4}/MANIFEST.in +0 -0
  11. {pyppbox-3.6b3 → pyppbox-3.6b4}/README.md +0 -0
  12. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/config/__init__.py +0 -0
  13. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/config/cfg/cfg.zip +0 -0
  14. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/config/cfg/detectors.yaml +0 -0
  15. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/config/cfg/main.yaml +0 -0
  16. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/config/cfg/reiders.yaml +0 -0
  17. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/config/cfg/trackers.yaml +0 -0
  18. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/config/configtools.py +0 -0
  19. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/config/myconfig.py +0 -0
  20. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/config/strings/strings.yaml +0 -0
  21. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/config/strings/strings.zip +0 -0
  22. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/config/unifiedstrings.py +0 -0
  23. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/data/datasets/.gitignore +0 -0
  24. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/data/logs/.gitignore +0 -0
  25. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/data/modules/.gitignore +0 -0
  26. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/data/res/.gitignore +0 -0
  27. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/data/res/idmap.txt +0 -0
  28. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/__init__.py +0 -0
  29. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/assets/TReID.png +0 -0
  30. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/assets/icon.ico +0 -0
  31. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/assets/settings.ico +0 -0
  32. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/guihub.py +0 -0
  33. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/guitools.py +0 -0
  34. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/tmp/input.tmp +0 -0
  35. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/tmp/ui.tmp +0 -0
  36. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/ui_centroid.py +0 -0
  37. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/ui_deepsort.py +0 -0
  38. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/ui_facenet.py +0 -0
  39. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/ui_gt.py +0 -0
  40. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/ui_launcher.py +0 -0
  41. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/ui_sort.py +0 -0
  42. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/ui_torchreid.py +0 -0
  43. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/ui_yolocls.py +0 -0
  44. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/gui/ui_yoloult.py +0 -0
  45. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/__init__.py +0 -0
  46. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/detectors/__init__.py +0 -0
  47. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/detectors/yolocls/__init__.py +0 -0
  48. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/detectors/yoloult/__init__.py +0 -0
  49. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/reiders/__init__.py +0 -0
  50. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/reiders/facenet/__init__.py +0 -0
  51. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/reiders/facenet/origin/align_dataset_mtcnn.py +0 -0
  52. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/reiders/facenet/origin/detect_face.py +0 -0
  53. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/reiders/facenet/origin/facenet.py +0 -0
  54. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/reiders/torchreid/__init__.py +0 -0
  55. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/reiders/torchreid/model_dict.py +0 -0
  56. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/reiders/torchreid/model_dict.yaml +0 -0
  57. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/reiders/torchreid/utils.py +0 -0
  58. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/__init__.py +0 -0
  59. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/centroid/__init__.py +0 -0
  60. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/deepsort/__init__.py +0 -0
  61. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/deepsort/origin/detection.py +0 -0
  62. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/deepsort/origin/detection_yolo.py +0 -0
  63. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/deepsort/origin/generate_detections.py +0 -0
  64. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/deepsort/origin/iou_matching.py +0 -0
  65. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/deepsort/origin/kalman_filter.py +0 -0
  66. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/deepsort/origin/linear_assignment.py +0 -0
  67. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/deepsort/origin/nn_matching.py +0 -0
  68. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/deepsort/origin/preprocessing.py +0 -0
  69. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/deepsort/origin/track.py +0 -0
  70. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/deepsort/origin/tracker.py +0 -0
  71. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/deepsort/origin/voc_classes.txt +0 -0
  72. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/sort/__init__.py +0 -0
  73. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/modules/trackers/sort/origin/sort.py +0 -0
  74. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/ppb/__init__.py +0 -0
  75. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/ppb/mt.py +0 -0
  76. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/standalone/__init__.py +0 -0
  77. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/utils/__init__.py +0 -0
  78. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/utils/commontools.py +0 -0
  79. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/utils/evatools.py +0 -0
  80. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/utils/gttools.py +0 -0
  81. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/utils/logtools.py +0 -0
  82. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/utils/mot2pyppbox.py +0 -0
  83. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/utils/persontools.py +0 -0
  84. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/utils/restools.py +0 -0
  85. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox/utils/visualizetools.py +0 -0
  86. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox.egg-info/SOURCES.txt +0 -0
  87. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox.egg-info/dependency_links.txt +0 -0
  88. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyppbox.egg-info/top_level.txt +0 -0
  89. {pyppbox-3.6b3 → pyppbox-3.6b4}/pyproject.toml +0 -0
  90. {pyppbox-3.6b3 → pyppbox-3.6b4}/requirements/README.md +0 -0
  91. {pyppbox-3.6b3 → pyppbox-3.6b4}/requirements/test_gpu.py +0 -0
  92. {pyppbox-3.6b3 → pyppbox-3.6b4}/setup.cfg +0 -0
  93. {pyppbox-3.6b3 → pyppbox-3.6b4}/setup.py +0 -0
  94. {pyppbox-3.6b3 → pyppbox-3.6b4}/setup_extra.yaml +0 -0
@@ -92,7 +92,7 @@ You need to install the main package which is `pyppbox` and the data for the mod
92
92
  - Download the latest from [releases](https://github.com/rathaumons/PoseTReID_DATASET/releases)
93
93
  - Or install directly:
94
94
  ```
95
- pip install https://github.com/rathaumons/PoseTReID_DATASET/releases/download/v2.0/pyppbox_data_gta5-2.0-py3-none-any.whl
95
+ pip install https://github.com/numediart/PoseTReID_DATASET/releases/download/v2.0/pyppbox_data_gta5-2.0-py3-none-any.whl
96
96
  ```
97
97
 
98
98
  * Quick Test
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyppbox
3
- Version: 3.6b3
3
+ Version: 3.6b4
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
@@ -38,7 +38,6 @@ 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,6 +55,7 @@ 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
60
  Requires-Dist: pyppbox-ultralytics>=8.0.218
61
61
 
@@ -12,7 +12,14 @@
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.6b4](https://github.com/rathaumons/pyppbox/tree/v3.6b4) - The Last V3
16
+
17
+ - Integrate [SFPS](https://github.com/rathaROG/smooth-fps) for better FPS calculation
18
+ - Update workflow
19
+ - **Known issue/limitation**:
20
+ - You tell me :)
21
+
22
+ * `pyppbox` [v3.6b3](https://github.com/rathaumons/pyppbox/tree/v3.6b3) - ~~The Last V3~~
16
23
 
17
24
  - Fix typo and update workflow
18
25
  - **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.6b4'
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyppbox
3
- Version: 3.6b3
3
+ Version: 3.6b4
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
@@ -38,7 +38,6 @@ 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,6 +55,7 @@ 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
60
  Requires-Dist: pyppbox-ultralytics>=8.0.218
61
61
 
@@ -5,7 +5,6 @@ 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
27
  pyppbox-ultralytics>=8.0.218
@@ -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,6 +35,7 @@ filterpy
36
35
  lapx
37
36
  ### GUI
38
37
  PyQt6
38
+ sfps
39
39
  ### Customized pyppbox-torchreid
40
40
  pyppbox-torchreid
41
41
  ### Customized pyppbox-ultralytics
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