Giter Club home page Giter Club logo

easyar-webar-demo's Introduction

EasyAR WebAR 简介

WebAR,由全球领先的AR开放平台和AR技术领导者视+AR针对Web平台(如微信、Safari浏览器)开发的全新AR产品。 WebAR由Web前端和EasyAR云服务组成,支持平面图片识别、云识别、3D渲染、复杂互动等功能。 WebAR具有模式轻、部署快、传播性强等特点。

EasyAR 官网地址: https://www.easyar.cn https://www.easyar.com

技术支持:[email protected]

QQ群:463096767, 543115898,756218026

EasyAR WebAR 集成运行包

一、功能说明

为方便开发者快速搭建开发环境,EasyAR推出集成运行包,零配置即可运行。

二、文件及目录说明

1. EasyAR-WebAR_linux:linux系统程序

2. EasyAR-WebAR_darwin:Mac OS系统程序

3. EasyAR-WebAR_windows.exe:windows系统程序

4. config/application.txt程序配置(JSON格式)

* 4.1 port:程序监听端口
* 4.2 key:EasyAR 云识别 Cloud Key
* 4.3 secret:EasyAR 云识别 Cloud Secret
* 4.4 url:EasyAR 云识别 Client-end URL

5. html:HTML、JS等文件目录

三、开发使用

1. 修改config/application.txt,将你的云识别app、secret及url填入。

2. 运行EasyAR-WebAR程序,如启动成功,会显示监听的端口号。

* 2.1 linux系统:
    ./EasyAR-WebAR_linux
* 2.2 Mac OS系统:
    ./EasyAR-WebAR_darwin
* 2.3 windows系统:
鼠标双击或在cmd中运行:EasyAR-WebAR_windows.exe

3. 在浏览器(需要摄像头)中输入http://<你的ip>:<端口>/html/<Demo目录>,

如:http://127.0.0.1:3000/SimpleThreeJsExample
本地调试环境(ip+端口),建议使用火狐浏览器。

4. 如果一切顺利,第一个Demo将会呈现在你的浏览器中。

5. 如果集成包不能运行,请参考后端程序配置运行环境。

四、集成到生产环境

域名必须支持HTTPS协议:

1. 与nginx集成

在nginx配置文件中的server中,添加以下内容:

location / {
    index  index.html;
    proxy_pass   http://127.0.0.1:3000/;
}     

五、祝一切顺利

easyar-webar-demo's People

Contributors

gentwolf avatar

Watchers

James Cloos 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.