code: def depth_map(self):
      if self._depth is not None:
          return self._depth
      else:
          _depth = self.read_depth()
          _depth = np.array(
              Image.fromarray(_depth).resize(
                  self.tgt_size[::-1], self.sampling
              )
          )
          return _depth
  
imports: import os
  import abc
  import numpy
  import imageio
  import PIL
  from PIL import Image
label_desc: Use image node_id 2 for calling the ResizedCapturedDepth obj's underlying member method code with example usage: obj.depth_map() and returns: self, _depth