def METHOD_NAME(self, frame):
    fill_rate = np.count_nonzero(frame) / frame.size
    self._metrics_buffer['fill_rate'].append(fill_rate)
    if len(self._metrics_buffer['fill_rate']) < 30:
        return
    fill_rate_avg = np.mean(self._metrics_buffer['fill_rate'])
    self._metrics_buffer['fill_rate'].clear()
    if fill_rate_avg < self._converged_metric_value * 0.85:
        self._auto_ir_converged = False
        self._checking_neighbourhood = True
        self._neighbourhood_pairs = np.unique([
            [np.clip(self._dot_projector_brightness + i, 0, 1200), np.clip(self._flood_brightness + j, 0, 1500)]
            for i, j in itertools.product([-300, 300], [-375, 375])
        ], axis=0)
        self._neighbour_idx = 0