public Apply ( string input_dir, string output_dir, string fn, double size_ratio, bool preprocessing ) : string | ||
input_dir | string | |
output_dir | string | |
fn | string | |
size_ratio | double | |
preprocessing | bool | |
return | string |
public static void textIndentification(string dir, string fn) { TextDetectionWorker trw = new TextDetectionWorker(); trw.Apply(dir,dir, fn, 2.5, false); }
public void textIndentification(string input_dir, string output_dir, string fn) { try { TextDetectionWorker trw = new TextDetectionWorker(); trw.Apply(input_dir, output_dir, fn, 2.5, false); } catch (Exception e) { Log.WriteLine("textIndentification: " + e.Message); } }