How can I capture an image using ARCore Camera with objects?
Asked Answered
L

1

6

I am creating an application using ARCore to display some images on blank surface. I want to capture image of that surface where object is display. I have put a capture button on AR camera screen.

Is it possible to capture that view with objects in ARCore camera?

Lobation answered 24/12, 2018 at 12:52 Comment(1)
check this gptshubham595.medium.com/…Dunning
N
3

If you simply need a screenshot of the ARCore view you can try using some Android functionality such as PixelCopy.request(view, bitmap, (copyResult)->{}) on the ArSceneView of the ARCore fragment.

Source: https://codelabs.developers.google.com/codelabs/sceneform-intro/index.html?index=..%2F..io2018#15

Noticeable answered 6/1, 2019 at 15:51 Comment(2)
what if not just a snapshot, how to capturing a high res image just like native camera app?Augmenter
This will also include the ARCore and/ or Sceneform nodes on it as wellOphicleide

© 2022 - 2024 — McMap. All rights reserved.