You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-3Lines changed: 22 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,12 @@
8
8
9
9
*A fast, pure‑Python Aztec Code reader with auto‑orientation and Reed-Solomon correction.*
10
10
11
+
-------------
12
+
13
+
Please note that the library is still under development, and some features are unstable. Typically, some Aztec files can be read incorrectly because the image has been exported incorrectly in matrix.
14
+
15
+
All contributions are welcome!
16
+
11
17
-------------
12
18
## Table of content
13
19
1.[Installation](#installation)
@@ -44,9 +50,9 @@ This library installs the following dependencies:
44
50
-[toml](https://pypi.org/project/toml/) for version reading
45
51
46
52
## Usage
47
-
The library allows you to decode Aztec barcodes from images. First, you need to have your Aztec barcode perfectly cropped in an image.
53
+
The library allows you to decode Aztec barcodes from images.
48
54
49
-
The most common way to use the library is to use the `AztecDecoder` class. You can create an instance of the class and call the `decode` method with the path to the image file as an argument:
55
+
The most common way to use the library is to use the `AztecDecoder` class. You can create an instance of the class and call the `decode` method with the path to the image file as an argument. With this class, you need to have your Aztec barcode perfectly cropped in an image.
50
56
51
57
```python
52
58
>>>from aztec_tool import decode
@@ -68,7 +74,20 @@ If you need to access more specific data, you can use the `AztecDecoder` class d
68
74
'Welcome to Aztec tool lib !'
69
75
```
70
76
71
-
When you're using the `decode` function or the `AztecDecoder` class, you can also pass three optional parameters:
77
+
If you don't have the Aztec barcode perfectly cropped in an image, you can use this class to cropper it automatically:
When you're using the `decode` function or the `AztecDecoder` (or `MultiAztecDecoder`) class, you can also pass three optional parameters:
72
91
-`auto_orient`: Default is `True`. If set to `True`, the image will be automatically rotated to the correct orientation before decoding. This is useful if the barcode is reversed or rotated.
73
92
-`auto_correct`: Default is `True`. If set to `True`, the data in the Aztec barcode will be automatically corrected. This is useful if the barcode is damaged or has errors.
74
93
-`auto_mode_correct`: Default is `True`. If set to `True`, the mode data in the Aztec barcode will be automatically corrected. This is useful if the barcode is damaged or has errors.
0 commit comments