NoteCrawling / directories.py
nyonyong
Directory fix
1e7c769
raw
history blame
528 Bytes
home_dir = "/home/user/app"
yolo_dir = "/TextDetection"
input_img = "/TextDetection/cookie/user_input.jpg"
detect_model_dir = "/TextDetection/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 = "/TextRearrange"
recog_dir = "/TextRecognition"
recog_model_dir = "/TextRecognition/best_accuracy_s/best_accuracy_s.pth"
txt_file_path = "/home/user/app/TextRecognition/log_demo_result.txt"