You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENH: Add LineSegment + Sequence + Box classes, to be returned by segment algorithms #49
We want to group segmentation algorithms in term of their outputs. Either they give us a sequence of (line) segments, or they give us a set of bounding boxes.
I'm realizing that since a segmenting algorithm that returns (line) segments usually returns a sequence of them, we need a Sequence class too. And I guess the analogy for an algorithm that returns boxes would be a set of boxes (a "set" because there's no ordering).
I know this means re-inventing something that's already in crowsetta (a Sequence of Segments). But I want the two packages to be independent--you shouldn't need vocalpy to use crowsetta.
See #51 -- I think we don't want this class used by segment algorithms, that should instead return a Sequence or a BoxSet. But we will want a LineSegment class for an ORM that builds a dataset of sequences, because there we will need to have a more OO-like representation of each individual segment as a row in a database table.
Activity
NickleDave commentedon Sep 19, 2023
See #51 -- I think we don't want this class used by
segmentalgorithms, that should instead return aSequenceor aBoxSet. But we will want aLineSegmentclass for an ORM that builds a dataset of sequences, because there we will need to have a more OO-like representation of each individual segment as a row in a database table.NickleDave commentedon Feb 12, 2024
Closing, superceded by #127