code: def test_pipeline():
      pipeline = keras_ocr.pipeline.Pipeline()
  
      # We shouldn't find any text in a blank image.
      assert (
          len(
              pipeline.recognize(
                  images=[np.zeros((256, 256, 3), dtype="uint8")]
              )[0]
          )
          == 0
      )
  
      image = keras_ocr.tools.read("tests/test_image.jpg")
  
      # Predictions is a list of (text, box) tuples.
      predictions = pipeline.recognize(images=[image])[0]
  
      assert len(predictions) == 1
      assert predictions[0][0] == "eventdock"
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_pipeline() without return types