WEB上AR用軽量ライブラリ
- Marker-Base AR
- Location Base AR
の機能を持っている。
-
Web-base機能
- three.js + jsartoolkit5 を使っている。
-
WebGL , WebRTCを使っている。
-
- A-FrameはVR構築用フレームワーク
- コア機能はentiy-component frameworkである。
- declarative , extensibleなもの
https://ponta027.github.io/html_sandbox/ar_js/ar_sample.html
https://jeromeetienne.github.io/AR.js/three.js/examples/marker-training/examples/generator.html
でMarkerを作成する。
<a-scene embedded arjs>
<a-marker preset="hiro">
<a-box position='0 0.5 0' material='color: yellow;'></a-box>
</a-marker>
<a-entity camera></a-entity>
<a-marker type='pattern' url='./marker/pattern-marker.patt'>
<a-sphere scale=".25 .25 .25" position="0 .5 0" color="#f00">
<a-animation attribute="position" to="0 1 0" direction="alternate" dur="2000" repeat="indefinite">
</a-animation>
</a-sphere>
</a-marker>
</a-scene>
https://ponta027.github.io/html_sandbox/qrcode/index.html
Sample Code
https://ponta027.github.io/html_sandbox/face-api/webcamFaceDetection.html
QR code Readerのサンプルでvideoの上にQRの枠を表示するようにした。 https://ponta027.github.io/html_sandbox/webrtc/index.html
tesseract.jsを使ったOCRアプリサンプル。
https://ponta027.github.io/html_sandbox/ocr
オープンデータを使ったグラフ作成サンプル。
https://ponta027.github.io/html_sandbox/opendata/index.html
以上