Git Product home page Git Product logo

easyar-miniprogram-webar-demo's Introduction

EasyAR-miniprogram-WebAR-Demo

##弃用之前的压缩文件方式;token请求方式图片base64编码采用小程序新出来的API,弃用之前的加载第三方插件的方式,且识别速度会加快

apiSecretType放置APISecret方法进行识别请求

tokenType放置token方法进行识别请求

easyar-miniprogram-webar-demo's People

Contributors

zi-kang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

easyar-miniprogram-webar-demo's Issues

识别速度慢

购买了套餐,也接入成功,但是识别速度很慢,对准目标大概要等好几秒。如何提高识别速度呢

使用token,上传图片编码出错

byte length of Uint32Array should be a multiple of 4;at api canvasGetImageData success callback function
RangeError: byte length of Uint32Array should be a multiple of 4

byte length of Uint32Array should be a multiple of 4;at api canvasGetImageData success callback function
RangeError: byte length of Uint32Array should be a multiple of 4
at typedArrayConstructByArrayBuffer ()
at new Uint32Array (native)
at Function.UPNG.encode.compress (weapp:///UPNG.js:680:23)
at Function.UPNG.encode.compressPNG (weapp:///UPNG.js:633:29)
at Object.UPNG.encode (weapp:///UPNG.js:540:30)
at success (weapp:///pages/recognition/recognition.js:62:40)
at Function.o.success ([publib]:1:364012)
at Object.success ([publib]:1:101839)
at g ([publib]:1:276432)
at Ue ([publib]:1:276618)

识别体验功能无法正常使用

下载后直接导入到微信开发者工具中,电脑安装摄像头,“直接体验”能正常使用,但是“识别体验”无论是扫描身份证背面还是扫描官网中的熊猫图片,都是提示“识别失败,请点击重试”。看了下statuscode返回的不是0。

000

识别图片

返回监听失败,错误信息为undefined的怎么回事

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.