code: def test_should_run_ocr_on_cropped_data(self):
      create_function_query = """CREATE FUNCTION IF NOT EXISTS OCRExtractor
                    INPUT  (text NDARRAY STR(100))
                    OUTPUT (labels NDARRAY STR(10),
                            bboxes NDARRAY FLOAT32(ANYDIM, 4),
                            scores NDARRAY FLOAT32(ANYDIM))
                    TYPE  OCRExtraction
                    IMPL  'evadb/functions/ocr_extractor.py';
          """
      execute_query_fetch_all(self.evadb, create_function_query)
  
      select_query = """SELECT OCRExtractor(Crop(data, [2, 2, 24, 24])) FROM MNIST
                          WHERE id >= 150 AND id < 155;"""
      actual_batch = execute_query_fetch_all(self.evadb, select_query)
      self.assertEqual(len(actual_batch), 5)
  
      # non-trivial test case for MNIST
      res = actual_batch.frames
      self.assertTrue(res["ocrextractor.labels"][0][0] == "4")
      self.assertTrue(res["ocrextractor.scores"][2][0] > 0.9)
  
imports: import os
  import unittest
  from test.markers import gpu_skip_marker, ocr_skip_marker, ray_skip_marker, windows_skip_marker
  from test.util import create_sample_video, file_remove, get_evadb_for_testing, load_functions_for_testing, shutdown_ray
  import numpy
  import pandas.testing
  import pytest
  from evadb.configuration.constants import EvaDB_ROOT_DIR
  from evadb.executor.executor_utils import ExecutorError
  from evadb.functions.function_bootstrap_queries import Asl_function_query, Mvit_function_query
  from evadb.models.storage.batch import Batch
  from evadb.server.command_handler import execute_query_fetch_all
  from evadb.utils.generic_utils import try_to_import_cv2
label_desc: Use image node_id 16 for calling the PytorchTest obj's underlying member method code with example usage: obj.test_should_run_ocr_on_cropped_data() without return types