JSARToolKit | JavaScript port of FLARToolKit
kandi X-RAY | JSARToolKit Summary
kandi X-RAY | JSARToolKit Summary
This is a JavaScript port of FLARToolKit, operating on canvas images and video element contents. And hopefully one day on device elements with webcam input. The license is GPL 3 as was the original library. If you use it in your own scripts, you need to make the unminified unobfuscated source code of your script available and licensed under GPL 3. All the hard work was done by the ARToolKit/NyARToolKit/FLARToolKit people, a huge thank you to them. This port was quite mechanical, though it has some major JS optimizations and a tracking robustness hack or two. And some uninformed bogus hacks in FLARParam to sort-of make it work on 16:9 video. See demos/AR_simple_webgl.html for an example of integrating JSARToolKit output with a WebGL program. I've only tested the ID markers and square detection paths, so you may encounter problems working with custom markers. In which case, filing a bug report on GitHub would be very much appreciated. This work is based on the original ARToolKit developed by Hirokazu Kato Mark Billinghurst HITLab, University of Washington, Seattle And the NyARToolkitAS3 ARToolKit class library. Copyright (C)2010 Ryo Iizuka. The FLARToolKit is ActionScript 3.0 version ARToolkit class library. Copyright (C)2008 Saqoosha. JSARToolkit is a JavaScript port of NyARToolkitAS3 and FLARToolKit. Copyright (C)2011 Ilmari Heikkinen.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of JSARToolKit
JSARToolKit Key Features
JSARToolKit Examples and Code Snippets
Community Discussions
Trending Discussions on JSARToolKit
QUESTION
I am building a project similar to this example with jsartoolkit5
, and I would like to be able to select the back camera of my device instead of letting Chrome
on Android
select the front one as default.
According to the example in this demo, I have added the code below to switch camera automatically if the device has a back camera.
...ANSWER
Answered 2017-Jan-29 at 08:25You are mixing old and new getUserMedia syntax.
navigator.getUserMedia
is deprecated, and navigator.mediaDevices.getUserMedia
should be preferred.
Also, I think that optional
is not part of the constraints dictionary anymore.
This part is almost a duplicate of this answer : https://stackoverflow.com/a/32364912/3702797
You should be able to call directly
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install JSARToolKit
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page