[wip] not prooperly working
This commit is contained in:
@@ -136,7 +136,8 @@ class DetectionView(QWidget):
|
||||
coordinates = self._data.coordinates(selection=True)
|
||||
centercoordinates = self._data.centerOfGravity(selection=True)
|
||||
userlabeled = self._data.selectedData("userlabeled")
|
||||
indices = self._data.selectedData("index")
|
||||
|
||||
indices = self._data.selectionIndices
|
||||
image_rect = self._pixmapitem.boundingRect() if self._pixmapitem is not None else QRectF(0,0,0,0)
|
||||
|
||||
for i, idx in enumerate(indices):
|
||||
|
||||
@@ -307,6 +307,7 @@ class FixTracks(QWidget):
|
||||
|
||||
def on_detectionsSelected(self, detections):
|
||||
logging.debug("Tracks: Detections selected")
|
||||
print(detections)
|
||||
tracks = np.zeros(len(detections), dtype=int)
|
||||
ids = np.zeros_like(tracks)
|
||||
frames = np.zeros_like(tracks)
|
||||
|
||||
Reference in New Issue
Block a user