Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
112
def
remove_blank(labels, blank=0):
113
new_labels = [x
for
x in labels
if
x != blank]
114
return
new_labels
115
116
117
def
insert_blank(labels, blank=0):
Callers
1
ctc_greedy_decoder
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected