Git Product home page Git Product logo

ga.lpr's Introduction

中文车牌识别服务

  1. 公有云API识别调用的不便:

    1. 需要配置一整套 API 验证等工作
    2. 用户需要额外花费
    3. 图片位置会涉及多一次的传输(除非图片和 API 都在某个公有云 API 账号下)
  2. 本地优势:快速识别

  3. 集成服务的优势:

    1. 优先使用本地识别
    2. 识别失败可以调用备用的公有云 API 进行识别(可选)

使用说明

启动服务:

docker run -it --rm -e CORS="true" -p 3000:3000 ooclab/ga.npr:v0.0.1

调用接口测试:

curl -X POST \
  http://127.0.0.1:3000/lpr \
  -H 'Content-Type: application/json' \
  -d '{
"url": "https://ss3.bdstatic.com/70cFv8Sh_Q1YnxGkpoWK1HF6hhy/it/u=2050338583,3464354364&fm=26&gp=0.jpg"
}'

返回示例:

{
    "status": "success",
    "data": {
        "lp": "黑L53710",
        "precision": 0.9421328561646598,
        "pos": [
            356,
            20,
            566,
            78
        ]
    }
}

接口文档:http://apidoc.ooclab.com/?url=http://127.0.0.1:3000

参考

当前车牌识别功能使用 HyperLPR

ga.lpr's People

Contributors

gwind avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zhanglei

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.