code: def _initialize_trackbars(self):
          
          for parameter in self.block_matcher.parameter_maxima.keys():
              maximum = self.block_matcher.parameter_maxima[parameter]
              if not maximum:
                  maximum = self.shortest_dimension
              cv2.createTrackbar(parameter, self.window_name,
                                 self.block_matcher.__getattribute__(parameter),
                                 maximum,
                                 partial(self._set_value, parameter))
docs: Initialize trackbars by discovering ``block_matcher``'s parameters.