MCPcopy Create free account
hub / github.com/Topdu/OpenOCR / remove_blank

Function remove_blank

tools/utils/e2e_utils/extract_textpoint_slow.py:112–114  ·  view source on GitHub ↗
(labels, blank=0)

Source from the content-addressed store, hash-verified

110
111
112def remove_blank(labels, blank=0):
113 new_labels = [x for x in labels if x != blank]
114 return new_labels
115
116
117def insert_blank(labels, blank=0):

Callers 1

ctc_greedy_decoderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected