stromecek555
Posts: 1
Joined: Fri Apr 02, 2021 10:01 am

How can I do AR?

Tue Sep 14, 2021 12:23 pm

Hi, I want to ask how can I create a 3D model using a Raspberry Pi and a camera and display that will see something like augmented reality on the display ? I will see a 3d object on the display using the camera.

dbrion06
Posts: 644
Joined: Tue May 28, 2019 11:57 am

Re: How can I do AR?

Tue Sep 14, 2021 5:32 pm

[*]How many cameras are in your RPi?
[*]Did you google search for "opencv augmented reality"
[*]A google search for "opencv debian" led me to the conclusion (but it has been on my RPis since 4 yeas at least) that OCV is RPI packaged. One of the tons of links google brought me was https://tecnstuff.net/how-to-install-op ... debian-10/
(BTW: there are other computer vision which can cope with augmented reality. opencv is very simple to install, dlib is more complicated...)

User avatar
Gavinmc42
Posts: 6059
Joined: Wed Aug 28, 2013 3:31 am

Re: How can I do AR?

Wed Sep 15, 2021 5:14 am

Did they have a PI based reference version?
https://www.khronos.org/OpenXR/

Or was that for vision?
https://www.khronos.org/openvx/
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

RedMarsBlueMoon
Posts: 278
Joined: Mon Apr 06, 2020 3:49 am

Re: How can I do AR?

Wed Sep 15, 2021 5:50 am

Iv'e just started looking at Panda3D for a VR'ish project.
Maybe OpenXR runtimes/drivers could work? I see Oculus has something for the Quest which I believe is running on Snapdragon?
Is that close to RPi ARM?

Or is OP more interested in tablet/screen passthrough style AR maybe?

BTW this is a really cool project I found when I tried to find SLAM code that could run on the Raspberry GPU.
https://github.com/alemart/speedy-vision-js
https://alemart.github.io/speedy-vision ... tures.html

User avatar
Gavinmc42
Posts: 6059
Joined: Wed Aug 28, 2013 3:31 am

Re: How can I do AR?

Wed Sep 15, 2021 6:51 am

There is some AR/VR stuff showing up in VulkanSceneGraph
https://vsg-dev.github.io/VulkanSceneGraph/
It will mostly compile in 32 and 64Bit Raspberry Pi OS with some tweaking.
Vulkan is a bit faster than OpenGL even on Pi's.

But I am waiting for the Pi VK drivers to be 1.1 compliant and stop vanishing with every update/upgrade.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “Other projects”