mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-07 06:59:58 +02:00
remove unnecessary backslash
This commit is contained in:
parent
558867eb24
commit
9ce127eb51
1 changed files with 1 additions and 1 deletions
|
@ -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 = cv2.bitwise_not(separators_closeup_n_binary)
|
||||||
gray=gray.astype(np.uint8)
|
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)
|
cv2.THRESH_BINARY, 15, -2)
|
||||||
horizontal = np.copy(bw)
|
horizontal = np.copy(bw)
|
||||||
vertical = np.copy(bw)
|
vertical = np.copy(bw)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue