class_docstr: Data loader for videos.
class_docstr_tok: ["Data","loader","for","videos","."]
code: def load_points(self, shuffle=False):
      with (self.data_dir / "points.npy").open("rb") as f:
          points = np.load(f)
      points = (points - self.scene_center) * self.scene_scale
      points = points.astype(np.float32)
      if shuffle:
          logging.info("Shuffling points.")
          shuffled_inds = self.rng.permutation(len(points))
          points = points[shuffled_inds]
      logging.info("Loaded %d points.", len(points))
      return points
  
imports: import json
  from typing import List, Tuple
  from absl import logging
  import cv2
  import numpy
  from nerfies import gpath
  from nerfies import types
  from nerfies import utils
  from nerfies.datasets import core
label_desc: Use image node_id 10 for calling the NerfiesDataSource obj's underlying member method code with example usage: obj.load_points(shuffle) and returns: points