feature_extraction/ft_descriptor.py
def fill_label_list(self):
        """
        Get all labels as an exhaustive list, i. e. with as many entries as there are frames.
        This label_list is also added as an attribute of the Video object.
        :return: 1D list of ILabel objs
        """
        if not self.label_list:
            import label_import.timestamp as ts
            last_label = self.labels[-1]
            last_timestamp = last_label.end
            last_frameidx = last_timestamp.get_frameidx(self.fps)

            for idx in range(0, last_frameidx, 1):
                curr_timestamp = ts.Timestamp.from_frameidx_fps(idx, self.fps)
                curr_label = self.get_label(curr_timestamp)
                label_val = curr_label.value.value
                self.label_list.append(label_val)

            self.adjust_list_lengths()

        Get all labels as an exhaustive list, i. e. with as many entries as there are frames.
        This label_list is also added as an attribute of the Video object.
        :return: 1D list of ILabel objs
        
Get all labels as an exhaustive list, i. e. with as many entries as there are frames.
This label_list is also added as an attribute of the Video object.
Get all labels as an exhaustive list i . e . with as many entries as there are frames . This label_list is also added as an attribute of the Video object .
def fill_label_list(self):
        if not self.label_list:
            import label_import.timestamp as ts
            last_label = self.labels[-1]
            last_timestamp = last_label.end
            last_frameidx = last_timestamp.get_frameidx(self.fps)
            for idx in range(0, last_frameidx, 1):
                curr_timestamp = ts.Timestamp.from_frameidx_fps(idx, self.fps)
                curr_label = self.get_label(curr_timestamp)
                label_val = curr_label.value.value
                self.label_list.append(label_val)
            self.adjust_list_lengths()
def fill_label_list ( self ) : if not self . label_list : import label_import . timestamp as ts last_label = self . labels [ - 1 ] last_timestamp = last_label . end last_frameidx = last_timestamp . get_frameidx ( self . fps ) for idx in range ( 0 , last_frameidx , 1 ) : curr_timestamp = ts . Timestamp . from_frameidx_fps ( idx , self . fps ) curr_label = self . get_label ( curr_timestamp ) label_val = curr_label . value . value self . label_list . append ( label_val ) self . adjust_list_lengths ( )
Get all labels as an exhaustive list, i. e. with as many entries as there are frames.
Get all labels as an exhaustive list i . e . with as many entries as there are frames .
"""
        Get all labels as an exhaustive list, i. e. with as many entries as there are frames.
        This label_list is also added as an attribute of the Video object.
        :return: 1D list of ILabel objs
        """
1D list of ILabel objs
1D list of ILabel objs
self