def _good_segments(self, segments):
     lines = guess_segments_lines(
         segments,
         self.lines_topmiddlebottoms,
         nearline_tolerance=self.nearline_tolerance)
     good = lines != -1
     return good
示例#2
0
 def _good_segments( self, segments ):
     lines= guess_segments_lines(segments, self.lines_topmiddlebottoms, nearline_tolerance=self.nearline_tolerance)
     good= lines!=-1
     return good