Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/PaddlePaddle/PaddleOCR
/ det-model.test.ts
File
det-model.test.ts
paddleocr-js/packages/core/test/det-model.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
import
{ createMockOrtTensorClass } from
"./helpers/mock-ort-tensor"
;
3
4
const
assertModelResources = vi.fn();
Callers
nothing calls this directly
Calls
11
createMockOrtTensorClass
Function · 0.90
it
Function · 0.85
loadDetModule
Function · 0.85
parseDetModelConfigText
Function · 0.85
makeCv
Function · 0.85
createDetModel
Function · 0.85
cropByPoly
Function · 0.85
createDetModelSession
Function · 0.85
createDetModelIntegrationCv
Function · 0.85
predict
Method · 0.65
dispose
Method · 0.65
Tested by
no test coverage detected