Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chibohe/text_recognition_toolbox
/ writeCache
Function
writeCache
tools/create_lmdb_dataset.py:22–25 ·
view source on GitHub ↗
(env, cache)
Source
from the content-addressed store, hash-verified
20
21
22
def
writeCache(env, cache):
23
with
env.begin(write=True)
as
txn:
24
for
k, v in cache.items():
25
txn.put(k, v)
26
27
28
def
createDataset(inputPath, gtFile, outputPath, checkValid=True):
Callers
1
createDataset
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected