code: def test_predict_points_from_dir(self):
      fa = face_alignment.FaceAlignment(
          face_alignment.LandmarksType.THREE_D, device="cpu"
      )
  
      reference_data = {
          "test/assets/grass.jpg": None,
          "test/assets/aflw-test.jpg": self.reference_data,
      }
  
      preds = fa.get_landmarks_from_directory("test/assets/")
  
      for k, points in preds.items():
          if isinstance(points, list):
              for p, p_reference in zip(points, reference_data[k]):
                  self.assertTrue(np.allclose(p, p_reference))
          else:
              self.assertEqual(points, reference_data[k])
  
file_path: face-alignment/test/facealignment_test.py
imports: import unittest
  import numpy
  import face_alignment
  import sys
  import torch
  from face_alignment.utils import get_image
label_desc: Use image node_id 4 for calling the Tester obj's underlying member method code with example usage: obj.test_predict_points_from_dir() without return types