marearts-anpr 3.7.2__cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl → 3.7.3__cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

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.
marearts_anpr/_version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """Version information for marearts-anpr package."""
2
2
 
3
- __version__ = "3.7.2"
3
+ __version__ = "3.7.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: marearts-anpr
3
- Version: 3.7.2
3
+ Version: 3.7.3
4
4
  Summary: MareArts ANPR (Automatic Number Plate Recognition) library with multi-region support
5
5
  Home-page: https://www.marearts.com
6
6
  Author: MareArts
@@ -54,7 +54,7 @@ Requires-Dist: pycuda>=2022.1; platform_system == "Linux" and extra == "tensorrt
54
54
 
55
55
  | ANPR Detection | Road Objects Detection | Mobile App |
56
56
  |:---:|:---:|:---:|
57
- | <img src="promotion_image/anpr_result.png" alt="ANPR Results" width="280"/> | <img src="promotion_image/robj_result.png" alt="Road Objects Results" width="280"/> | <img src="mobile_app/scan_page.png" alt="Mobile App" width="280"/> |
57
+ | <img src="https://raw.githubusercontent.com/MareArts/MareArts-ANPR/main/promotion_image/anpr_result.png" alt="ANPR Results" width="280"/> | <img src="https://raw.githubusercontent.com/MareArts/MareArts-ANPR/main/promotion_image/robj_result.png" alt="Road Objects Results" width="280"/> | <img src="https://raw.githubusercontent.com/MareArts/MareArts-ANPR/main/mobile_app/scan_page.png" alt="Mobile App" width="280"/> |
58
58
 
59
59
  </div>
60
60
 
@@ -80,13 +80,15 @@ Experience the power of MareArts ANPR directly on your mobile device! Fast, accu
80
80
  - ✅ Whitelist/Blacklist management
81
81
  - 🌍 Multi-region support
82
82
 
83
- 📖 **[Read the complete Mobile App Guide →](mobile_app/APP_GUIDE.md)**
83
+ 📖 **[Read the complete Mobile App Guide →](https://github.com/MareArts/MareArts-ANPR/blob/main/mobile_app/APP_GUIDE.md)**
84
84
 
85
85
  > **🎁 Special Offer:** Use the mobile app as your ANPR license - no additional purchase required!
86
86
  > Get your license at [marearts.com/products/anpr](https://www.marearts.com/products/anpr)
87
87
 
88
88
  ---
89
89
 
90
+ <br>
91
+
90
92
  ## Features
91
93
 
92
94
  - 🌍 **Multi-Region Support**: Korean, Europe+, North America, China, and Universal license plates
@@ -96,6 +98,8 @@ Experience the power of MareArts ANPR directly on your mobile device! Fast, accu
96
98
  - 📦 **Batch Processing**: Process multiple plates simultaneously
97
99
  - 🐳 **Production Ready**: Docker API with smart model caching and multi-architecture support
98
100
 
101
+ <br>
102
+
99
103
  ## Quick Start
100
104
 
101
105
  ### Installation
@@ -109,18 +113,20 @@ pip install marearts-anpr[gpu] # NVIDIA CUDA
109
113
  pip install marearts-anpr[directml] # Windows GPU (AMD/Intel/NVIDIA)
110
114
  ```
111
115
 
112
- 📦 [See complete installation guide](docs/installation.md)
116
+ 📦 [See complete installation guide](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/installation.md)
113
117
 
114
118
  ### Basic Usage
115
119
 
116
- 💡 **Model names**: See [models and benchmarks](docs/models.md) (e.g., `small_640p_fp32`, `small_fp32`)
120
+ 💡 **Recommended:** `micro_320p_fp32` (best overall) or `micro_320p_fp16` (best mobile). [See all models](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/models.md)
117
121
 
118
122
  ```python
119
123
  from marearts_anpr import ma_anpr_detector_v14, ma_anpr_ocr_v14, marearts_anpr_from_image_file
120
124
 
121
125
  # Initialize detector
122
126
  detector = ma_anpr_detector_v14(
123
- "small_640p_fp32", # pico_640p_fp32, micro_640p_fp32, small_640p_fp32, medium_640p_fp32, large_640p_fp32
127
+ "micro_320p_fp32", # 🏆 BEST: 97.13% detection, 128 FPS
128
+ # 320p models (Best): pico_320p_fp32/fp16, micro_320p_fp32/fp16, small_320p_fp32/fp16, medium_320p_fp32/fp16, large_320p_fp32/fp16
129
+ # 640p models (High detection): pico_640p_fp32/fp16, micro_640p_fp32/fp16, small_640p_fp32/fp16, medium_640p_fp32/fp16, large_640p_fp32/fp16
124
130
  user_name,
125
131
  serial_key,
126
132
  signature,
@@ -153,9 +159,11 @@ Switch regions without reinitialization:
153
159
  ocr.set_region('eup') # Europe+
154
160
  ocr.set_region('kr') # Korean
155
161
  ocr.set_region('na') # North America
162
+ ocr.set_region('cn') # China
163
+ ocr.set_region('univ') # Universal (all regions)
156
164
  ```
157
165
 
158
- 🔄 [Learn more about dynamic region switching](docs/usage.md#dynamic-region-switching-370)
166
+ 🔄 [Learn more about dynamic region switching](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/usage.md#dynamic-region-switching)
159
167
 
160
168
  #### Multiple Input Formats & CLI
161
169
 
@@ -177,35 +185,47 @@ ma-anpr test-api image.jpg # Test API (1000/day limit)
177
185
  ma-anpr validate # Validate license
178
186
  ```
179
187
 
180
- 🔧 [See complete usage examples and CLI reference](docs/usage.md)
188
+ 🔧 [See complete usage examples and CLI reference](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/usage.md)
189
+
190
+ <br>
181
191
 
182
192
  ## Model Performance
183
193
 
184
194
  ### Detector Performance
185
195
 
186
- | Model Name | F1 Score | Speed CUDA | Speed CPU | Notes |
187
- |-------|----------|------------|-----------|-------|
188
- | pico_640p_fp32 | 93.08% | 68.7 FPS (14.5ms) | - | Fastest, smallest model |
189
- | micro_640p_fp32 | 93.39% | 69.5 FPS (14.4ms) | - | Fast with good accuracy |
190
- | small_640p_fp32 | 92.58% | 69.5 FPS (14.4ms) | - | Balanced performance |
191
- | medium_640p_fp32 | 92.27% | 62.1 FPS (16.1ms) | - | Higher accuracy |
192
- | large_640p_fp32 | 93.77% | 57.4 FPS (17.4ms) | - | 🎯 Highest F1 score |
196
+ *Tested on 33% validation set (12,583 images) with NVIDIA RTX 4090*
197
+
198
+ | Model Name | Detection Rate | Speed (GPU) | Notes |
199
+ |------------|----------------|-------------|-------|
200
+ | **micro_320p_fp32** | **97.13%** | **128 FPS** (7.8ms) | 🏆 Best overall |
201
+ | **micro_320p_fp16** | **97.13%** | **56 FPS** (17.9ms) | 🏆 Best mobile (50% smaller) |
202
+ | micro_640p_fp32 | 98.99% | 68 FPS (14.6ms) | Highest detection |
203
+ | small_320p_fp32 | 98.00% | 142 FPS (7.0ms) | ⚡ Fastest |
204
+ | medium_320p_fp32 | 98.06% | 136 FPS (7.4ms) | High detection |
205
+ | pico_320p_fp32 | 96.02% | 129 FPS (7.8ms) | Smallest + fast |
206
+ | pico_640p_fp32 | 98.54% | 66 FPS (15.2ms) | Balanced |
207
+
208
+ **Note:** 320p models are 2× faster than 640p. FP16 models are 50% smaller with same detection rate.
209
+
210
+ <br>
193
211
 
194
212
  ### OCR Performance
195
213
 
196
214
  *Average across all regions*
197
215
 
198
- | Model Name | Exact Match | Char Accuracy | Speed CUDA | Notes |
199
- |-------|-------------|---------------|------------|-------|
200
- | pico_fp32 | 91.78% | 96.65% | 270 FPS (3.7ms) | Fastest, smallest |
216
+ | Model Name | Exact Match | Character Accuracy | Speed (GPU) | Notes |
217
+ |------------|-------------|-------------------|-------------|-------|
218
+ | **large_fp32** | **91.70%** | **96.27%** | 262 FPS (3.8ms) | 🎯 Best accuracy |
201
219
  | micro_fp32 | 91.86% | 96.50% | 262 FPS (3.8ms) | Fast with good accuracy |
220
+ | pico_fp32 | 91.78% | 96.65% | 270 FPS (3.7ms) | Fastest, smallest |
202
221
  | small_fp32 | 91.54% | 96.64% | 300 FPS (3.3ms) | ⚡ Fastest inference |
203
222
  | medium_fp32 | 90.36% | 96.45% | 270 FPS (3.7ms) | Balanced performance |
204
- | **large_fp32** | **91.70%** | **96.27%** | 262 FPS (3.8ms) | 🎯 Best accuracy |
205
223
 
206
224
  **Supported Regions**: Korean (`kr`), Europe+ (`eup`), North America (`na`), China (`cn`), Universal (`univ`)
207
225
 
208
- 📊 [See detailed benchmarks by region](docs/models.md)
226
+ 📊 [See all detailed benchmarks and region-based performance](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/models.md)
227
+
228
+ <br>
209
229
 
210
230
  ## Regional Support
211
231
 
@@ -213,36 +233,42 @@ MareArts ANPR supports license plates from multiple regions with specialized voc
213
233
 
214
234
  - 🇰🇷 **Korean (`kr`)** - Korean license plates with Hangul characters (best accuracy: 99.27%)
215
235
  - 🇪🇺 **Europe+ (`eup`)** - EU countries + Albania, Andorra, Bosnia & Herzegovina, Indonesia, and more
216
- - 🇺🇸 **North America (`na`)** - USA and Canada license plates
236
+ - 🇺🇸🇨🇦🇲🇽 **North America (`na`)** - USA, Canada, and Mexico license plates
217
237
  - 🇨🇳 **China (`cn`)** - Chinese license plates with province codes
218
238
  - 🌍 **Universal (`univ`)** - All regions (default, but choose specific region for best accuracy)
219
239
 
220
240
  💡 **Dynamic Region Switching**: Use `ocr.set_region('kr')` to switch regions instantly without reloading the model, saving ~180 MB per additional region.
221
241
 
222
- 🌍 [See complete regional support and character sets](docs/regional-support.md)
242
+ 🌍 [See complete regional support and character sets](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/regional-support.md)
243
+
244
+ <br>
223
245
 
224
246
  ## Documentation
225
247
 
226
- - 📦 [Installation Guide](docs/installation.md) - Detailed installation options and requirements
227
- - 🔧 [Usage Examples](docs/usage.md) - Python SDK, CLI usage, dynamic region switching, and environment variables
228
- - 💻 [Example Code](example_code/) - Basic, advanced, and batch processing examples
229
- - 🚀 [Model Versions](docs/models.md) - Available models, benchmarks, and performance metrics
230
- - 🌍 [Regional Support](docs/regional-support.md) - Supported countries and character sets
231
- - 🐳 [Docker Deployment](docs/docker.md) - Container setup, API server, and multi-architecture builds
232
- - 🧪 [Try ANPR](docs/api-testing.md) - Test our ANPR without license (1000 requests/day)
233
- - ❓ [FAQ](docs/faq.md) - Licensing, regions, features, and troubleshooting
248
+ - 📦 [Installation Guide](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/installation.md) - Detailed installation options and requirements
249
+ - 🔧 [Usage Examples](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/usage.md) - Python SDK, CLI usage, dynamic region switching, and environment variables
250
+ - 💻 [Example Code](https://github.com/MareArts/MareArts-ANPR/tree/main/example_code) - Basic, advanced, and batch processing examples
251
+ - 🚀 [Model Versions](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/models.md) - Available models, benchmarks, and performance metrics
252
+ - 🌍 [Regional Support](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/regional-support.md) - Supported countries and character sets
253
+ - 🐳 [Docker Deployment](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/docker.md) - Container setup, API server, and multi-architecture builds
254
+ - 🧪 [Try ANPR](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/api-testing.md) - Test our ANPR without license (1000 requests/day)
255
+ - ❓ [FAQ](https://github.com/MareArts/MareArts-ANPR/blob/main/docs/faq.md) - Licensing, regions, features, and troubleshooting
256
+
257
+ <br>
234
258
 
235
259
  ## MareArts Ecosystem
236
260
 
237
261
  Explore our AI toolkit:
238
262
 
239
263
  - **marearts-anpr** - Automatic Number Plate Recognition ([GitHub](https://github.com/MareArts/MareArts-ANPR))
240
- - **🎉 marearts-anpr Mobile App** - ANPR on iOS & Android ([App Store](https://apps.apple.com/us/app/marearts-anpr/id6753904859) | [Guide](mobile_app/APP_GUIDE.md))
264
+ - **🎉 marearts-anpr Mobile App** - ANPR on iOS & Android ([App Store](https://apps.apple.com/us/app/marearts-anpr/id6753904859) | [Guide](https://github.com/MareArts/MareArts-ANPR/blob/main/mobile_app/APP_GUIDE.md))
241
265
  - **marearts-road-objects** - Road object detection for persons, vehicles, and 2-wheelers ([GitHub](https://github.com/MareArts/MareArts-Road-Objects))
242
266
  - **marearts-xcolor** - Color extraction and similarity analysis ([GitHub](https://github.com/MareArts/MareArts-Xcolor))
243
267
  - **marearts-mast** - Real-time panoramic stitching ([GitHub](https://github.com/MareArts/MareArts-MAST))
244
268
  - **marearts-crystal** - Encryption and decryption toolkit ([PyPI](https://pypi.org/project/marearts-crystal/))
245
269
 
270
+ <br>
271
+
246
272
  ## Support & Resources
247
273
 
248
274
  | Resource | Link |
@@ -253,6 +279,8 @@ Explore our AI toolkit:
253
279
  | 🎮 **Live Demo** | [http://live.marearts.com](http://live.marearts.com) |
254
280
  | 📺 **Video Examples** | [YouTube Playlist](https://www.youtube.com/playlist?list=PLvX6vpRszMkxJBJf4EjQ5VCnmkjfE59-J) |
255
281
 
282
+ <br>
283
+
256
284
  ## License
257
285
 
258
286
  © 2024 MareArts. All rights reserved.
@@ -1,5 +1,5 @@
1
1
  marearts_anpr/__init__.py,sha256=YzrK3DFACnJ-JOQjHnV0Lj0YTzeWpHGAqTIWhptuudg,845
2
- marearts_anpr/_version.py,sha256=5tP65Hw7ZPtJrPnVib19duCPPG5ipbcnjBQD9ehxFi8,75
2
+ marearts_anpr/_version.py,sha256=AM_i0cYt4HijPDCkmPINYjsPO7nolURCrZ3qvFs_lfA,75
3
3
  marearts_anpr/cli.py,sha256=J1T6OWpk6cuqKW_dVbsukK_C2XBLHvLHjp4mUG0zi0g,38119
4
4
  marearts_anpr/image_processor.cpython-312-aarch64-linux-gnu.so,sha256=oMnOIu0_9GDPhtpxfPFDK_k-_JbX0h0L2CUbmfIiqks,1145336
5
5
  marearts_anpr/license.cpython-312-aarch64-linux-gnu.so,sha256=QNT9sTcy7LUMOe4qwuIPYUZ6di64O3wgse9ODOyIxXw,1048304
@@ -12,9 +12,9 @@ marearts_anpr/marearts_anpr_r_v14.cpython-312-aarch64-linux-gnu.so,sha256=OknrBo
12
12
  marearts_anpr/secret.cpython-312-aarch64-linux-gnu.so,sha256=rGeqL4Jpi48DoJSNGGnbFMxO5P7DzGfqPTmg8Pmqa7M,1141600
13
13
  marearts_anpr/tokenizer.cpython-312-aarch64-linux-gnu.so,sha256=FFr86tKkhQGKI1LH2xjBJGK-5p3GMFwEsCPwWNTSGgM,1188584
14
14
  marearts_anpr/utils.cpython-312-aarch64-linux-gnu.so,sha256=Nd7CS6KG9c5MvEaR_xh6W-66VoBYWWQrfa_KRyJk3EY,1555952
15
- marearts_anpr-3.7.2.dist-info/LICENSE,sha256=-QowWRBizXxzIyeIKvORInIIG3pjTHtImpvy4alJ9H4,1693
16
- marearts_anpr-3.7.2.dist-info/METADATA,sha256=DW8nFkLImVEtVwe0veoCZh2ZzbP6AJXu2-PZhXzKoY0,11296
17
- marearts_anpr-3.7.2.dist-info/WHEEL,sha256=LG7a0Uo9lUDkUlHy5fWs4yhDPOvlqbXRrs0o67e74KY,154
18
- marearts_anpr-3.7.2.dist-info/entry_points.txt,sha256=4_q2PbsRTMUIMxt7BWxZdt9yuw-4bepqGyZl4jBLgfU,90
19
- marearts_anpr-3.7.2.dist-info/top_level.txt,sha256=DX3y7nst7V7YBYS7dHQIIZxROhrheWGRsl2aCOLErEA,14
20
- marearts_anpr-3.7.2.dist-info/RECORD,,
15
+ marearts_anpr-3.7.3.dist-info/LICENSE,sha256=-QowWRBizXxzIyeIKvORInIIG3pjTHtImpvy4alJ9H4,1693
16
+ marearts_anpr-3.7.3.dist-info/METADATA,sha256=E8hyiwg9VVdj1HGaUjeQMHlQAGJJ33QgBYkLtfybGbE,13028
17
+ marearts_anpr-3.7.3.dist-info/WHEEL,sha256=LG7a0Uo9lUDkUlHy5fWs4yhDPOvlqbXRrs0o67e74KY,154
18
+ marearts_anpr-3.7.3.dist-info/entry_points.txt,sha256=4_q2PbsRTMUIMxt7BWxZdt9yuw-4bepqGyZl4jBLgfU,90
19
+ marearts_anpr-3.7.3.dist-info/top_level.txt,sha256=DX3y7nst7V7YBYS7dHQIIZxROhrheWGRsl2aCOLErEA,14
20
+ marearts_anpr-3.7.3.dist-info/RECORD,,