artoolkit

【AR实验室】ARToolKit之概述篇

旧街凉风 提交于 2020-01-11 08:59:00
0x00 - 前言 我从去年就开始对AR(Augmented Reality)技术比较关注,但是去年AR行业一直处于偶尔发声的状态,丝毫没有其"异姓同名"的兄弟VR(Virtual Reality)火爆。至于MR(Mixed Reality)更像是Google Glass事情之后对AR的洗白。但是今年AR行业出了件大事,没错,别左右看了,说的就是你 —— Pokemon GO。暂且不讨论这款游戏是不是AR游戏,毕竟争议挺大,但是这款游戏着实是让AR火了一把。AR应用开发貌似也有了燎原之势。 0x01 - AR技术定义 目前对AR技术的常见理解就是CV(Computer Vision)+CG(Computer Graphic)。CV的方法很多,简单些比如FREAK+ICP(ARToolKit中的NFT),复杂些就是SLAM(Magic Leap)。CG就没什么好说的,利用CV算法获取到的图形相关信息(比如CG中的模型矩阵、视图矩阵、投影矩阵)进行绘制。从这一点上来说Pokemon GO确实不能算作AR游戏,毕竟人家只是基于LBS的。 知乎上有一个话题 - 我想给大家说下AR的昨天今天明天可以吗?欢迎一起讨论 关于未来的AR形态? 里面提到了AR两种被广泛接受的定义: 1. 一种是Paul Milgram和Fumio Kishino于1994年定义的“现实-虚拟连续体”

Marker not working properly in ARtoolkit in Unity

南楼画角 提交于 2020-01-07 02:55:26
问题 I am working on a simple AR project using Unity and ARToolkit. For testing purposes, I have created a test project to track the image and create a simple 3d sphere and it is working perfectly when I play it from inside the Unity editor. The problem is that when I create the build .exe of the project, the application does not augment the 3D model of the marker when I put the marker in front of Camera (it should work as it is working when playing from inside the editor). It is also showing two

Gradle DSL cannot find sources()

冷暖自知 提交于 2020-01-06 08:18:11
问题 I'm quite new to AR and I'm using Android Studio 2.1.2 and I tried to run the examples provided by ARToolKit. the error says: Gradle DSL method not found: 'sources()' I'm using Gradle 2.13 , below is the code apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersion "23.0.3" defaultConfig.with { applicationId "org.artoolkit.ar.samples.ARSimple" minSdkVersion 15 targetSdkVersion 22 versionCode 1 //Integer type incremented by 1 for every release, major or minor,

How to import assimp to my my Xcode project?

ぐ巨炮叔叔 提交于 2019-12-25 08:08:42
问题 I have downloaded assimp source code. How to import assimp to Xcode project - ARToolKit5 downloaded from ARToolkit official website? I am trying to load external models - made by blender,maya,3dmax - to this project. (ps: I am a beginner of Xcode, so please explain it in detail. ) Thank you! :) 回答1: I know it's late, but it might benefit someone else. Here are the steps : Download and extract the source code from(for version 3.3.1) https://github.com/assimp/assimp/archive/v3.3.1.zip Download

Rendering a model basic on JPCT-AE with ARToolkit in Android

不问归期 提交于 2019-12-24 14:13:01
问题 i want to render model via JPCT-AE and use the ARToolkit to realizing AR Application. so , i inject the code as below into the ARToolkit Project: Matrix projMatrix = new Matrix(); projMatrix.setDump(ARNativeActivity.getProjectM()); projMatrix.transformToGL(); SimpleVector translation = projMatrix.getTranslation(); SimpleVector dir = projMatrix.getZAxis(); SimpleVector up = projMatrix.getYAxis(); cameraController.setPosition(translation); cameraController.setOrientation(dir, up); Matrix

Adding ARToolkit Marker tracking into Tango

时光毁灭记忆、已成空白 提交于 2019-12-23 04:18:07
问题 I have been trying to integrate ARToolkit Marker Object tracking into a Tango Application . So far I have created a build so that a tango app can access and use the ARToolkit Native Library or the ARToolkit Unity wrappers. However, they both seem to require exclusive access to the camera in their default configurations. How could you feed the same Android video feed to both libraries? Could you create a dummy camera device which doubles out the feed? Could you take the tango feed as normal,

Accurately measuring relative distance between a set of fiducials (Augmented reality application)

霸气de小男生 提交于 2019-12-22 05:14:27
问题 Let's say I have a set of 5 markers. I am trying to find the relative distances between each marker using an augmented reality framework such as ARToolkit. In my camera feed thee first 20 frames show me the first 2 markers only so I can work out the transformation between the 2 markers. The second 20 frames show me the 2nd and 3rd markers only and so on. The last 20 frames show me the 5th and 1st markers. I want to build up a 3D map of the marker positions of all 5 markers. My question is,

Compiling artoolkitx-calibration for iOS: C-linkage specified, but returns user-defined type 'cv::Size' which is incompatible with C

こ雲淡風輕ζ 提交于 2019-12-13 02:41:23
问题 I'd like to run the ARToolKitX Calibration app on iOS. Unfortunately, the app isn't available in the App Store, so I assume I'd have to compile it myself. Luckily, I have an active Apple Developer account... So I got the source code from GitHub: git clone https://github.com/artoolkitx/artoolkitx-calibration cd artoolkitx-calibration Then I downloaded the ARToolKitX iOS library from https://github.com/artoolkitx/artoolkitx/releases/download and I followed the steps in the iOS section of the

OnMarkerFound event not getting called - Unity3D ARToolKit

空扰寡人 提交于 2019-12-12 02:56:21
问题 I am trying to get some custom behaviour implemented using ARToolKit SDK on Unity3D. According to the documentation here, the ARCamera uses the BroadcastMessage system to call OnMarkerFound(ARMarker marker) and OnMarkerLost(ARMarker marker) to notify when a marker is found or lost. However, I cannot get these functions to fire at all. I have gone through the entire source code, added debug watches, the works... But these two events are not firing. My script looks like this: using UnityEngine;

Need web-based AR solutions for Plane detection

大城市里の小女人 提交于 2019-12-11 18:01:32
问题 I am searching for solutions for web-based solutions for AR using marker-less detection i.e using plane detection or object detection. Tried using a-frame framework and three.js but they are only marker-based detection technique to render 3d object. 回答1: I’ve been searching for the same and found 8th Wall https://8thwall.com It works well, and have a few different pricing tiers including a free one. 来源: https://stackoverflow.com/questions/54306700/need-web-based-ar-solutions-for-plane