augmented-reality

Video Playback in Augmented Reality On Detecting Marker Using A Frames

孤人 提交于 2019-12-24 18:53:00
问题 I want to Play A video when the marker(HIRO) is detected using the webcam. When I remove it should be paused and when the marker is detected the video should play using A-Frame. I had written the code but it's not working. Can anyone help me? I tried all possible way but it's not working so, Can Anyone post the code or send an example. When you see the marker - play the video. Once you lose the marker - pause the video Eg : Video Augmentation AFRAME.registerComponent('vidhandler', { init:

Video with alpha for Processing

北战南征 提交于 2019-12-24 17:07:55
问题 I am researching how to play alpha videos in processing to make augmented reality. What is the format and encoding needed to render video files with alpha channel? When I do this in Unity I use a special shader and video format so can use luma cut, whereas in the same video you put the white and black in one side (or up) and the color in the other side (or down), then the shader makes "the magic" and leaves the color over to cutted image. Here is a link to previous post: Video with alpha

Keep node's X and Z axes parallel to ground while rotating Y axis to face camera

拈花ヽ惹草 提交于 2019-12-24 06:43:29
问题 I'm trying to keep an SCNNode always one meter away from the front of the camera, and manipulate the node so that the X and Z axes are always parallel to the ground, while the node rotates around the Y-axis so that the node is always facing the camera. The code below achieves my goal for the most part, but when turning more than 90˚ clockwise or counterclockwise, the node starts turning. How can I fix that? override func viewDidLoad() { super.viewDidLoad() boxParent.position = (sceneView

How to set Video Frame Capture Using Bitmap Data

六眼飞鱼酱① 提交于 2019-12-24 03:11:09
问题 I'm implementing an Augmented Reality application for android using Flash. In order to get the application working on my Android Phone (nexus One) the Phone Camera must be activated as well. So I need 2 layers one for the background which is the feed of my phone camera and an other one on top of it which is the view from away3d in this case. So setting up a BitmapData object to hold the information of the most recent webcam still-frame I can make this work. If I use papervision3D library and

Open source augmented reality framework for BlackBerry

微笑、不失礼 提交于 2019-12-24 00:50:03
问题 Anyone know any open source framework for augmented reality in BlackBerry or a good tutorials for creating an augmented reality application from scratch? 回答1: Here is an interface prototype for the free LayarPlayer for third party BlackBerry7 apps: https://gist.github.com/1219438. Not sure if Wikitude will have a lib or not. If you wanna roll your own AR lib (not recommended, unless you have tons of time and energy) OpenGL ES is platform independent, just use ComponentCanvas for overlaying it

Directional Light is affected by Camera's movement

独自空忆成欢 提交于 2019-12-24 00:42:39
问题 I want to achieve the shadows effect like in IKEA Place, where the shadow is stick with the virtual object. Here is my implementation. I added the direction light and shadow plane to the virtual object. When I moved the virtual object in the scene, shadow is not positioned right under the bottom of the virtual object. Here is my code: func setupShadows() { let flourPlane = SCNFloor() let groundPlane = SCNNode() let groundMaterial = SCNMaterial() groundMaterial.lightingModel = .constant

Drawing text as textures on squares does not show anything

本小妞迷上赌 提交于 2019-12-24 00:04:12
问题 I'm new to OpenGL and I'm developing an Augmented-reality application for Android. Until now, I was drawing white squares, perpendicular to the camera, pointing the user to the direction where a "Point of interest" would be. Now, I'm trying to show some text into the squares. I've read a lot and it seems that creating a texture with the text is the most direct and easiest approach, so I'm creating the textures as soon as I get data of the Points of interest and stick them to their squares.

Cannot Install ARCore on Android Emulator

假装没事ソ 提交于 2019-12-23 23:13:11
问题 I understand this question has been asked a few times, however the solutions for the other users have not resolved my issue. I am attempting to install ARCore on my Android Studio emulator. The Play Store says "Your device isn't compatible with this version," and when I click and drag the ARCore for emulator APK to manually install it on the emulator, it gives me the following message: "The APK failed to install. Error: Could not parse error string" The System Image I'm using: Oreo/ API

Why Update Function not working in UnityARHitTestExample of UnityARWorldMap Scene in Unity?

孤街浪徒 提交于 2019-12-23 22:13:04
问题 I am working on UnityARWorldMap to create persistance in unity.So I place the models in real world, save them and later load them.When I click Load() in WorldMapManager.cs the update function in UnityARhitTestExample stops updating.The WorldMapManager script is given below. public void Save() { //Saving the data into Application.persistentDataPath } public void Load() { //Loads the data from Application.persistentDataPath Debug.LogFormat("Loading ARWorldMap {0}", path); var worldMap =

why ARCore Supported device Limited?

…衆ロ難τιáo~ 提交于 2019-12-23 20:02:10
问题 what makes the ARCore supported device supports ARCore? Which Features Makes This Device Support ArCore? What is difference between ARCore Device And Other non Supported Device? 回答1: What happens is not about how new the mobile is, but if this mobile had some tests and mesures when it was design and build. What it means , you cellphone today need some hardware like: Accelerometer : measures acceleration, which is change in speed divided by time. Simply put, it’s the measure of change in