pyppbox 3.6b7__tar.gz → 3.6b8__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.6b8}/GETSTARTED.md +1 -1
  2. {pyppbox-3.6b7/pyppbox.egg-info → pyppbox-3.6b8}/PKG-INFO +1 -1
  3. {pyppbox-3.6b7 → pyppbox-3.6b8}/RELEASENOTES.md +8 -1
  4. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/__init__.py +1 -1
  5. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/facenet/origin/align_dataset_mtcnn.py +4 -3
  6. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/ppb/mt.py +5 -5
  7. {pyppbox-3.6b7 → pyppbox-3.6b8/pyppbox.egg-info}/PKG-INFO +1 -1
  8. {pyppbox-3.6b7 → pyppbox-3.6b8}/LICENSE +0 -0
  9. {pyppbox-3.6b7 → pyppbox-3.6b8}/MANIFEST.in +0 -0
  10. {pyppbox-3.6b7 → pyppbox-3.6b8}/README.md +0 -0
  11. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/__init__.py +0 -0
  12. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/cfg/cfg.zip +0 -0
  13. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/cfg/detectors.yaml +0 -0
  14. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/cfg/main.yaml +0 -0
  15. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/cfg/reiders.yaml +0 -0
  16. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/cfg/trackers.yaml +0 -0
  17. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/configtools.py +0 -0
  18. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/myconfig.py +0 -0
  19. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/strings/strings.yaml +0 -0
  20. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/strings/strings.zip +0 -0
  21. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/config/unifiedstrings.py +0 -0
  22. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/data/datasets/.gitignore +0 -0
  23. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/data/logs/.gitignore +0 -0
  24. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/data/modules/.gitignore +0 -0
  25. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/data/res/.gitignore +0 -0
  26. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/data/res/idmap.txt +0 -0
  27. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/__init__.py +0 -0
  28. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/assets/TReID.png +0 -0
  29. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/assets/icon.ico +0 -0
  30. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/assets/settings.ico +0 -0
  31. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/guidemo.py +0 -0
  32. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/guihub.py +0 -0
  33. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/guitools.py +0 -0
  34. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/tmp/input.tmp +0 -0
  35. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/tmp/ui.tmp +0 -0
  36. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_centroid.py +0 -0
  37. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_deepsort.py +0 -0
  38. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_facenet.py +0 -0
  39. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_gt.py +0 -0
  40. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_launcher.py +0 -0
  41. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_sort.py +0 -0
  42. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_torchreid.py +0 -0
  43. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_yolocls.py +0 -0
  44. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/gui/ui_yoloult.py +0 -0
  45. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/__init__.py +0 -0
  46. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/detectors/__init__.py +0 -0
  47. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/detectors/yolocls/__init__.py +0 -0
  48. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/detectors/yoloult/__init__.py +0 -0
  49. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/__init__.py +0 -0
  50. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/facenet/__init__.py +0 -0
  51. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/facenet/origin/detect_face.py +0 -0
  52. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/facenet/origin/facenet.py +0 -0
  53. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/torchreid/__init__.py +0 -0
  54. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/torchreid/model_dict.py +0 -0
  55. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/torchreid/model_dict.yaml +0 -0
  56. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/reiders/torchreid/utils.py +0 -0
  57. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/__init__.py +0 -0
  58. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/centroid/__init__.py +0 -0
  59. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/__init__.py +0 -0
  60. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/detection.py +0 -0
  61. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/detection_yolo.py +0 -0
  62. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/generate_detections.py +0 -0
  63. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/iou_matching.py +0 -0
  64. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/kalman_filter.py +0 -0
  65. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/linear_assignment.py +0 -0
  66. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/nn_matching.py +0 -0
  67. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/preprocessing.py +0 -0
  68. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/track.py +0 -0
  69. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/tracker.py +0 -0
  70. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/deepsort/origin/voc_classes.txt +0 -0
  71. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/sort/__init__.py +0 -0
  72. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/modules/trackers/sort/origin/sort.py +0 -0
  73. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/ppb/__init__.py +0 -0
  74. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/standalone/__init__.py +0 -0
  75. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/__init__.py +0 -0
  76. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/commontools.py +0 -0
  77. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/evatools.py +0 -0
  78. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/gttools.py +0 -0
  79. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/logtools.py +0 -0
  80. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/mot2pyppbox.py +0 -0
  81. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/persontools.py +0 -0
  82. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/restools.py +0 -0
  83. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox/utils/visualizetools.py +0 -0
  84. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox.egg-info/SOURCES.txt +0 -0
  85. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox.egg-info/dependency_links.txt +0 -0
  86. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox.egg-info/requires.txt +0 -0
  87. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyppbox.egg-info/top_level.txt +0 -0
  88. {pyppbox-3.6b7 → pyppbox-3.6b8}/pyproject.toml +0 -0
  89. {pyppbox-3.6b7 → pyppbox-3.6b8}/requirements/README.md +0 -0
  90. {pyppbox-3.6b7 → pyppbox-3.6b8}/requirements/requirements.txt +0 -0
  91. {pyppbox-3.6b7 → pyppbox-3.6b8}/requirements/test_gpu.py +0 -0
  92. {pyppbox-3.6b7 → pyppbox-3.6b8}/setup.cfg +0 -0
  93. {pyppbox-3.6b7 → pyppbox-3.6b8}/setup.py +0 -0
  94. {pyppbox-3.6b7 → pyppbox-3.6b8}/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.6b8
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,7 +12,14 @@
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.6b8](https://github.com/rathaumons/pyppbox/tree/v3.6b8) - The Last V3
16
+
17
+ - Fix FaceNet alignment issue in data preparation for training
18
+ - Update and improve documentations
19
+ - **Known issue/limitation**:
20
+ - You tell me :)
21
+
22
+ * `pyppbox` [v3.6b7](https://github.com/rathaumons/pyppbox/tree/v3.6b7) - ~~The Last V3~~
16
23
 
17
24
  - Improve examples
18
25
  - Improve requirements
@@ -47,7 +47,7 @@ from pyppbox.gui.guitools import (
47
47
  )
48
48
 
49
49
 
50
- __version__ = '3.6b7'
50
+ __version__ = '3.6b8'
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:
@@ -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__:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyppbox
3
- Version: 3.6b7
3
+ Version: 3.6b8
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