faster-coco-eval 1.6.6__tar.gz → 1.6.8__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 (64) hide show
  1. {faster_coco_eval-1.6.6/faster_coco_eval.egg-info → faster_coco_eval-1.6.8}/PKG-INFO +30 -22
  2. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/README.md +26 -11
  3. faster_coco_eval-1.6.8/csrc/faster_eval_api/coco_eval/cocoeval.cpp +667 -0
  4. faster_coco_eval-1.6.8/csrc/faster_eval_api/coco_eval/cocoeval.h +112 -0
  5. faster_coco_eval-1.6.8/csrc/faster_eval_api/coco_eval/dataset.cpp +246 -0
  6. faster_coco_eval-1.6.8/csrc/faster_eval_api/coco_eval/dataset.h +82 -0
  7. faster_coco_eval-1.6.8/csrc/faster_eval_api/faster_eval_api.cpp +131 -0
  8. faster_coco_eval-1.6.8/csrc/mask_api/mask_api.cpp +201 -0
  9. faster_coco_eval-1.6.8/csrc/mask_api/src/mask.cpp +836 -0
  10. faster_coco_eval-1.6.8/csrc/mask_api/src/mask.h +120 -0
  11. faster_coco_eval-1.6.8/csrc/mask_api/src/rle.cpp +609 -0
  12. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/core/coco.py +135 -101
  13. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/core/cocoeval.py +202 -82
  14. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/core/faster_eval_api.py +142 -9
  15. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/core/mask.py +62 -59
  16. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/extra/curves.py +44 -21
  17. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/extra/display.py +72 -35
  18. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/extra/draw.py +133 -49
  19. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/extra/extra.py +40 -14
  20. faster_coco_eval-1.6.8/faster_coco_eval/extra/utils.py +105 -0
  21. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/utils/pytorch/coco_dataset.py +19 -4
  22. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/utils/pytorch/coco_eval.py +127 -17
  23. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/version.py +1 -1
  24. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8/faster_coco_eval.egg-info}/PKG-INFO +30 -22
  25. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval.egg-info/SOURCES.txt +6 -0
  26. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval.egg-info/requires.txt +5 -9
  27. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/pyproject.toml +1 -1
  28. faster_coco_eval-1.6.8/requirements/docs.txt +8 -0
  29. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/requirements/extra.txt +3 -0
  30. faster_coco_eval-1.6.8/requirements/runtime.txt +1 -0
  31. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/requirements/tests.txt +1 -1
  32. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/setup.py +1 -1
  33. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/tests/test_basic.py +21 -9
  34. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/tests/test_boundary.py +2 -0
  35. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/tests/test_coco_metric.py +4 -1
  36. faster_coco_eval-1.6.8/tests/test_cocoapi_fake_data.py +91 -0
  37. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/tests/test_crowdpose.py +2 -0
  38. faster_coco_eval-1.6.8/tests/test_dataset.py +66 -0
  39. faster_coco_eval-1.6.8/tests/test_extra_draw.py +178 -0
  40. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/tests/test_keypoints.py +2 -0
  41. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/tests/test_lvis_metric.py +5 -2
  42. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/tests/test_mask_api.py +8 -0
  43. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/tests/test_torchmetrics.py +8 -0
  44. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/tests/test_world_evalutor.py +2 -0
  45. faster_coco_eval-1.6.6/csrc/faster_eval_api/coco_eval/cocoeval.cpp +0 -895
  46. faster_coco_eval-1.6.6/csrc/faster_eval_api/coco_eval/cocoeval.h +0 -166
  47. faster_coco_eval-1.6.6/csrc/faster_eval_api/faster_eval_api.cpp +0 -114
  48. faster_coco_eval-1.6.6/csrc/mask_api/mask_api.cpp +0 -132
  49. faster_coco_eval-1.6.6/csrc/mask_api/src/mask.cpp +0 -721
  50. faster_coco_eval-1.6.6/csrc/mask_api/src/mask.h +0 -108
  51. faster_coco_eval-1.6.6/csrc/mask_api/src/rle.cpp +0 -579
  52. faster_coco_eval-1.6.6/faster_coco_eval/extra/utils.py +0 -87
  53. faster_coco_eval-1.6.6/requirements/runtime.txt +0 -4
  54. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/LICENSE +0 -0
  55. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/MANIFEST.in +0 -0
  56. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/__init__.py +0 -0
  57. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/core/__init__.py +0 -0
  58. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/extra/__init__.py +0 -0
  59. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/utils/__init__.py +0 -0
  60. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval/utils/pytorch/__init__.py +0 -0
  61. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval.egg-info/dependency_links.txt +0 -0
  62. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/faster_coco_eval.egg-info/top_level.txt +0 -0
  63. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/setup.cfg +0 -0
  64. {faster_coco_eval-1.6.6 → faster_coco_eval-1.6.8}/tests/test_init_pycocotools.py +0 -0
@@ -1,12 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faster-coco-eval
3
- Version: 1.6.6
3
+ Version: 1.6.8
4
4
  Summary: Faster interpretation of the original COCOEval
5
5
  Home-page: https://github.com/MiXaiLL76/faster_coco_eval
6
6
  Author: MiXaiLL76
7
7
  Author-email: mike.milos@yandex.ru
8
8
  Classifier: Development Status :: 4 - Beta
9
- Classifier: License :: OSI Approved :: Apache Software License
10
9
  Classifier: Operating System :: OS Independent
11
10
  Classifier: Programming Language :: Python :: 3
12
11
  Classifier: Programming Language :: Python :: 3.7
@@ -21,22 +20,16 @@ Requires-Python: >=3.7
21
20
  Description-Content-Type: text/markdown
22
21
  License-File: LICENSE
23
22
  Requires-Dist: numpy
24
- Requires-Dist: plotly
25
- Requires-Dist: pandas
26
- Requires-Dist: Pillow
27
23
  Provides-Extra: extra
28
24
  Requires-Dist: numpy; extra == "extra"
29
- Requires-Dist: plotly; extra == "extra"
25
+ Requires-Dist: opencv-python-headless; extra == "extra"
30
26
  Requires-Dist: pandas; extra == "extra"
27
+ Requires-Dist: plotly; extra == "extra"
31
28
  Requires-Dist: Pillow; extra == "extra"
32
- Requires-Dist: opencv-python-headless; extra == "extra"
33
29
  Provides-Extra: tests
34
30
  Requires-Dist: numpy; extra == "tests"
35
- Requires-Dist: plotly; extra == "tests"
36
- Requires-Dist: pandas; extra == "tests"
37
- Requires-Dist: Pillow; extra == "tests"
38
31
  Requires-Dist: numpy; extra == "tests"
39
- Requires-Dist: pycocotools; extra == "tests"
32
+ Requires-Dist: pycocotools; python_version < "3.13" and extra == "tests"
40
33
  Requires-Dist: pytest; extra == "tests"
41
34
  Requires-Dist: pytest-cov; extra == "tests"
42
35
  Requires-Dist: parameterized; extra == "tests"
@@ -65,12 +58,25 @@ Dynamic: summary
65
58
 
66
59
  [![CI - Test](https://github.com/MiXaiLL76/faster_coco_eval/actions/workflows/unittest.yml/badge.svg)](https://github.com/MiXaiLL76/faster_coco_eval/actions/workflows/unittest.yml)
67
60
 
68
- <!-- [![Coverage](https://codecov.io/github/MiXaiLL76/faster_coco_eval/coverage.svg?branch=main)](https://codecov.io/gh/MiXaiLL76/faster_coco_eval) -->
61
+ ## Why should you replace pycocotools with **faster-coco-eval**?
62
+
63
+ | Aspect | pycocotools | **faster-coco-eval** |
64
+ | ------------------------------ | ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
65
+ | **Support & Development** | Outdated and not actively maintained. Issues and incompatibilities arise with new releases. | Actively maintained, continuously evolving, and regularly updated with new features and bug fixes. |
66
+ | **Transparency & Reliability** | Lacks comprehensive testing, making updates risky and results less predictable. | Emphasizes extensive test coverage and code quality, ensuring trustworthy and reliable results. |
67
+ | **Performance** | Significantly slower, especially on large datasets or distributed workloads. | Several times faster due to C++ optimizations and modern algorithms. |
68
+ | **Functionality** | Limited to basic COCO format evaluation. | Offers extended metrics, support for new IoU types, compatibility with more datasets (e.g., CrowdPose, LVIS), advanced visualizations, and seamless integration with PyTorch/TorchVision. |
69
+
70
+ ______________________________________________________________________
71
+
72
+ **By choosing faster-coco-eval, you benefit from:**
69
73
 
70
- ## Disclaimer
74
+ - Reliability and confidence in your results
75
+ - High processing speed
76
+ - Modern functionality and support for new tasks
77
+ - An active community and prompt response to your requests
71
78
 
72
- I often use this project, but I saw it abandoned and without a public repository on github.
73
- Also, part of the project remained unfinished for a long time. I implemented some of the author's ideas and decided to make the results publicly available.
79
+ Switch to **faster-coco-eval** and experience a new standard in working with COCO annotations!
74
80
 
75
81
  ## Install
76
82
 
@@ -142,7 +148,7 @@ Visualization of testing **colab_example.ipynb** available in directory [example
142
148
  ## Feautures
143
149
 
144
150
  This library provides not only validation functions, but also error visualization functions. Including visualization of errors in the image.
145
- You can study in more detail in the [examples](https://github.com/MiXaiLL76/faster_coco_eval/blob/main/examples) and [Wiki](https://github.com/MiXaiLL76/faster_coco_eval/wiki).
151
+ You can study in more detail in the [examples](https://mixaill76.github.io/faster_coco_eval/examples.html) and [Wiki](https://github.com/MiXaiLL76/faster_coco_eval/wiki).
146
152
 
147
153
  ## Usage
148
154
 
@@ -150,14 +156,16 @@ Code examples for using the library are available on the [Wiki](https://github.c
150
156
 
151
157
  ### Examples
152
158
 
153
- - [Eval example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/eval_example.ipynb)
154
- - [Curve example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/curve_example.ipynb)
155
- - [CED Keypoint example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/ced_example.ipynb)
156
- - [LVIS example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/lvis_example.ipynb)
159
+ - [Eval example](https://mixaill76.github.io/faster_coco_eval/examples/eval_example.html)
160
+ - [Curve example](https://mixaill76.github.io/faster_coco_eval/examples/curve_example.html)
161
+ - [LVIS example](https://mixaill76.github.io/faster_coco_eval/examples/lvis_example.html)
162
+ - [Crowdpose example](https://mixaill76.github.io/faster_coco_eval/examples/crowdpose_example.html)
163
+ - [Custom keypoints example](https://mixaill76.github.io/faster_coco_eval/examples/ced_example.html)
164
+ - [showAnns example](https://mixaill76.github.io/faster_coco_eval/examples/show_example.html)
157
165
 
158
166
  ## Update history
159
167
 
160
- Available via link [history.md](https://github.com/MiXaiLL76/faster_coco_eval/blob/main/history.md)
168
+ Available via link [history.md](https://mixaill76.github.io/faster_coco_eval/history.html)
161
169
 
162
170
  ## Star History
163
171
 
@@ -166,7 +174,7 @@ Available via link [history.md](https://github.com/MiXaiLL76/faster_coco_eval/bl
166
174
  ## License
167
175
 
168
176
  The original module was licensed with apache 2, I will continue with the same license.
169
- Distributed under the apache version 2.0 license, see [license](LICENSE) for more information.
177
+ Distributed under the apache version 2.0 license, see [license](https://github.com/MiXaiLL76/faster_coco_eval/blob/main/LICENSE) for more information.
170
178
 
171
179
  ## Citation
172
180
 
@@ -11,12 +11,25 @@
11
11
 
12
12
  [![CI - Test](https://github.com/MiXaiLL76/faster_coco_eval/actions/workflows/unittest.yml/badge.svg)](https://github.com/MiXaiLL76/faster_coco_eval/actions/workflows/unittest.yml)
13
13
 
14
- <!-- [![Coverage](https://codecov.io/github/MiXaiLL76/faster_coco_eval/coverage.svg?branch=main)](https://codecov.io/gh/MiXaiLL76/faster_coco_eval) -->
14
+ ## Why should you replace pycocotools with **faster-coco-eval**?
15
15
 
16
- ## Disclaimer
16
+ | Aspect | pycocotools | **faster-coco-eval** |
17
+ | ------------------------------ | ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
18
+ | **Support & Development** | Outdated and not actively maintained. Issues and incompatibilities arise with new releases. | Actively maintained, continuously evolving, and regularly updated with new features and bug fixes. |
19
+ | **Transparency & Reliability** | Lacks comprehensive testing, making updates risky and results less predictable. | Emphasizes extensive test coverage and code quality, ensuring trustworthy and reliable results. |
20
+ | **Performance** | Significantly slower, especially on large datasets or distributed workloads. | Several times faster due to C++ optimizations and modern algorithms. |
21
+ | **Functionality** | Limited to basic COCO format evaluation. | Offers extended metrics, support for new IoU types, compatibility with more datasets (e.g., CrowdPose, LVIS), advanced visualizations, and seamless integration with PyTorch/TorchVision. |
17
22
 
18
- I often use this project, but I saw it abandoned and without a public repository on github.
19
- Also, part of the project remained unfinished for a long time. I implemented some of the author's ideas and decided to make the results publicly available.
23
+ ______________________________________________________________________
24
+
25
+ **By choosing faster-coco-eval, you benefit from:**
26
+
27
+ - Reliability and confidence in your results
28
+ - High processing speed
29
+ - Modern functionality and support for new tasks
30
+ - An active community and prompt response to your requests
31
+
32
+ Switch to **faster-coco-eval** and experience a new standard in working with COCO annotations!
20
33
 
21
34
  ## Install
22
35
 
@@ -88,7 +101,7 @@ Visualization of testing **colab_example.ipynb** available in directory [example
88
101
  ## Feautures
89
102
 
90
103
  This library provides not only validation functions, but also error visualization functions. Including visualization of errors in the image.
91
- You can study in more detail in the [examples](https://github.com/MiXaiLL76/faster_coco_eval/blob/main/examples) and [Wiki](https://github.com/MiXaiLL76/faster_coco_eval/wiki).
104
+ You can study in more detail in the [examples](https://mixaill76.github.io/faster_coco_eval/examples.html) and [Wiki](https://github.com/MiXaiLL76/faster_coco_eval/wiki).
92
105
 
93
106
  ## Usage
94
107
 
@@ -96,14 +109,16 @@ Code examples for using the library are available on the [Wiki](https://github.c
96
109
 
97
110
  ### Examples
98
111
 
99
- - [Eval example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/eval_example.ipynb)
100
- - [Curve example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/curve_example.ipynb)
101
- - [CED Keypoint example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/ced_example.ipynb)
102
- - [LVIS example](https://nbviewer.org/github/MiXaiLL76/faster_coco_eval/blob/main/examples/lvis_example.ipynb)
112
+ - [Eval example](https://mixaill76.github.io/faster_coco_eval/examples/eval_example.html)
113
+ - [Curve example](https://mixaill76.github.io/faster_coco_eval/examples/curve_example.html)
114
+ - [LVIS example](https://mixaill76.github.io/faster_coco_eval/examples/lvis_example.html)
115
+ - [Crowdpose example](https://mixaill76.github.io/faster_coco_eval/examples/crowdpose_example.html)
116
+ - [Custom keypoints example](https://mixaill76.github.io/faster_coco_eval/examples/ced_example.html)
117
+ - [showAnns example](https://mixaill76.github.io/faster_coco_eval/examples/show_example.html)
103
118
 
104
119
  ## Update history
105
120
 
106
- Available via link [history.md](https://github.com/MiXaiLL76/faster_coco_eval/blob/main/history.md)
121
+ Available via link [history.md](https://mixaill76.github.io/faster_coco_eval/history.html)
107
122
 
108
123
  ## Star History
109
124
 
@@ -112,7 +127,7 @@ Available via link [history.md](https://github.com/MiXaiLL76/faster_coco_eval/bl
112
127
  ## License
113
128
 
114
129
  The original module was licensed with apache 2, I will continue with the same license.
115
- Distributed under the apache version 2.0 license, see [license](LICENSE) for more information.
130
+ Distributed under the apache version 2.0 license, see [license](https://github.com/MiXaiLL76/faster_coco_eval/blob/main/LICENSE) for more information.
116
131
 
117
132
  ## Citation
118
133