code: def deleteFileWhichImg1IsEmpty(mot16Path, dataType="train"):
      path = mot16Path
      data_images_train = osp.join(path, "images", f"{dataType}")
      data_images_train_seqs = glob.glob(data_images_train + "/*")
      if len(data_images_train_seqs) == 0:
          print("dataset is empty!")
      for data_images_train_seq in data_images_train_seqs:
          data_images_train_seq_img1 = osp.join(
              data_images_train_seq, "img1"
          )
          if len(glob.glob(data_images_train_seq_img1 + "/*.jpg")) == 0:
              print(f"os.system(rm -rf {data_images_train_seq})")
              os.system(f"rm -rf {data_images_train_seq}")
  
file_path: PaddleDetection/configs/mot/pedestrian/tools/visdrone/visdrone2mot.py
imports: import glob
  import os
  import os.path
  import cv2
  import argparse
  import numpy
  import random
label_desc: Use image node_id 6 for calling a global function with example usage: deleteFileWhichImg1IsEmpty(mot16Path, dataType) without return types