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: source/python/README.md
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Optional arguments for instance creation of DecoderFacade.
12
12
Relative path to the LDIF file containing VDV certificates to decrypt VDV barcode content.
13
13
*`fail_on_decoder_error` = false
14
14
Fail when the aztec/barcode decoder gets an error if true or deliver an empty result when false.
15
-
*`fail_on_interpreter_error` = true
15
+
*`fail_on_interpreter_error` = false
16
16
Fail when the interpretation of the data gets an error if true or deliver an empty result when false.
17
17
18
18
Provided python API is in an early state and the class DecoderFacade supports 3 methods right now only.
@@ -27,34 +27,39 @@ Provided python API is in an early state and the class DecoderFacade supports 3
27
27
option, try using 'ISO 8859-1' and cast the result string to raw bytes.
28
28
29
29
*`decode_files('...')` detects and decodes aztec-codes from file or directories (PDF, image) and decodes barcode
30
-
data to json. This is using zxing-cpp internally. It returns an array of tuples (input-path and json-result)
30
+
data to json. This is using zxing-cpp and opencv internally. It returns a dict (origin/input-path and json-string)
31
31
of size x, while x is the amount of aztec-codes found on input. An image can contain always multiple barcodes,
32
-
the the return value is alway a mapping of origin to content.
32
+
the return value is alway a mapping of origin to json content.
33
+
* rotation_degree - Rotate image before processing for the given amount of degrees (default 0)
34
+
* scale_percent - Scale image before processing in percent (default 100)
35
+
* splitting_mode - Split image, 1st number specifies the no of parts to split, 2nd is the part used for processing, clockwise from top/left (default 11)
36
+
* flipping_mode - Flip image around X if 1, around Y if 2, and around X and Y if 3 (default 0)
0 commit comments