Ask Your Question

Augmented Reality on Google Cardboard

asked 2017-12-08 00:19:17 -0500

kimchiboy03 gravatar image

Hello, I am currently trying to make google cardboard do augmented reality. However, I will have to make the image displayed on the screen like the following:

Is it possible to use the OpenCV functions to duplicate two images like the image above? Sorry, if my questions isn't clear (tell me if it is unclear, I will edit my question).

Thanks in advance.

edit retag flag offensive close merge delete


I am quite unsure if there is any computer vision functionality you are asking for in your question?

StevenPuttemans gravatar imageStevenPuttemans ( 2017-12-08 04:09:16 -0500 )edit

@StevenPuttemans So basically I am trying to duplicate an image which is placed side by side (like the image in the link provided in the question).

kimchiboy03 gravatar imagekimchiboy03 ( 2017-12-08 16:45:48 -0500 )edit

Mat img2 = img1.clone(); is duplicating the exact image. However, for a cardboard, its not an exact duplicate but two images that have a correspondence based on the baseline, so that our eyes creates 3D from that ... your idea is broken i guess

StevenPuttemans gravatar imageStevenPuttemans ( 2017-12-09 05:51:54 -0500 )edit

@StevenPuttemans Oh... That's sad.... Thanks for your reply though!

kimchiboy03 gravatar imagekimchiboy03 ( 2017-12-09 21:34:37 -0500 )edit

But I am quite convinced there should be other software out there that is able to do what you need? Like a stereo camera setup to mimic the glasses?

StevenPuttemans gravatar imageStevenPuttemans ( 2017-12-10 02:28:17 -0500 )edit

@StevenPuttemans I'm actually thinking about using OpenGL with OpenCV as someone did in this video:

kimchiboy03 gravatar imagekimchiboy03 ( 2017-12-10 19:03:04 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-12-10 19:53:13 -0500

kimchiboy03 gravatar image

Nevermind, this answer solved my problem!

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-12-08 00:19:17 -0500

Seen: 267 times

Last updated: Dec 08 '17