Giter Site home page Giter Site logo

kazuhito00 / opencv-qrcodedetector-sample Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 1.0 913 KB

OpenCVでのQRコード検出サンプルプログラム。QRCodeDetector(detectAndDecode, detectAndDecodeMulti, detectAndDecodeCurved)とWeChatQRCode(detectAndDecode)の4サンプルを実装しています。

License: Apache License 2.0

Python 100.00%
opencv python qrcode detector wechatqrcode

opencv-qrcodedetector-sample's Introduction

OpenCV-QRCodeDetector-Sample

OpenCVでのQRコード検出サンプルプログラムです。

2021年9月25日現在サポートされている以下の機能を実装しています。

  • QRCodeDetector:detectAndDecode
  • QRCodeDetector:detectAndDecodeMulti
  • QRCodeDetector:detectAndDecodeCurved
  • WeChatQRCode:detectAndDecode
    検出モデルと超解像モデルは[WeChatCV/opencv_3rdparty]のモデルを使用しています
    • "model/detect.prototxt"
    • "model/detect.caffemodel"
    • "model/sr.prototxt"
    • "model/sr.caffemodel"

Requirement

  • opencv-python 4.5.3.56 or later

Demo

デモの実行方法は以下です。

python sample_QRCodeDetector_detectAndDecode.py
python sample_QRCodeDetector_detectAndDecodeMulti.py
python sample_QRCodeDetector_detectAndDecodeCurved.py
python sample_WeChatQRCode_detectAndDecode.py
  • --device
    カメラデバイス番号の指定
    デフォルト:0
  • --width
    カメラキャプチャ時の横幅
    デフォルト:960
  • --height
    カメラキャプチャ時の縦幅
    デフォルト:540

Reference

Author

高橋かずひと(https://twitter.com/KzhtTkhs)

License

AprilTag-Detection-Python-Sample is under Apache v2 License.

opencv-qrcodedetector-sample's People

Contributors

kazuhito00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zogvm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.