remove unnecessary backslash

This commit is contained in:
cneud 2025-10-01 00:04:53 +02:00
parent 558867eb24
commit 9ce127eb51

View file

@ -1452,7 +1452,7 @@ def find_number_of_columns_in_document(region_pre_p, num_col_classifier, tables,
gray = cv2.bitwise_not(separators_closeup_n_binary)
gray=gray.astype(np.uint8)
bw = cv2.adaptiveThreshold(gray, 255, cv2.ADAPTIVE_THRESH_MEAN_C, \
bw = cv2.adaptiveThreshold(gray, 255, cv2.ADAPTIVE_THRESH_MEAN_C,
cv2.THRESH_BINARY, 15, -2)
horizontal = np.copy(bw)
vertical = np.copy(bw)