MCPcopy
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

1import { afterEach, describe, expect, it, vi } from "vitest";
2import { createMockOrtTensorClass } from "./helpers/mock-ort-tensor";
3
4const assertModelResources = vi.fn();

Callers

nothing calls this directly

Calls 11

createMockOrtTensorClassFunction · 0.90
itFunction · 0.85
loadDetModuleFunction · 0.85
parseDetModelConfigTextFunction · 0.85
makeCvFunction · 0.85
createDetModelFunction · 0.85
cropByPolyFunction · 0.85
createDetModelSessionFunction · 0.85
predictMethod · 0.65
disposeMethod · 0.65

Tested by

no test coverage detected