code: def estim(c, idx, imgs_spacing, imgs_rows):
      spacing = imgs_spacing[idx]
      rows = imgs_rows[idx]
      margin = 1 + (spacing / 4)
      for index, line in enumerate(rows):
          if c >= line - margin and c <= line + margin:
              return index + 1, 0
          elif c >= line + margin and c <= line + 3 * margin:
              return index + 1, 1
      return 7, 1
  
file_path: Mozart/src/main.py
imports: from commonfunctions import *
  from pre_processing import *
  from connected_componentes import *
  from staff import calculate_thickness_spacing, remove_staff_lines, coordinator
  from segmenter import Segmenter
  from fit import predict
  from glob import glob
  import cv2
  import pickle
  from scipy.ndimage import binary_fill_holes
  from skimage.morphology import thin
  import argparse
label_desc: Use image node_id 1 for calling a global function with example usage: estim(c, idx, imgs_spacing, imgs_rows) and returns: int,  int, unknown,  int, unknown,  int