def define_tflite_tensors(interpreter):
    """
    Define input and output tensors (i.e. data) for the object detection classifier
    """
    input_details = interpreter.get_input_details()
    output_details = interpreter.get_output_details()
    # Input tensor is the image
    image_tensor = input_details[0]['index']
    # Output tensors are the detection boxes, scores, and classes
    # Each box represents a part of the image where a particular object was detected
    detection_boxes = output_details[0]['index']
    # Each score represents level of confidence for each of the objects.
    # The score is shown on the result image, together with the class label.
    detection_classes = output_details[1]['index']
    detection_scores = output_details[2]['index']
    return image_tensor, [detection_boxes, detection_classes, detection_scores]