code: def genSeqInfo(img1Path, seqName):
      imgPaths = glob.glob(img1Path + "/*.jpg")
      seqLength = len(imgPaths)
      if seqLength > 0:
          image1 = cv2.imread(imgPaths[0])
          imgHeight = image1.shape[0]
          imgWidth = image1.shape[1]
      else:
          imgHeight = 0
          imgWidth = 0
      seqInfoStr = f"""[Sequence]\nname={seqName}\nimDir=img1\nframeRate=30\nseqLength={seqLength}\nimWidth={imgWidth}\nimHeight={imgHeight}\nimExt=.jpg"""
      seqInfoPath = img1Path.replace("/img1", "")
      with open(seqInfoPath + "/seqinfo.ini", "w") as seqFile:
          seqFile.write(seqInfoStr)
  
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 3 for calling a global function with example usage: genSeqInfo(img1Path, seqName) without return types