code: def test_recognition_model_mobilenetv2(image_input):
      classifier = ImageClassification()
      classifier.setModelTypeAsMobileNetV2()
      classifier.setModelPath(
          os.path.join(
              test_folder, "data-models", "mobilenet_v2-b0353104.pth"
          )
      )
      classifier.loadModel()
      predictions, probabilities = classifier.classifyImage(
          image_input=image_input
      )
  
      assert isinstance(predictions, list)
      assert isinstance(probabilities, list)
      assert isinstance(predictions[0], str)
      assert isinstance(probabilities[0], float)
  
file_path: ImageAI/test/test_image_classification.py
imports: import os, sys
  import cv2
  from PIL import Image
  import pytest
  from os.path import dirname
  from imageai.Classification import ImageClassification
label_desc: Use image node_id 1 for calling a global function with example usage: test_recognition_model_mobilenetv2(image_input) without return types