MCPcopy Create free account
hub / github.com/WallBreaker2/op / OpExtractWordRects

Function OpExtractWordRects

libop/c_api/op_c_api.cpp:1146–1151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1144}
1145
1146const wchar_t *OP_CALL OpExtractWordRects(op_handle handle, int x1, int y1, int x2, int y2, const wchar_t *color,
1147 double sim, int min_word_h) {
1148 return call_string(handle, [&](op::Op &op, std::wstring &ret) {
1149 op.ExtractWordRects(x1, y1, x2, y2, safe_text(color), sim, min_word_h, ret);
1150 });
1151}
1152
1153const wchar_t *OP_CALL OpExtractWordRectsEx(op_handle handle, int x1, int y1, int x2, int y2, const wchar_t *color,
1154 double sim, int min_word_w, int min_word_h, int padding) {

Callers

nothing calls this directly

Calls 3

call_stringFunction · 0.85
safe_textFunction · 0.85
ExtractWordRectsMethod · 0.45

Tested by

no test coverage detected