该示例基于THREEAR库,并针对小程序运行环境,对基础库jsARToolkit进行了重新编译和修改。
- 通过修改jsartoolkit的相机标定(camera calibration)文件,可以实现不同比例源识别。
- 该示例目前只在安卓环境下测试过,ios小程序存在卡顿或无法识别的现象。
微信小程序AR测试
你好,想问下这里缺失的文件是在哪里?
作者能透露下是如何解决jsartoolkit中的new Function 和eval的吗?如何修改ThreeAR呢?
请问下, demo效果是Android手机上的吗? 我用iphone测试 canvas一直黑色不透明, . 有没有好的解决方案呢
我的设备是iPhoneXR 微信版本7.0.12 扫码调试APP闪退,真机调试模式可以启动项目,没有黑屏,但是扫描不能识别图案。
有没有考虑过奖opencv.js 折腾进去小程序,用opencv.js感觉可以做的事情更多。
代码没有改动,直接在真机上测试,识别不了图片,无法显示 AR
识别图片链接:https://github.com/JamesLMilner/THREEAR/blob/master/data/hiro.jpg
THREE.WebGLRenderer: WEBGL_depth_texture extension not supported;
THREE.WebGLRenderer: OES_depth_float extension not supported;
THREE.WebGLRenderer: EXT_blend_minmax extension not supported
我想问下识别图是哪个?识别图是如何加载的?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.