code: def test_analyze_for_preloaded_image():
      img = cv2.imread("dataset/img1.jpg")
      resp_objs = DeepFace.analyze(img, silent=True)
      for resp_obj in resp_objs:
          logger.debug(resp_obj)
          assert resp_obj["age"] > 20 and resp_obj["age"] < 40
          assert resp_obj["dominant_gender"] == "Woman"
  
      logger.info("✅ test analyze for pre-loaded image done")
  
file_path: deepface/tests/test_analyze.py
imports: import cv2
  from deepface import DeepFace
  from deepface.commons.logger import Logger
label_desc: Use image node_id 5 for calling a global function with example usage: test_analyze_for_preloaded_image() without return types