augmented-reality

Android - show processed camera preview

一曲冷凌霜 提交于 2019-12-06 04:57:30
i´m trying to create some kind of AR (Augmented Reality), but i don´t know how exactly can I get preview from phone camera frame by frame , process each frame as a bitmap and than show it in my SurfaceView . My starting point is CameraPreview SDK example. Can anybody tell me, how to: 1) get frame/bitmap from camera (i guess, i´ll need to decode picture from YUV to RGB like here: Converting preview frame to bitmap ) 2) show bitmap (after processing) in a SurfaceView Komi Finally, i found what i was looking for in this post: Image processing with android camera I would suggest you download this

Compare device 3D orientation with the sun position

ε祈祈猫儿з 提交于 2019-12-06 04:04:11
问题 I am working on an app that requires the user to aim his iPhone to the sun in order to trigger a special event. I can retrieve the device 3D orientation quaternion based on the gyroscope and CoreMotion framework, from this I can get the yaw, roll and pitch angles. I can also compute the sun's azimuth and zenith angle based on the current date and time (GMT) and the latitude and longitude. What I am trying to figure out next is how to compare these two sets of values (phone orientation and sun

Occlusion in AR

三世轮回 提交于 2019-12-06 01:21:30
I'm trying make virtual objects be hidden when a real world object is positioned in front of it, but not having any luck with it, i've been playing with the occlusion settings in unity but the virtual objects do not become hidden? You could fix this problem by building your augmented reality scene with the experimental meshing enabled. Here is an example of the concept https://www.youtube.com/watch?v=sn3bhnPlfcw You then could ray cast from camera to the virtual object and turn off the object if a mesh blocks the raycast. +1 on AndrewNakas's solution. Another solution is to do the screen space

Using Google Vision API with ARCore in Android

自作多情 提交于 2019-12-05 23:41:37
I'm looking to build an app that detects certain objects and then overlays something using ARCore. Is it possible to use Google's Vision API for real-time detection of objects? If not, is there another library that I could use that has object detection, landmark detection, and/or OCR? 来源: https://stackoverflow.com/questions/56031856/using-google-vision-api-with-arcore-in-android

How to transform a 3D model for Augmented Reality application using OpenCV Viz and ARUCO

我的梦境 提交于 2019-12-05 19:03:47
I'm developing a simple marker based augmented reality application with OpenCV Viz and ARUCO . I just want to visualize a 3D object (in PLY format) on a marker. I can run marker detection and pose estimation (returning rotation and translation vectors) with ARUCO without a problem. And I can visualize any 3D object (PLY format) and camera frames in Viz window. However, I stuck in using rotation and translation vector outputs from ARUCO to localize 3D model on the marker. I'm creating an affine transformation with rotation and translation vectors and applying it to 3D model. Is it correct? How

How do you create an off-center PerspectiveCamera in WPF?

喜欢而已 提交于 2019-12-05 17:33:45
I'm trying to more or less recreate Johnny Lee's Wii head tracking app , but using an augmented reality toolkit for the tracking, and WPF for graphics. To do this, I need to create a perspective camera using the top, bottom, right, and left parameters to create my viewing frustum, instead of field of view and aspect ratio (to those familiar with OpenGL, I want to use the WPF equivalent of glFrustum instead of gluPerspective) The problem is, those options don't seem to be available on WPF's PerspectiveCamera class. I could probably create the projection matrix manually if I had to and use

Augmented Reality in Hybrid mobile application

心不动则不痛 提交于 2019-12-05 14:55:22
I am creating a hybrid mobile application using jQueryMobile and phonegap. Now I need to implement the augmented reality in camera view to the application. I got wikitude for this purpose. Can I do the functionality mentioned in the following link using hybrid mobile application? http://www.wikitude.com/showcases/active-website-augments-real-estate/ I got some sample application here https://github.com/Wikitude/wikitude-phonegap/tree/master/Android But I am confused whether I can use this for hybrid mobile application (only html, js and css files), since these samples include WikitudePlugin

Creating Augmented Reality Application for blackberry10

余生长醉 提交于 2019-12-05 09:44:57
I'm a BlackBerry native applications developer. I'm new in BB10 apps development. I'm supposed to create an Augmented Reality based application in BB10. I've no idea whether there's any third party library available for blackberry10 or not. I have googled this thing. Have come to know that Wikitude has provided wikitide-SDK for Android and iOS; using it, android and iPhone developers can develop AR (Augmented Reality) Apps very easily. News says that Wikitude will release SDK for BlackBerry later this year. Do anyone know the exact release date of Wikitide-SDK for BB10 (blackberry) ? Do anyone

Android video stream capture for AR

自闭症网瘾萝莉.ら 提交于 2019-12-05 06:04:06
问题 I would like to be able to capture the video from an android phone camera, and then process this video. Processing involves adding a layer of AR to the live stream. Is this possible on android? Pretty sure it should be. I have looked at the android site [http://developer.android.com/guide/topics/media/index.html] but this seems to be concerned with video capture and storage. I would like to be able to play with the video pre-storage. Thanks, 回答1: Depending on how real-time you want the data

Starting a augmented reality (AR) app like Panasonic VIERA AR Setup Simulator

ε祈祈猫儿з 提交于 2019-12-05 04:43:31
问题 Im looking to create an iOS app similar to Panasonic VIERA AR Setup Simulator but with other products. I was trying to figure conceptually how to do this, and where would be a good place to start. any ideas or suggestions would be greatly appreciated. Panasonic VIERA AR Setup Simulator http://itunes.apple.com/us/app/panasonic-viera-ar-setup-simulator/id405903358?mt=8 回答1: AR apps like the one you pointed to tend to require you to print things out. They tend to use the Qualcomm AR SDK, which