supervision/docs
Jirka Borovec 68e63f9e39
refactor(cv2): replace Hershey text with Pillow (#2440)
Text fallback now renders through Pillow with the DejaVu Sans face
resolved via matplotlib font_manager, replacing the Hershey stroke-font
reader; getTextSize metrics derive from the same font and differ from
OpenCV within the documented visual-divergence tier.

Remove the packaged Hershey glyph data (hershey_fonts.json, provenance,
license) and its _cv2/data package-data entry.

Delete unused fallbacks: _geometry _fill_poly and _point_in_polygon
(live fillPoly is the Pillow one in _drawing) and _common _unavailable.

Replace test_hershey with Pillow-oriented test_text, drop test_common,
and point test_contours/test_geometry at _drawing._fill_poly. Document
the fallback text-backend change in the changelog.

---------

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
2026-07-17 10:22:32 +02:00
..
assets
classification
datasets feat(dataset): add LabelMe format support to DetectionDataset (#2299) 2026-06-25 17:07:39 +02:00
detection fix: close out remaining review findings (#2418) 2026-07-09 17:53:52 +02:00
how_to fix: remaining review findings in dataset, docs, and tests (#2416) 2026-07-08 23:00:32 +02:00
javascripts docs: fix copy doctests without `>>>` and `...` by button & ctr+c (#2138) 2026-02-04 23:09:16 +09:00
keypoint fix: remaining review findings in dataset, docs, and tests (#2416) 2026-07-08 23:00:32 +02:00
metrics fix(docs): resolve review deprecation follow-ups (#2415) 2026-07-08 14:30:32 +02:00
notebooks Add cookbook for blurring faces with hosted api (#923) 2026-07-11 01:41:49 +02:00
stylesheets
theme Add cookbook for blurring faces with hosted api (#923) 2026-07-11 01:41:49 +02:00
utils feat(utils): add `TkImageWindow` to unblock switch to `opencv-python-headless` (#2320) 2026-07-15 15:06:55 +02:00
0d5d9799b1cc4a39825146388c6781eb.txt feat(docs): add GEO infrastructure for AI search visibility (#2224) 2026-04-21 11:40:44 +02:00
CNAME
_headers docs: improve SEO and GEO docs publishing (#2232) 2026-04-24 23:39:22 +02:00
about.md docs: improve SEO and GEO docs publishing (#2232) 2026-04-24 23:39:22 +02:00
assets.md chore: update `mdformat` hook arguments to disable wrapping (#2307) 2026-06-09 16:15:05 +02:00
changelog.md refactor(cv2): replace Hershey text with Pillow (#2440) 2026-07-17 10:22:32 +02:00
code_of_conduct.md move CODE_OF_CONDUCT.md and CONTRIBUTING.md for improved accessibility (#2036) 2026-02-03 03:58:28 +01:00
contact.md docs: improve SEO and GEO docs publishing (#2232) 2026-04-24 23:39:22 +02:00
contributing.md move CODE_OF_CONDUCT.md and CONTRIBUTING.md for improved accessibility (#2036) 2026-02-03 03:58:28 +01:00
cookbooks.md fix(docs): expand llms.txt, add FAQ schema, author attribution to how… (#2231) 2026-04-23 18:33:14 +02:00
deprecated.md fix(docs): resolve review deprecation follow-ups (#2415) 2026-07-08 14:30:32 +02:00
faq.md feat(utils): add `TkImageWindow` to unblock switch to `opencv-python-headless` (#2320) 2026-07-15 15:06:55 +02:00
index.md chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
license.md
llms-100k.txt feat(dataset): add LabelMe format support to DetectionDataset (#2299) 2026-06-25 17:07:39 +02:00
llms.full.txt chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
llms.txt chore: bump minimum Python to 3.10 (#2260) 2026-06-29 14:45:30 +02:00
robots.txt docs: improve SEO and GEO docs publishing (#2232) 2026-04-24 23:39:22 +02:00
trackers.md fix(docs): resolve review deprecation follow-ups (#2415) 2026-07-08 14:30:32 +02:00