[tracks] more logging
This commit is contained in:
parent
5a128cf28e
commit
1d6e25dc3d
@ -195,8 +195,8 @@ class FixTracks(QWidget):
|
|||||||
self._timeline.signals.windowMoved.connect(self.on_windowChanged)
|
self._timeline.signals.windowMoved.connect(self.on_windowChanged)
|
||||||
|
|
||||||
self._windowspinner = QSpinBox()
|
self._windowspinner = QSpinBox()
|
||||||
self._windowspinner.setRange(100, 10000)
|
self._windowspinner.setRange(10, 10000)
|
||||||
self._windowspinner.setSingleStep(100)
|
self._windowspinner.setSingleStep(50)
|
||||||
self._windowspinner.setValue(500)
|
self._windowspinner.setValue(500)
|
||||||
self._windowspinner.valueChanged.connect(self.on_windowSizeChanged)
|
self._windowspinner.valueChanged.connect(self.on_windowSizeChanged)
|
||||||
self._keypointcombo = QComboBox()
|
self._keypointcombo = QComboBox()
|
||||||
@ -445,6 +445,7 @@ class FixTracks(QWidget):
|
|||||||
"""
|
"""
|
||||||
max_frames = self._data.max("frame")
|
max_frames = self._data.max("frame")
|
||||||
rel_width = value / max_frames
|
rel_width = value / max_frames
|
||||||
|
logging.debug("Tracks:OnWindowSizeChanged %f", rel_width)
|
||||||
self._timeline.setWindowWidth(rel_width)
|
self._timeline.setWindowWidth(rel_width)
|
||||||
|
|
||||||
def on_detectionsSelected(self, detections):
|
def on_detectionsSelected(self, detections):
|
||||||
|
Loading…
Reference in New Issue
Block a user