mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-07-12 12:29:56 +02:00
comment unnecessary print commands
This commit is contained in:
parent
f2811ee469
commit
6018b354aa
1 changed files with 0 additions and 3 deletions
|
@ -2071,7 +2071,6 @@ class Eynollah:
|
||||||
arg_text_con = []
|
arg_text_con = []
|
||||||
for ii in range(len(cx_text_only)):
|
for ii in range(len(cx_text_only)):
|
||||||
for jj in range(len(boxes)):
|
for jj in range(len(boxes)):
|
||||||
print(cx_text_only[ii],cy_text_only[ii],'markaz')
|
|
||||||
if cx_text_only[ii] >= boxes[jj][0] and cx_text_only[ii] < boxes[jj][1] and cy_text_only[ii] >= boxes[jj][2] and cy_text_only[ii] < boxes[jj][3]: # this is valid if the center of region identify in which box it is located
|
if cx_text_only[ii] >= boxes[jj][0] and cx_text_only[ii] < boxes[jj][1] and cy_text_only[ii] >= boxes[jj][2] and cy_text_only[ii] < boxes[jj][3]: # this is valid if the center of region identify in which box it is located
|
||||||
arg_text_con.append(jj)
|
arg_text_con.append(jj)
|
||||||
break
|
break
|
||||||
|
@ -2107,8 +2106,6 @@ class Eynollah:
|
||||||
ref_point += len(id_of_texts)
|
ref_point += len(id_of_texts)
|
||||||
|
|
||||||
order_of_texts_tot = []
|
order_of_texts_tot = []
|
||||||
print(len(contours_only_text_parent),'contours_only_text_parent')
|
|
||||||
print(len(order_by_con_main),'order_by_con_main')
|
|
||||||
|
|
||||||
for tj1 in range(len(contours_only_text_parent)):
|
for tj1 in range(len(contours_only_text_parent)):
|
||||||
order_of_texts_tot.append(int(order_by_con_main[tj1]))
|
order_of_texts_tot.append(int(order_by_con_main[tj1]))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue