code: def hashimage(image: Image) -> str:
      m = insecure_hashlib.md5(image.tobytes())
      return m.hexdigest()
  
file_path: transformers/tests/pipelines/test_pipelines_depth_estimation.py
imports: import unittest
  from huggingface_hub.utils import insecure_hashlib
  from transformers import MODEL_FOR_DEPTH_ESTIMATION_MAPPING, is_torch_available, is_vision_available
  from transformers.pipelines import DepthEstimationPipeline, pipeline
  from transformers.testing_utils import is_pipeline_test, nested_simplify, require_tf, require_timm, require_torch, require_vision, slow
  from .test_pipelines_common import ANY
label_desc: Use image node_id 1 for calling a global function with example usage: hashimage(image) and returns: m