code: def _check_image_height_and_width(imageData, imageHeight, imageWidth):
      img_arr = img_b64_to_arr(imageData)
      if imageHeight is not None and img_arr.shape[0] != imageHeight:
          logging.error(
              "imageHeight does not match with imageData or imagePath, "
              "so getting imageHeight from actual image."
          )
          imageHeight = img_arr.shape[0]
      if imageWidth is not None and img_arr.shape[1] != imageWidth:
          logging.error(
              "imageWidth does not match with imageData or imagePath, "
              "so getting imageWidth from actual image."
          )
          imageWidth = img_arr.shape[1]
      return imageHeight, imageWidth
  
imports: import argparse
  import collections
  import datetime
  import glob
  import json
  import os
  import os.path
  import sys
  import uuid
  import PIL
  import io
  import base64
  import logging
  import math
  import imgviz
  import numpy
label_desc: Use image node_id 4 for calling the LabelFile obj's underlying member method code with example usage: obj._check_image_height_and_width(imageData, imageHeight, imageWidth) and returns: imageHeight,  imageWidth