Segmentation Template (What is _videoFeed?)

Include the following details (edit as applicable):

  • Issue category: Semantic Segmentation
  • Device type & OS version: Android / iOS
  • Host machine & OS version: Mac Big Sur
  • Issue Environment : Unity Mock
  • Xcode version: Latest
  • ARDK version: Latest
  • Unity version: 2020.3 LTS

Description of the issue:

I am exploring the Segmentation Manager Templates. I see there is a variable ARVideoFeed _videoFeed; however we are only setting it in OnSessionInitialized.

I tried to look up the information in the docs, but it basically says “AR background video feed. It is designed to set up continuous rendering to an offscreen texture.”

Can someone help explain this variable and how it could be used since it is not currently being used in this Segmentation Template?

Hi Jamie,

The information you found is correct. It can also be used to grab frames from the background camera feed when working on shaders. I hope this helps.