Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/PaddlePaddle/PaddleOCR
/ ocr-core.test.ts
File
ocr-core.test.ts
paddleocr-js/packages/core/test/ocr-core.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, describe, expect, it, vi } from
"vitest"
;
2
3
const
loadModelAsset = vi.fn();
4
const
createDetModel = vi.fn();
Callers
nothing calls this directly
Calls
10
it
Function · 0.85
loadCoreModule
Function · 0.85
minimalPipelineConfig
Function · 0.85
mockEmptyDefaultOcrConfig
Function · 0.85
disposeModelsOnly
Method · 0.80
predict
Method · 0.65
dispose
Method · 0.65
initialize
Method · 0.45
getInitializationSummary
Method · 0.45
getModelConfig
Method · 0.45
Tested by
no test coverage detected