Coder Social home page Coder Social logo

paddleocr-bm1684demo's Introduction

PaddleOCR-BM1684Demo

这个是在比特大陆BM1684系列AI硬件上支持PaddleOCR的demo,可以支持x86(SC5)和arm(SE5/SM5)两类设备。

编译

  • 编译x86执行 sh tools/build_x86.sh

  • 编译arm执行 sh tools/build_arm.sh

编译前,需要在对应脚本中设置两个路径。

a) BM_DIR设置为比特大陆的bmnnsdk2的目录

b) 设置LIB_DIR

paddle的模型在x86上推理是padddle_inference实现,编译padddle_inference请参考(https://www.paddlepaddle.org.cn/documentation/docs/zh/guides/05_inference_deployment/inference/build_and_install_lib_cn.html#congyuanmabianyi)。

在arm上,paddle模型的推理是基于Paddle-Lite来实现。我们提供了编译好的PaddleLite预测库(链接:https://pan.baidu.com/s/1dyy7VA3sdGLD7VZ3qJZclg 提取码:1234)

1941616380438_ pic_hd

运行

sh tools/run.sh

可以看到运行结果

1821615381682_ pic_hd ocr_vis

paddleocr-bm1684demo's People

Contributors

anbaolei1984 avatar khantiinnaraka avatar sophonsilk avatar gt-acerzhang avatar

Stargazers

Sean avatar 三岁 avatar  avatar  avatar  avatar  avatar  avatar  avatar cuicheng01 avatar  avatar  avatar WinSun avatar  avatar livingbody avatar GT-Zhang avatar loosun avatar  avatar  avatar  avatar  avatar  avatar Alan Guo avatar felix_du avatar  avatar

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.