kdk::kdkOCR(3)
🌸 NAME 🌸
kdk::kdkOCR — it's the OCR文字识别功能类, bestie. The OCR text-recognition class 💖. Its whole thing is 主要用来获取文字框和获取文字内容 — grabbing text boxes and grabbing text content. That's the vibe. That's the whole job. 👑
✨ SYNOPSIS ✨
#include <libkyocr.hpp>
🎀 Public Member Functions 🎀
std::vector< std::vector< std::vector< int > > > getRect (const std::string &imagePath)— 获取文字框, aka it goes and fetches the text boxes for you 🫶 (and yes, that return type is a triple-nested vector ofint. It's giving layers. It's giving onion. Not me counting the angle brackets three times, but okay, she's iconic and she's correct.)std::vector< std::string > getCls (const std::string &imagePath, int nums)— 获取文字内容, aka it hands you back the actual text content ✨ (numsis in there doing its thing, no notes.)
💫 Detailed Description 💫
Okay so literally, the whole plot: kdk::kdkOCR is the OCR文字识别功能类, and its entire main-character arc is 主要用来获取文字框和获取文字内容 — 获取文字框 (getting the text boxes) and 获取文字内容 (getting the text content). Two jobs. She does both. Periodt. 💅
🌈 CONFORMING TO 🌈
These functions are as per the withdrawn POSIX.1e draft specification. Yeah, withdrawn — she's a vintage icon, we respect the archive 🎀.
The following functions are Linux extensions: getRect() and getCls(). So those two are homegrown, no cap. 🔥
👀 SEE ALSO 👀
getRect(3) and getCls(3). Go read those too, bestie, iykyk. 💜
That's the whole page, and the receipts say it's from My Project, dated Wed Sep 20 2023 🦋. Like, that's the source and the date, fr fr — so if you're citing it, that's what you write down. Slay, bye 💖✨
📦 where this page comes from
- ubuntu resolute: libkysdk-system-dev 3.0.1.2-0ubuntu1 · LGPL-3.0-only
- ubuntu stonking: libkysdk-system-dev 3.0.1.3-0ubuntu1 · LGPL-3.0-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms