Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#!/usr/bin/python3 # Dependencies # sudo apt install python3-zxing-cpp python3-opencv import zxingcpp import cv2 def decode_pdf417(image_path): img = cv2.imread(image_path) barcodes = zxingcpp.read_barcodes(img) for barcode in barcodes: if barcode.format == zxingcpp.BarcodeFormat.PDF417: print("Found PDF417 barcode:") print("Text:", barcode.text) print("Position:", barcode.position) if __name__ == "__main__": decode_pdf417("/tmp/odf417.jpeg")
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)