NoteCrawling / directories.py
nyonyong
First commit
30c8b41
raw
history blame
515 Bytes
home_dir = "/HCR"
yolo_dir = "/HCR/TextDetection/"
input_img = "/HCR/TextDetection/cookie/user_input.jpg"
detect_model_dir = "/runs/wordDetection/weights/best.pt"
cropped_img_folder_name = "user_output"
cropped_img_path = "/runs/detect/" + cropped_img_folder_name
folder_path = cropped_img_path + "/crops/word"
DBSCAN_dir = "/HCR/TextRearrange"
recog_dir = "/HCR/TextRecognition"
recog_model_dir='/HCR/TextRecognition/best_accuracy_s/best_accuracy_s.pth'
txt_file_path = "/HCR/TextRecognition/log_demo_result.txt"