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

Method GetBinaryPreprocess

libop/com/OpAutomation.cpp:1193–1200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1191}
1192
1193STDMETHODIMP OpAutomation::GetBinaryPreprocess(LONG *mode, LONG *isolated_threshold, LONG *min_component_area,
1194 LONG *bridge_gap, LONG *ret) {
1195 if (!mode || !isolated_threshold || !min_component_area || !bridge_gap || !ret)
1196 return E_POINTER;
1197
1198 obj.GetBinaryPreprocess(mode, isolated_threshold, min_component_area, bridge_gap, ret);
1199 return S_OK;
1200}
1201
1202// 识别这个范围内所有满足条件的词组,这个识别函数不会用到字库. 只是识别大概形状的位置
1203STDMETHODIMP OpAutomation::GetWordsNoDict(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, BSTR *ret_str) {

Callers 1

OpGetBinaryPreprocessFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected