Skip to content

Marker detection taking >1 min, then failing #1

@raghavauppuluri13

Description

@raghavauppuluri13

@duyipai When enabling shear force estimation, the gaussian filter in markerdetection.py seems to be taking a long time for me (1+ min):

filtim = gauss_filt(mxim, gf)
takes a long time to run. my raw img and depth look like this:
image

then i get the following error:

  File "/home/aloha/interbotix_ws/src/gsmini/gsmini/gsdevice.py", line 126, in connect
    mtracker = MarkerTracker(np.float32(self._img) / 255.0)
  File "/home/aloha/interbotix_ws/src/gsmini/gsmini/markertracker.py", line 94, in __init__
    ) = self.assign_coordinates(sorted_centers)
  File "/home/aloha/interbotix_ws/src/gsmini/gsmini/markertracker.py", line 239, in assign_coordinates
    x0 = x_coords[idx]
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions