pyppbox 3.6b7__tar.gz → 3.6b9__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.6b7 → pyppbox-3.6b9}/GETSTARTED.md +1 -1
  2. {pyppbox-3.6b7/pyppbox.egg-info → pyppbox-3.6b9}/PKG-INFO +1 -1
  3. {pyppbox-3.6b7 → pyppbox-3.6b9}/RELEASENOTES.md +34 -18
  4. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/__init__.py +1 -1
  5. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/reiders/facenet/origin/align_dataset_mtcnn.py +4 -3
  6. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/ppb/mt.py +7 -7
  7. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/utils/visualizetools.py +3 -3
  8. {pyppbox-3.6b7 → pyppbox-3.6b9/pyppbox.egg-info}/PKG-INFO +1 -1
  9. {pyppbox-3.6b7 → pyppbox-3.6b9}/LICENSE +0 -0
  10. {pyppbox-3.6b7 → pyppbox-3.6b9}/MANIFEST.in +0 -0
  11. {pyppbox-3.6b7 → pyppbox-3.6b9}/README.md +0 -0
  12. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/config/__init__.py +0 -0
  13. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/config/cfg/cfg.zip +0 -0
  14. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/config/cfg/detectors.yaml +0 -0
  15. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/config/cfg/main.yaml +0 -0
  16. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/config/cfg/reiders.yaml +0 -0
  17. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/config/cfg/trackers.yaml +0 -0
  18. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/config/configtools.py +0 -0
  19. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/config/myconfig.py +0 -0
  20. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/config/strings/strings.yaml +0 -0
  21. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/config/strings/strings.zip +0 -0
  22. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/config/unifiedstrings.py +0 -0
  23. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/data/datasets/.gitignore +0 -0
  24. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/data/logs/.gitignore +0 -0
  25. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/data/modules/.gitignore +0 -0
  26. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/data/res/.gitignore +0 -0
  27. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/data/res/idmap.txt +0 -0
  28. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/__init__.py +0 -0
  29. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/assets/TReID.png +0 -0
  30. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/assets/icon.ico +0 -0
  31. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/assets/settings.ico +0 -0
  32. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/guidemo.py +0 -0
  33. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/guihub.py +0 -0
  34. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/guitools.py +0 -0
  35. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/tmp/input.tmp +0 -0
  36. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/tmp/ui.tmp +0 -0
  37. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/ui_centroid.py +0 -0
  38. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/ui_deepsort.py +0 -0
  39. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/ui_facenet.py +0 -0
  40. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/ui_gt.py +0 -0
  41. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/ui_launcher.py +0 -0
  42. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/ui_sort.py +0 -0
  43. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/ui_torchreid.py +0 -0
  44. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/ui_yolocls.py +0 -0
  45. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/gui/ui_yoloult.py +0 -0
  46. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/__init__.py +0 -0
  47. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/detectors/__init__.py +0 -0
  48. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/detectors/yolocls/__init__.py +0 -0
  49. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/detectors/yoloult/__init__.py +0 -0
  50. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/reiders/__init__.py +0 -0
  51. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/reiders/facenet/__init__.py +0 -0
  52. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/reiders/facenet/origin/detect_face.py +0 -0
  53. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/reiders/facenet/origin/facenet.py +0 -0
  54. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/reiders/torchreid/__init__.py +0 -0
  55. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/reiders/torchreid/model_dict.py +0 -0
  56. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/reiders/torchreid/model_dict.yaml +0 -0
  57. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/reiders/torchreid/utils.py +0 -0
  58. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/__init__.py +0 -0
  59. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/centroid/__init__.py +0 -0
  60. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/deepsort/__init__.py +0 -0
  61. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/deepsort/origin/detection.py +0 -0
  62. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/deepsort/origin/detection_yolo.py +0 -0
  63. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/deepsort/origin/generate_detections.py +0 -0
  64. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/deepsort/origin/iou_matching.py +0 -0
  65. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/deepsort/origin/kalman_filter.py +0 -0
  66. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/deepsort/origin/linear_assignment.py +0 -0
  67. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/deepsort/origin/nn_matching.py +0 -0
  68. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/deepsort/origin/preprocessing.py +0 -0
  69. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/deepsort/origin/track.py +0 -0
  70. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/deepsort/origin/tracker.py +0 -0
  71. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/deepsort/origin/voc_classes.txt +0 -0
  72. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/sort/__init__.py +0 -0
  73. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/modules/trackers/sort/origin/sort.py +0 -0
  74. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/ppb/__init__.py +0 -0
  75. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/standalone/__init__.py +0 -0
  76. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/utils/__init__.py +0 -0
  77. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/utils/commontools.py +0 -0
  78. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/utils/evatools.py +0 -0
  79. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/utils/gttools.py +0 -0
  80. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/utils/logtools.py +0 -0
  81. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/utils/mot2pyppbox.py +0 -0
  82. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/utils/persontools.py +0 -0
  83. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox/utils/restools.py +0 -0
  84. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox.egg-info/SOURCES.txt +0 -0
  85. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox.egg-info/dependency_links.txt +0 -0
  86. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox.egg-info/requires.txt +0 -0
  87. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyppbox.egg-info/top_level.txt +0 -0
  88. {pyppbox-3.6b7 → pyppbox-3.6b9}/pyproject.toml +0 -0
  89. {pyppbox-3.6b7 → pyppbox-3.6b9}/requirements/README.md +0 -0
  90. {pyppbox-3.6b7 → pyppbox-3.6b9}/requirements/requirements.txt +0 -0
  91. {pyppbox-3.6b7 → pyppbox-3.6b9}/requirements/test_gpu.py +0 -0
  92. {pyppbox-3.6b7 → pyppbox-3.6b9}/setup.cfg +0 -0
  93. {pyppbox-3.6b7 → pyppbox-3.6b9}/setup.py +0 -0
  94. {pyppbox-3.6b7 → pyppbox-3.6b9}/setup_extra.yaml +0 -0
@@ -24,7 +24,7 @@ All requirements are not strictly limited. However, some specific modules might
24
24
  pip uninstall -y ultralytics
25
25
  ```
26
26
 
27
- * Install dependencies/requirments under `pyppbox/requirements/`:
27
+ * Install dependencies/requirements under `pyppbox/requirements/`:
28
28
  - On ***Windows***, recommend using the `cmd` installer:
29
29
  - For GPU (CUDA): `install_req_py3_cuda121.cmd` (Or `install_req_py3_cuda.cmd` for CUDA 11.8)
30
30
  - For CPU-only: `install_req_py3_cpu.cmd` (Or skip this and go straight to Setup section below)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyppbox
3
- Version: 3.6b7
3
+ Version: 3.6b9
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
@@ -12,19 +12,35 @@
12
12
 
13
13
  ## **pyppbox V3 - Make Simpler and Faster**
14
14
 
15
- * `pyppbox` [v3.6b7](https://github.com/rathaumons/pyppbox/tree/v3.6b7) - The Last V3
15
+ * `pyppbox` [v3.6b9](https://github.com/rathaumons/pyppbox/tree/v3.6b9) - The Last V3
16
+
17
+ - Fix `setMainTracker()` and `setMainReIDer()` for default input
18
+ - Correct `show_ids` documentation in `visualizePeople()`
19
+ - Correct an error message in `visualizePeople()`
20
+ - Update and improve documentation
21
+ - **Known issue/limitation**:
22
+ - You tell me :)
23
+
24
+ * `pyppbox` [v3.6b8](https://github.com/rathaumons/pyppbox/tree/v3.6b8) - ~~The Last V3~~
25
+
26
+ - Fix FaceNet alignment issue in data preparation for training
27
+ - Update and improve documentation
28
+ - **Known issue/limitation**:
29
+ - You tell me :)
30
+
31
+ * `pyppbox` [v3.6b7](https://github.com/rathaumons/pyppbox/tree/v3.6b7) - ~~The Last V3~~
16
32
 
17
33
  - Improve examples
18
34
  - Improve requirements
19
35
  - Update and improve `GETSTARTED.md`
20
- - Update and improve documentations
36
+ - Update and improve documentation
21
37
  - **Known issue/limitation**:
22
38
  - You tell me :)
23
39
 
24
40
  * `pyppbox` [v3.6b6](https://github.com/rathaumons/pyppbox/tree/v3.6b6) - ~~The Last V3~~
25
41
 
26
42
  - Add proper supports for YOLOv9, YOLOv10, and YOLOv11
27
- - Update requirements and documentations
43
+ - Update requirements and documentation
28
44
  - **Known issue/limitation**:
29
45
  - You tell me :)
30
46
 
@@ -51,7 +67,7 @@
51
67
  * `pyppbox` [v3.6b2](https://github.com/rathaumons/pyppbox/tree/v3.6b2)
52
68
 
53
69
  - Add a warning for the changes in the coming major version 4
54
- - Update documentations
70
+ - Update documentation
55
71
  - **Known issue/limitation**:
56
72
  - You tell me :)
57
73
 
@@ -59,10 +75,10 @@
59
75
 
60
76
  - Replace `pyunpack` & `patool` with `shutil`
61
77
  - Improve Example 9 - example_09_eva_offline.py
62
- - Add `pyppbox.gui.guitools` to the documentations
78
+ - Add `pyppbox.gui.guitools` to the documentation
63
79
  - Fix `useInternalConfigDir()` in `pyppbox.gui.guitools`
64
80
  - Fix sphinx-build warning for utils.rst
65
- - Fix and improve documentations
81
+ - Fix and improve documentation
66
82
  - **Known issue/limitation**:
67
83
  - You tell me :)
68
84
 
@@ -70,7 +86,7 @@
70
86
 
71
87
  - Increase default random ID range in evatools
72
88
  - Add exception to `generateStaticID()` in `pyppbox.utils.evatools.TKOReider`
73
- - Update documentations
89
+ - Update documentation
74
90
  - **Known issue/limitation**:
75
91
  - You tell me :)
76
92
 
@@ -78,7 +94,7 @@
78
94
 
79
95
  - Add Python 3.12 support
80
96
  - Change GUI Demo title
81
- - Update documentations
97
+ - Update documentation
82
98
  - Update and improve GitHub workflows
83
99
  - **Known issue/limitation**:
84
100
  - You tell me :)
@@ -87,7 +103,7 @@
87
103
 
88
104
  - Add freedom of input video without GT (Ground-truth) in GUI demo
89
105
  - Update GitHub workflows
90
- - Update and improve documentations
106
+ - Update and improve documentation
91
107
  - **Known issue/limitation**:
92
108
  - You tell me :)
93
109
 
@@ -99,7 +115,7 @@
99
115
  - Add `min_width_filter` support for `detectPeople()` of `ppbox.standalone`
100
116
  - Add alternative repspoint support for `detectPeople()` of `ppbox.standalone` and all detectors
101
117
  - Add [MOT Challenge ground-truth](https://motchallenge.net/instructions/) converter -> `pyppbox.utils.mot2pyppbox`
102
- - Improve documentations
118
+ - Improve documentation
103
119
  - **Known issue/limitation**:
104
120
  - You tell me :)
105
121
 
@@ -107,14 +123,14 @@
107
123
 
108
124
  - Remove `ontracked` and its related methods from `pyppbox.utils.persontools.Person`
109
125
  - Add `misc` to `pyppbox.utils.persontools.Person`
110
- - Improve documentations
126
+ - Improve documentation
111
127
  - **Known issue/limitation**:
112
128
  - You tell me :)
113
129
 
114
130
  * `pyppbox` [v3.2b2](https://github.com/rathaumons/pyppbox/tree/v3.2b2)
115
131
 
116
132
  - Add a hotfix for issue [#21](https://github.com/rathaumons/pyppbox/issues/21)
117
- - Improve documentations
133
+ - Improve documentation
118
134
  - **Known issue/limitation**:
119
135
  - You tell me :)
120
136
 
@@ -133,7 +149,7 @@
133
149
 
134
150
  - Fix minor visaul bug
135
151
  - Add `install_req_py3_cuda121.cmd` for CUDA 12.1
136
- - Improve documentations
152
+ - Improve documentation
137
153
  - Drop support for Python 3.8
138
154
  - **Known issue/limitation**:
139
155
  - [Issue] YOLO Ultralytics: May throw `CUDA error: an illegal memory access was encountered` in multithread application
@@ -141,7 +157,7 @@
141
157
  * `pyppbox` [v3.1b4](https://github.com/rathaumons/pyppbox/tree/v3.1b4)
142
158
 
143
159
  - Improve support for new `pyppbox-ultralytics`
144
- - Improve documentations
160
+ - Improve documentation
145
161
  - **Known issue/limitation**:
146
162
  - [Issue] YOLO Ultralytics: May throw `CUDA error: an illegal memory access was encountered` in multithread application
147
163
 
@@ -149,7 +165,7 @@
149
165
 
150
166
  - Update and improve visualizetools for new `pyppbox-ultralytics`
151
167
  - Update requirements
152
- - Improve documentations
168
+ - Improve documentation
153
169
  - **Known issue/limitation**:
154
170
  - [Issue] YOLO Ultralytics: May throw `CUDA error: an illegal memory access was encountered` in multithread application
155
171
 
@@ -159,7 +175,7 @@
159
175
  - Improve evatools
160
176
  - Change some default configurations
161
177
  - Update and improve examples
162
- - Improve documentations
178
+ - Improve documentation
163
179
  - **Known issue/limitation**:
164
180
  - [Issue] YOLO Ultralytics: May throw `CUDA error: an illegal memory access was encountered` in multithread application
165
181
 
@@ -171,7 +187,7 @@
171
187
  - Implement install requirements/dependencies -> See setup.py
172
188
  - Simplify and improve requirements
173
189
  - Update default config files
174
- - Update and improve documentations
190
+ - Update and improve documentation
175
191
  - Update and improve GUI
176
192
  - **Known issue/limitation**:
177
193
  - [Issue] YOLO Ultralytics: May throw `CUDA error: an illegal memory access was encountered` in multithread application
@@ -212,7 +228,7 @@
212
228
  - Improve setup quality
213
229
  - Improve GUI stability
214
230
  - Update and normalize dependencies/requirements
215
- - Update and improve documentations
231
+ - Update and improve documentation
216
232
  - **Known issue/limitation**:
217
233
  - [Issue] YOLO Ultralytics: May throw `CUDA error: an illegal memory access was encountered` in multithread application
218
234
 
@@ -47,7 +47,7 @@ from pyppbox.gui.guitools import (
47
47
  )
48
48
 
49
49
 
50
- __version__ = '3.6b7'
50
+ __version__ = '3.6b9'
51
51
  __author__ = 'Ratha SIV'
52
52
  __description__ = 'Toolbox for people detecting, tracking, and re-identifying.'
53
53
  __homepage__ = 'https://rathaumons.github.io/pyppbox'
@@ -48,8 +48,8 @@ def main(args):
48
48
  if not os.path.exists(output_dir):
49
49
  os.makedirs(output_dir)
50
50
  # Store some git revision info in a text file in the log directory
51
- src_path,_ = os.path.split(os.path.realpath(__file__))
52
- facenet.store_revision_info(src_path, output_dir, ' '.join(sys.argv))
51
+ # src_path,_ = os.path.split(os.path.realpath(__file__))
52
+ # facenet.store_revision_info(src_path, output_dir, ' '.join(sys.argv))
53
53
  dataset = facenet.get_dataset(args.input_dir)
54
54
 
55
55
  print('Creating networks and loading parameters')
@@ -87,7 +87,7 @@ def main(args):
87
87
  print(image_path)
88
88
  if not os.path.exists(output_filename):
89
89
  try:
90
- img = imageio.imread(image_path)
90
+ img = imageio.v2.imread(image_path)
91
91
  except (IOError, ValueError, IndexError) as e:
92
92
  errorMessage = '{}: {}'.format(image_path, e)
93
93
  print(errorMessage)
@@ -135,6 +135,7 @@ def main(args):
135
135
  output_filename_n = "{}_{}{}".format(filename_base, i, file_extension)
136
136
  else:
137
137
  output_filename_n = "{}{}".format(filename_base, file_extension)
138
+ scaled = (scaled * 255).astype(np.uint8)
138
139
  imageio.imwrite(output_filename_n, scaled)
139
140
  text_file.write('%s %d %d %d %d\n' % (output_filename_n, bb[0], bb[1], bb[2], bb[3]))
140
141
  else:
@@ -571,7 +571,7 @@ class MT(object):
571
571
  if (isDictString(tracker) or "yaml" in tracker.lower() or
572
572
  "json" in tracker.lower()):
573
573
  self.__setCustomTracker__(getCFGDict(tracker))
574
- elif tracker.lower() == "default":
574
+ elif tracker.lower() == "":
575
575
  if not self.__cfg_is_set__: self.setConfigDir()
576
576
  self.__loadDefaultTracker__()
577
577
  add_info_log("---PYPPBOX : Use tracker according to the \"main.yaml\"")
@@ -749,7 +749,7 @@ class MT(object):
749
749
  if (isDictString(reider) or "yaml" in reider.lower() or
750
750
  "json" in reider.lower()):
751
751
  self.__setCustomReIDer__(getCFGDict(reider), auto_load)
752
- elif reider.lower() == "default":
752
+ elif reider.lower() == "":
753
753
  if not self.__cfg_is_set__: self.setConfigDir()
754
754
  self.__loadDefaultReIDer__(auto_load=auto_load)
755
755
  add_info_log("---PYPPBOX : Use reider according to the \"main.yaml\"")
@@ -966,15 +966,15 @@ class MT(object):
966
966
  ----------
967
967
  reider : str or dict, default="Default"
968
968
  A supported name, a raw/ready dictionary, or a YAML/JSON file which is passed to
969
- :func:`setMainReIDer(reider=reider, auto_load=False)`.
969
+ :func:`setMainReIDer()`, where `reider=reider`, and `auto_load=False`.
970
970
  train_data : str, default=""
971
- A path of data to train, where consists of 2 or more sub-folders which classify
971
+ A path of data used for training, where consists of 2 or more sub-folders which classify
972
972
  2 or more people. Set :code:`train_data=""` or keep default to use the configured
973
- :obj:`train_data` according to the input :code:`reider`. All images in this the sub-folders
973
+ :obj:`train_data` as set in the given :code:`reider`. All images in this sub-folders
974
974
  must be 128x256 for Torchreid and 182x182 for FaceNet.
975
975
  classifier_pkl : str, default=""
976
- A file path for the classifier PKL file. Set :code:`classifier_pkl=""` or keep default
977
- to use the configured :obj:`classifier_pkl` in the input :obj:`reider`.
976
+ A file path for the output classifier PKL file. Set :code:`classifier_pkl=""` or keep the
977
+ default to use the configured :obj:`classifier_pkl` as set in the given :obj:`reider`.
978
978
  """
979
979
  self.setMainReIDer(reider=reider, auto_load=False)
980
980
  if self.__ri_is_set__:
@@ -120,8 +120,8 @@ def visualizePeople(img, people, show_box=True, show_skl=(True,True,5), show_ids
120
120
  show_ids : tuple(bool, bool, bool), default=(True,True,True)
121
121
  Set whether to visualize the IDs.
122
122
  Set the first element to :code:`True` to visualize the cid.
123
- Set the second element to :code:`True` to visualize the faceid.
124
- Set the third element to :code:`True` to visualize the deepid.
123
+ Set the second element to :code:`True` to visualize the deepid.
124
+ Set the third element to :code:`True` to visualize the faceid.
125
125
  show_reid : tuple(int, int), default=(0,0)
126
126
  :obj:`show_reid` is corresponding to :obj:`reid_count` in :func:`reidPeople()`
127
127
  Tuple of (ReID count, ReID deduplicate count)
@@ -183,7 +183,7 @@ def visualizePeople(img, people, show_box=True, show_skl=(True,True,5), show_ids
183
183
  cv2.putText(img, "DEDUPLICATING <-", reid_pos, reid_status_font,
184
184
  1, reid_dup_col, 1, cv2.LINE_AA)
185
185
  else:
186
- msg = "visualizePeople() -> show_ids='" + str(show_ids) + "' is not valid."
186
+ msg = "visualizePeople() -> show_reid=" + str(show_reid) + " is not valid."
187
187
  add_error_log(msg)
188
188
  raise ValueError(msg)
189
189
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyppbox
3
- Version: 3.6b7
3
+ Version: 3.6b9
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
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