| 1191 | } |
| 1192 | |
| 1193 | STDMETHODIMP 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 | // 识别这个范围内所有满足条件的词组,这个识别函数不会用到字库. 只是识别大概形状的位置 |
| 1203 | STDMETHODIMP OpAutomation::GetWordsNoDict(LONG x1, LONG y1, LONG x2, LONG y2, BSTR color, BSTR *ret_str) { |
no outgoing calls
no test coverage detected