tts-voice-creator-clone-and.../static/js
mARTin-B78 55f147d7a7
Some checks are pending
Test and SonarQube / quality (push) Waiting to run
fix(magazine): derive figure boundaries from the page render
A vision OCR engine grounds a figure far less precisely than it
transcribes one. Over all 138 figure regions of a 204-page issue the
transcribed contents were right while the boxes were routinely offset,
undersized, or sitting on the neighbouring text column -- page 23's card
grid was reported at x 0.24-0.54 where the graphic runs 0.41-0.95.

snap_visual_bboxes() reduces the page render to an ink-coverage grid,
seeds a connected-component search with the engine's box, and re-joins
tiles a gutter apart so a card grid comes back as one figure. Text
blocks are excluded from the mask, which is what stops a figure
swallowing the column beside it. A candidate must be solidly inked or
framed on nearly all of its rows and columns (admitting a white-interior
screenshot), may not shrink below 30% of the seed, and reverts when two
figures land on the same graphic; anything else keeps the box it had.

Runs before the figure crop in both OCR paths, so the images shown
during playback are framed correctly too. Replaces refine_picture_
bounds(), which only recognised coloured panels and had no text fence.

Also adds "Fix figure boundaries" in review and POST
/api/magazine/{id}/figures/refine behind it, so an issue ingested before
this pass can be corrected without re-running OCR. Verified live against
c't KI Wissen 2026: 78 of 138 boxes corrected, the rest declined.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-12 10:17:00 +02:00
..
audiobook refactor: scope audiobook network 2026-09-04 12:41:35 +02:00
pdf Release v1.8.1 2026-06-25 18:48:42 +02:00
tesseract Merge Reader/Casting/Rehearser pipeline into one guided workflow (v1.12.84) 2026-07-03 17:45:38 +02:00
ai-backends.js feat: complete magazine P1 (images, play-all, karaoke, driving mode, sidebar exclusion) + OCR engines page + second OCR engine 2026-09-06 23:39:34 +02:00
audiobook-cast.js fix: magazine state persistence, misfiled in book library, confidence badge layout, docker-socket-proxy crash loop 2026-09-07 09:39:20 +02:00
audiobook-parse.js refactor: scope audiobook core 2026-09-04 12:37:37 +02:00
audiobook-pipeline.js fix: preserve audiobook dialogue boundaries 2026-09-04 15:36:26 +02:00
audiobook-preview-export.js refactor: scope audiobook state modules 2026-09-04 12:26:21 +02:00
audiobook-segmentation.js refactor: scope pure frontend leaves 2026-09-04 12:20:33 +02:00
audiobook.js refactor: scope audiobook core 2026-09-04 12:37:37 +02:00
benchmark-voice-picker.js Add searchable benchmark voice pickers 2026-06-05 15:44:13 +02:00
benchmark.js perf: coalesce voice library fetches 2026-09-04 10:10:10 +02:00
character-columns.js refactor: scope character columns 2026-09-04 13:35:10 +02:00
character-sheets.js fix: use native Unlimited-OCR layout regions 2026-09-09 13:27:14 +02:00
characters-library.js refactor: scope character library 2026-09-04 12:49:22 +02:00
conversation.js refactor: scope conversation state 2026-09-04 13:42:02 +02:00
dump_state.js chore: add local maintenance utilities 2026-09-09 07:53:13 +02:00
engines.js feat: complete magazine P1 (images, play-all, karaoke, driving mode, sidebar exclusion) + OCR engines page + second OCR engine 2026-09-06 23:39:34 +02:00
fishaudio-browser.js Add unified Studio casting workflow and fix voice/casting pipeline bugs 2026-07-26 02:03:56 +02:00
generation.js refactor: scope generation module 2026-09-04 13:15:30 +02:00
i18n.js refactor: scope i18n state 2026-09-04 13:40:07 +02:00
image-cache.js perf: bound browser library image cache 2026-09-04 10:28:07 +02:00
init.js Release v1.26.13: Fix drag-and-drop file opening in tab & improve magazine dropzone reliability 2026-09-10 14:31:16 +02:00
integrations.js refactor: scope integrations module 2026-09-04 13:06:59 +02:00
jobs.js feat: expand resource diagnostics 2026-09-04 10:42:08 +02:00
library-characters.js perf: tighten character pagination 2026-09-04 13:31:18 +02:00
library.js fix: magazine state persistence, misfiled in book library, confidence badge layout, docker-socket-proxy crash loop 2026-09-07 09:39:20 +02:00
magazine.js fix(magazine): derive figure boundaries from the page render 2026-09-12 10:17:00 +02:00
namespace.js refactor: add frontend namespace migration bridge 2026-09-04 10:07:46 +02:00
reader.js fix: magazine state persistence, misfiled in book library, confidence badge layout, docker-socket-proxy crash loop 2026-09-07 09:39:20 +02:00
rehearser-cast.js refactor: scope rehearser cast 2026-09-04 12:44:58 +02:00
rehearser-io.js refactor: scope rehearser io 2026-09-04 12:30:13 +02:00
rehearser-library.js refactor: scope rehearser library 2026-09-04 12:40:56 +02:00
rehearser-parse.js refactor: scope pure frontend leaves 2026-09-04 12:20:33 +02:00
rehearser-playback.js refactor: scope rehearser playback 2026-09-04 12:29:19 +02:00
rehearser-recording.js refactor: scope rehearser core 2026-09-04 12:33:55 +02:00
rehearser-stage.js refactor: scope rehearser stage 2026-09-04 12:42:22 +02:00
rehearser-train.js refactor: scope pure frontend leaves 2026-09-04 12:20:33 +02:00
rehearser-training-ui.js refactor: scope training ui module 2026-09-04 12:23:03 +02:00
rehearser-voice-design.js refactor: scope rehearser voice design 2026-09-04 12:44:08 +02:00
rehearser-voice-picker.js refactor: scope rehearser voice picker 2026-09-04 12:43:11 +02:00
rehearser.js refactor: scope rehearser core 2026-09-04 12:33:55 +02:00
routing.js refactor: scope routing module 2026-09-04 13:00:10 +02:00
seed-finder.js refactor: scope seed finder 2026-09-04 13:36:55 +02:00
settings.js refactor: scope settings module 2026-09-04 12:51:29 +02:00
sillytavern.js refactor: scope cast compatibility modules 2026-09-04 13:38:40 +02:00
stt.js refactor: scope stt module 2026-09-04 13:13:10 +02:00
studio.js refactor: scope studio module 2026-09-04 12:47:30 +02:00
tts-preview.js refactor: scope tts preview 2026-09-04 12:53:44 +02:00
utils.js Release v1.26.13: Fix drag-and-drop file opening in tab & improve magazine dropzone reliability 2026-09-10 14:31:16 +02:00
voice-cache.js perf: coalesce voice library fetches 2026-09-04 10:10:10 +02:00
voice-clone.js refactor: scope voice clone 2026-09-04 12:55:50 +02:00
voice-inspector.js refactor: scope voice inspector 2026-09-04 13:25:13 +02:00
voice-library.js refactor: scope voice library 2026-09-04 13:19:52 +02:00
voice-picker.js Add routing voice-picker, restore voice filters, fix pedalboard (v1.14.3) 2026-07-08 21:05:45 +02:00
voice-sources.js refactor: scope voice sources 2026-09-04 12:57:53 +02:00