code: def __init__(self, object_detection_handle: DeploymentHandle):
      self.handle = object_detection_handle.options(
          use_new_handle_api=True
      )
  
file_path: ray/doc/source/serve/doc_code/object_detection.py
imports: import torch
  from PIL import Image
  import numpy
  from io import BytesIO
  from fastapi.responses import Response
  from fastapi import FastAPI
  from ray import serve
  from ray.serve.handle import DeploymentHandle
label_desc: Use image node_id 1 to create a new APIIngress object  with example: obj = APIIngress(object_detection_handle)