zxing-cpp 2.3.0__cp313-cp313-win32.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.
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.1
2
+ Name: zxing-cpp
3
+ Version: 2.3.0
4
+ Summary: Python bindings for the zxing-cpp barcode library
5
+ Home-page: https://github.com/zxing-cpp/zxing-cpp
6
+ Author: ZXing-C++ Community
7
+ Author-email: zxingcpp@gmail.com
8
+ License: Apache License 2.0
9
+ Keywords: barcode
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Topic :: Multimedia :: Graphics
15
+ Requires-Python: >=3.6
16
+ Description-Content-Type: text/markdown
17
+
18
+ # Python bindings for zxing-cpp
19
+
20
+ [![PyPI](https://img.shields.io/pypi/v/zxing-cpp.svg)](https://pypi.org/project/zxing-cpp/)
21
+
22
+
23
+ ## Installation
24
+
25
+ ```bash
26
+ pip install zxing-cpp
27
+ ```
28
+ or
29
+
30
+ ```bash
31
+ python setup.py install
32
+ ```
33
+
34
+ **Note**: To enable position independent and multi-symbol DataMatrix detection, the library needs to be compiled with a c++20 compiler. Unfortunately some build environments (currently the 32-bit builds for Linux) used by `cibuildwheel` to generate the binary wheels that are published on [pypi.org](https://pypi.org/project/zxing-cpp/) don't include a c++20 compiler. Best chance to enable proper DataMatrix support in that case is by installing from source:
35
+
36
+ ```bash
37
+ pip install zxing-cpp --no-binary zxing-cpp
38
+ ```
39
+
40
+ In that case or if there is no pre-build wheel available for your platform or python version or if you use `setup.py` directly, a suitable [build environment](https://github.com/zxing-cpp/zxing-cpp#build-instructions) including a c++ compiler is required.
41
+
42
+
43
+ ## Usage
44
+
45
+ ```python
46
+ import cv2, zxingcpp
47
+
48
+ img = cv2.imread('test.png')
49
+ barcodes = zxingcpp.read_barcodes(img)
50
+ for barcode in barcodes:
51
+ print('Found barcode:'
52
+ f'\n Text: "{barcode.text}"'
53
+ f'\n Format: {barcode.format}'
54
+ f'\n Content: {barcode.content_type}'
55
+ f'\n Position: {barcode.position}')
56
+ if len(barcodes) == 0:
57
+ print("Could not find any barcode.")
58
+ ```
59
+
60
+ To get a full list of available parameters for `read_barcodes` and `write_barcode` as well as the properties of the Barcode objects, have a look at the `PYBIND11_MODULE` definition in [this c++ source file](https://github.com/zxing-cpp/zxing-cpp/blob/master/wrappers/python/zxing.cpp).
@@ -0,0 +1,5 @@
1
+ zxingcpp.cp313-win32.pyd,sha256=De2bF_uyUvpKVMq8jRdhpO54r38oQXn11ZiYkcNu780,1309696
2
+ zxing_cpp-2.3.0.dist-info/METADATA,sha256=c5yXtjl0ccv5QGSLqDYIg_RKJ_PTQ1MNwDNtjyu87_E,2292
3
+ zxing_cpp-2.3.0.dist-info/WHEEL,sha256=pUXSsnGWJ09R6rv65E7mPoM8rWovBqrkySmEuK3ly_A,97
4
+ zxing_cpp-2.3.0.dist-info/top_level.txt,sha256=14IIHl4XhIILH4s8LvYG_iouB9HuvHCg_Fm6cJ1ThVw,9
5
+ zxing_cpp-2.3.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.6.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win32
5
+
@@ -0,0 +1 @@
1
+ zxingcpp
Binary file