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
  • 49,178
  • 17
  • 136
  • 220
Keval Shukla
  • 437
  • 6
  • 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,568
  • 2
  • 19
  • 22
silidragos
  • 161
  • 8