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?

Andy Jazz
  • 36,357
  • 13
  • 107
  • 175
Keval Shukla
  • 417
  • 5
  • 18

1 Answers1

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

Harsha
  • 1,220
  • 1
  • 18
  • 21
silidragos
  • 161
  • 7