MCPcopy Create free account

hub / github.com/Fanfulla/OCR-buddy / functions

Functions163 in github.com/Fanfulla/OCR-buddy

↓ 1 callersFunctiongetTokenizer
()
src/offscreen/formula.ts:78
↓ 1 callersFunctiongroupLines
(boxes, lineH)
scripts/ocr-image-test.mjs:81
↓ 1 callersFunctiongroupLines
(boxes, lineH)
scripts/ocr-bench.mjs:72
↓ 1 callersFunctiongroupReadingOrder
* Reading order, column-aware. Cluster boxes into columns by gaps in horizontal * coverage wider than a gutter threshold, then read each column top-t
src/offscreen/engine.ts:309
↓ 1 callersFunctiongroupReadingOrder
(boxes)
scripts/ocr-image-test.mjs:92
↓ 1 callersFunctiongroupReadingOrder
(boxes)
scripts/ocr-bench.mjs:83
↓ 1 callersFunctionhistSnippet
One-line preview of what an entry produced.
src/sidepanel/sidepanel.ts:688
↓ 1 callersFunctionhtmlToMarkdown
(html: string, title: string, url: string, ocrBySrc?: Map<string, string>)
src/sidepanel/html-to-markdown.ts:69
↓ 1 callersFunctionindentOf
(r: Row)
src/offscreen/engine.ts:394
↓ 1 callersFunctioninitBadge
()
src/sidepanel/sidepanel.ts:398
↓ 1 callersFunctioninjectOverlay
Inject the overlay on demand. There is no declared content script (that would * cost the all-sites install warning); the overlay is built to this fix
src/background/service-worker.ts:165
↓ 1 callersFunctionlatinFold
(id: string)
src/offscreen/packs.ts:64
↓ 1 callersFunctionlevenshtein
(a, b)
scripts/ocr-image-test.mjs:131
↓ 1 callersFunctionlevenshtein
(a, b)
scripts/ocr-bench.mjs:128
↓ 1 callersFunctionloadRecognition
( id: string, onProgress?: (p: number) => void, )
src/offscreen/packs.ts:110
↓ 1 callersFunctionmain
()
src/testbed/testbed.ts:19
↓ 1 callersFunctionmarkRated
()
src/sidepanel/review.ts:74
↓ 1 callersFunctionmarkUnreadGlyphs
* Mark glyphs the recognizer couldn't read so they don't silently vanish. An emoji * gets no detection box — it leaves a wide gap between two text bo
src/offscreen/engine.ts:252
↓ 1 callersFunctionmaybeShowNudge
Count a fresh successful capture; show the nudge if it crossed the threshold.
src/sidepanel/sidepanel.ts:842
↓ 1 callersFunctionnorm
(s: string)
src/background/merge-tiles.ts:20
↓ 1 callersFunctionnorm
(s: string)
src/testbed/testbed.ts:16
↓ 1 callersFunctionocrDataUrl
(imageDataUrl: string)
src/sidepanel/sidepanel.ts:756
↓ 1 callersFunctionopenReviewPage
()
src/sidepanel/review.ts:68
↓ 1 callersFunctionoriginOf
Best-effort tab origin (empty if we can't read it without permission).
src/background/service-worker.ts:180
↓ 1 callersFunctionpackPaths
Local rec+dict paths for a pack, downloading to .packs-cache/ once.
scripts/ocr-image-test.mjs:56
↓ 1 callersFunctionprepareImage
Decode + smart-upscale small crops. Returns the recognition canvas plus a * snapshot of the ORIGINAL colour pixels (before the contrast boost greysc
src/offscreen/engine.ts:153
↓ 1 callersFunctionpreprocess
(crop: ImageBitmap)
src/offscreen/formula.ts:104
↓ 1 callersFunctionproseFromLines
(lines, fold)
scripts/ocr-image-test.mjs:111
↓ 1 callersFunctionproseFromLines
(lines)
scripts/ocr-bench.mjs:107
↓ 1 callersFunctionrecognizeFormula
(crop: ImageBitmap)
src/offscreen/formula.ts:124
↓ 1 callersFunctionrecognizeFormulaImage
( imageBuffer: ArrayBuffer, )
src/offscreen/engine.ts:598
↓ 1 callersFunctionrecognizeTableImage
( imageBuffer: ArrayBuffer, lang: string = DEFAULT_PACK, onProgress?: (p: number) => void, )
src/offscreen/engine.ts:580
↓ 1 callersFunctionreconstructTable
* Reconstruct a Markdown table from a table region's OCR word boxes: cluster into * rows by y, find columns from the x coverage profile (gutters = x-
src/offscreen/engine.ts:474
↓ 1 callersFunctionrecordSuccessAndMaybeNudge
()
src/sidepanel/review.ts:56
↓ 1 callersFunctionrenderDocBlocks
Render Table-mode blocks: the reconstructed grid as a real table, or a plain * paragraph when the crop wasn't grid-like.
src/sidepanel/sidepanel.ts:515
↓ 1 callersFunctionrenderFormula
Formula mode: render the LaTeX with KaTeX in the text area; the source crop is * already shown above (Source · captured region), giving the side-by-
src/sidepanel/sidepanel.ts:554
↓ 1 callersFunctionrenderMarkdownTable
(markdown: string)
src/sidepanel/sidepanel.ts:530
↓ 1 callersFunctionrestorePrefs
()
src/sidepanel/sidepanel.ts:77
↓ 1 callersFunctionrun
(req: RunOcr)
src/offscreen/offscreen.ts:33
↓ 1 callersFunctionrunImages
Page → Markdown hybrid: OCR a batch of page images; texts come back * index-aligned with the request (empty string where nothing was read).
src/offscreen/offscreen.ts:19
↓ 1 callersFunctionrunTiles
(req: RunOcrTiles)
src/offscreen/offscreen.ts:108
↓ 1 callersFunctionsaveToHistory
(r: OcrResult)
src/sidepanel/sidepanel.ts:674
↓ 1 callersFunctionseamCut
Index in `b` from which to start appending: drops b[0 .. idx-1] (a leading * header plus the overlap that duplicates the tail of `a`). 0 = append al
src/background/merge-tiles.ts:24
↓ 1 callersFunctionserviceFor
(langId)
scripts/ocr-image-test.mjs:145
↓ 1 callersFunctionshowOverlay
()
src/content/overlay.ts:22
↓ 1 callersFunctionshowStage
(stage: Exclude<OcrStage, 'error'>, progress?: number)
src/sidepanel/sidepanel.ts:184
↓ 1 callersFunctionstartActiveTabSelectionWithLastMode
()
src/background/service-worker.ts:123
↓ 1 callersFunctiontoCodeText
* Code view: prose lines + leading indentation, with blank lines restored. Indent * is quantized — detect the one-level unit (smallest clear positive
src/offscreen/engine.ts:389
FunctioncloseBundle
()
vite.config.ts:21
Functionesc
(s: string)
src/offscreen/engine.ts:568
FunctionhasText
(w: RecognitionResult)
src/offscreen/engine.ts:187
FunctionhasText
(w)
scripts/ocr-image-test.mjs:79
FunctionhasText
(w)
scripts/ocr-bench.mjs:64
FunctionleadingSpaces
(s: string)
src/testbed/testbed.ts:17
FunctiononDownload
(p: number)
src/offscreen/offscreen.ts:40
FunctiononKey
(e: KeyboardEvent)
src/content/overlay.ts:77
FunctiononMsg
(r)
scripts/verify-realpage.mjs:55
FunctiononMsg
(r)
scripts/verify-capture-sources.mjs:85
FunctiononNudgeRate
()
src/sidepanel/sidepanel.ts:831
Functionpick
(page)
scripts/fetch-test-images.mjs:31
FunctionreadMetrics
()
src/background/fullpage.ts:24
FunctionscrollPage
(y: number)
src/background/fullpage.ts:32
FunctionstartSelection
()
src/sidepanel/sidepanel.ts:201
← previous101–163 of 163, ranked by callers