diff --git a/src/core/chars_segment.cpp b/src/core/chars_segment.cpp index f4ff672..1f7d0ef 100644 --- a/src/core/chars_segment.cpp +++ b/src/core/chars_segment.cpp @@ -103,10 +103,10 @@ int CCharsSegment::charsSegment(Mat input, vector& resultVec) { int h = input_grey.rows; Mat tmp = input_grey(Rect(w * 0.1, h * 0.1, w * 0.8, h * 0.8)); int threadHoldV = ThresholdOtsu(tmp); - utils::imwrite("E:/img_inputgray2.jpg", input_grey); + // utils::imwrite("E:/img_inputgray2.jpg", input_grey); threshold(input_grey, img_threshold, threadHoldV, 255, CV_THRESH_BINARY); - utils::imwrite("E:/img_threshold.jpg", img_threshold); + // utils::imwrite("E:/img_threshold.jpg", img_threshold); // threshold(input_grey, img_threshold, 5, 255, CV_THRESH_OTSU + // CV_THRESH_BINARY);