text-spotting
Use this sub-skill when a task names BAText, ABCNet, BezierAlign, scene text, text spotting, OCR recognition, lexicons, dictionaries, text evaluation, or Bezier control-point annotations in AdelaiDet.
Use this route for
- Choosing and editing BAText/ABCNet configs.
- Preparing text datasets and Bezier/control-point annotations.
- Understanding
BezierAlign, TextEvaluator, custom dictionaries, and lexicons.
- Running text-model demos after setup succeeds.
- Debugging missing recognized strings, evaluator failures, rapidfuzz issues, or text visualization problems.
Do not use this route for
- General installation and CUDA extension failures. Use
../setup-build/SKILL.md.
- Non-text FCOS/BlendMask/CondInst training. Use
../train-eval/SKILL.md.
- General COCO/PIC/LVIS conversion unrelated to text. Use
../data-prep/SKILL.md.
- Checkpoint/ONNX conversion. Use
../export-convert/SKILL.md.
Read first
references/text-workflows.md for BAText/ABCNet config, training, demo, and evaluation flow.
references/text-data-and-eval.md for annotation fields, dictionaries, lexicons, and evaluator caveats.
../../references/api-reference.md for verified BezierAlign/TextEvaluator surfaces.
Typical workflow
Confirm setup with CUDA ops:
python ../../scripts/check_install.py --cuda-ops
Choose a configs/BAText/ YAML and inspect MODEL.BATEXT keys.
Validate text dataset annotations through data-prep if files are custom.
For training/eval, use train-eval launch wrappers and add text-specific overrides.
For visualization, use demo-visualize wrappers with the text config/weights.
Interpret recognition/evaluation results here, not in generic detection routes.
Decision points
rapidfuzz.string_metric error: pin rapidfuzz<3 in setup.
- BezierAlign op failure: return to
setup-build; text pooling depends on adet._C.
- Boxes draw but text is blank/wrong: check dictionary/lexicon config and annotation transcription fields.
- Dataset lacks Bezier points: route to
data-prep; box-only COCO annotations are insufficient for text recognition.
- Evaluation protocol disagreement: identify the target benchmark lexicon/protocol before comparing numbers.
1---2name: "text-spotting"3description: "Guides AdelaiDet BAText/ABCNet text spotting, BezierAlign, text4 datasets, dictionaries, lexicons, and TextEvaluator workflows."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/text-spotting8 disco-role: operating9license: NOASSERTION10---1112# text-spotting1314Use this sub-skill when a task names BAText, ABCNet, BezierAlign, scene text, text spotting, OCR recognition, lexicons, dictionaries, text evaluation, or Bezier control-point annotations in AdelaiDet.1516## Use this route for1718- Choosing and editing BAText/ABCNet configs.19- Preparing text datasets and Bezier/control-point annotations.20- Understanding `BezierAlign`, `TextEvaluator`, custom dictionaries, and lexicons.21- Running text-model demos after setup succeeds.22- Debugging missing recognized strings, evaluator failures, rapidfuzz issues, or text visualization problems.2324## Do not use this route for2526- General installation and CUDA extension failures. Use `../setup-build/SKILL.md`.27- Non-text FCOS/BlendMask/CondInst training. Use `../train-eval/SKILL.md`.28- General COCO/PIC/LVIS conversion unrelated to text. Use `../data-prep/SKILL.md`.29- Checkpoint/ONNX conversion. Use `../export-convert/SKILL.md`.3031## Read first3233- `references/text-workflows.md` for BAText/ABCNet config, training, demo, and evaluation flow.34- `references/text-data-and-eval.md` for annotation fields, dictionaries, lexicons, and evaluator caveats.35- `../../references/api-reference.md` for verified BezierAlign/TextEvaluator surfaces.3637## Typical workflow38391. Confirm setup with CUDA ops:4041 ```bash42 python ../../scripts/check_install.py --cuda-ops43 ```44452. Choose a `configs/BAText/` YAML and inspect `MODEL.BATEXT` keys.463. Validate text dataset annotations through `data-prep` if files are custom.474. For training/eval, use `train-eval` launch wrappers and add text-specific overrides.485. For visualization, use `demo-visualize` wrappers with the text config/weights.496. Interpret recognition/evaluation results here, not in generic detection routes.5051## Decision points5253- **`rapidfuzz.string_metric` error:** pin `rapidfuzz<3` in setup.54- **BezierAlign op failure:** return to `setup-build`; text pooling depends on `adet._C`.55- **Boxes draw but text is blank/wrong:** check dictionary/lexicon config and annotation transcription fields.56- **Dataset lacks Bezier points:** route to `data-prep`; box-only COCO annotations are insufficient for text recognition.57- **Evaluation protocol disagreement:** identify the target benchmark lexicon/protocol before comparing numbers.