dabgy commited on
Commit ·
f3edae4
1
Parent(s): e4d2733
README.md
CHANGED
|
@@ -5,6 +5,7 @@ colorFrom: blue
|
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 4.8.0
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
|
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 4.8.0
|
| 8 |
+
python_version: 3.10.12
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
---
|
videosubfinder-cli-cpu-static-linux-x64/VideoSubFinderCli.run
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
cd ${0%/*}
|
| 3 |
+
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD:/lib64
|
| 4 |
+
chmod +x ./VideoSubFinderCli
|
| 5 |
+
./VideoSubFinderCli "$@"
|
videosubfinder-cli-cpu-static-linux-x64/settings/general.cfg
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
prefered_locale = eng
|
| 2 |
+
vsf_is_maximized = 0
|
| 3 |
+
vsf_x = -1
|
| 4 |
+
vsf_y = -1
|
| 5 |
+
vsf_w = -1
|
| 6 |
+
vsf_h = -1
|
| 7 |
+
process_affinity_mask = -1
|
| 8 |
+
main_text_font = default
|
| 9 |
+
main_text_font_bold = 0
|
| 10 |
+
main_text_font_italic = 0
|
| 11 |
+
main_text_font_underline = 0
|
| 12 |
+
main_text_font_size = -1
|
| 13 |
+
buttons_text_font = default
|
| 14 |
+
buttons_text_font_bold = 1
|
| 15 |
+
buttons_text_font_italic = 0
|
| 16 |
+
buttons_text_font_underline = 0
|
| 17 |
+
buttons_text_font_size = -1
|
| 18 |
+
main_text_colour = 0,0,0
|
| 19 |
+
main_text_ctls_background_colour = 255,255,255
|
| 20 |
+
main_buttons_colour = 252,252,252
|
| 21 |
+
main_buttons_colour_focused = 242,242,242
|
| 22 |
+
main_buttons_colour_selected = 211,211,211
|
| 23 |
+
main_buttons_border_colour = 196,196,196
|
| 24 |
+
main_labels_background_colour = 127,255,0
|
| 25 |
+
main_frame_background_colour = 171,171,171
|
| 26 |
+
notebook_colour = 240,240,240
|
| 27 |
+
notebook_panels_colour = 170,170,170
|
| 28 |
+
grid_line_colour = 0,0,0
|
| 29 |
+
grid_gropes_colour = 0,255,255
|
| 30 |
+
grid_sub_gropes_colour = 255,215,0
|
| 31 |
+
grid_debug_settings_colour = 200,200,200
|
| 32 |
+
test_result_label_colour = 127,255,212
|
| 33 |
+
video_image_box_background_colour = 125,125,125
|
| 34 |
+
video_image_box_border_colour = 215,228,242
|
| 35 |
+
video_image_box_title_colour = 255,255,225
|
| 36 |
+
video_box_time_colour = 0,0,0
|
| 37 |
+
video_box_time_text_colour = 255,255,255
|
| 38 |
+
video_box_separating_line_colour = 255,255,255
|
| 39 |
+
video_box_separating_line_border_colour = 0,0,0
|
| 40 |
+
dont_delete_unrecognized_images1 = 0
|
| 41 |
+
dont_delete_unrecognized_images2 = 1
|
| 42 |
+
generate_cleared_text_images_on_test = 1
|
| 43 |
+
dump_debug_images = 0
|
| 44 |
+
dump_debug_second_filtration_images = 0
|
| 45 |
+
clear_test_images_folder = 1
|
| 46 |
+
show_transformed_images_only = 0
|
| 47 |
+
use_ocl = 1
|
| 48 |
+
use_cuda_gpu = 0
|
| 49 |
+
use_filter_color = none
|
| 50 |
+
use_outline_filter_color = none
|
| 51 |
+
dL_color = 40
|
| 52 |
+
dA_color = 30
|
| 53 |
+
dB_color = 30
|
| 54 |
+
combine_to_single_cluster = 0
|
| 55 |
+
cuda_kmeans_initial_loop_iterations = 20
|
| 56 |
+
cuda_kmeans_loop_iterations = 30
|
| 57 |
+
cpu_kmeans_initial_loop_iterations = 20
|
| 58 |
+
cpu_kmeans_loop_iterations = 30
|
| 59 |
+
moderate_threshold_for_scaled_image = 0.25
|
| 60 |
+
moderate_threshold = 0.25
|
| 61 |
+
moderate_threshold_for_NEdges = 0.25
|
| 62 |
+
segment_width = 8
|
| 63 |
+
segment_height = 3
|
| 64 |
+
minimum_segments_count = 2
|
| 65 |
+
min_sum_color_diff = 0
|
| 66 |
+
between_text_distace = 0.07
|
| 67 |
+
text_centre_offset = 0.2
|
| 68 |
+
image_scale_for_clear_image = 4
|
| 69 |
+
use_ISA_images = 1
|
| 70 |
+
use_ILA_images = 1
|
| 71 |
+
use_ILA_images_for_getting_txt_symbols_areas = 0
|
| 72 |
+
use_ILA_images_before_clear_txt_images_from_borders = 0
|
| 73 |
+
use_gradient_images_for_clear_txt_images = 1
|
| 74 |
+
clear_txt_images_by_main_color = 1
|
| 75 |
+
use_ILA_images_for_clear_txt_images = 1
|
| 76 |
+
min_points_number = 30
|
| 77 |
+
min_points_density = 0.3
|
| 78 |
+
min_symbol_height = 0.02
|
| 79 |
+
min_symbol_density = 0.2
|
| 80 |
+
min_NEdges_points_density = 0.2
|
| 81 |
+
threads = -1
|
| 82 |
+
ocr_threads = -1
|
| 83 |
+
sub_frame_length = 8
|
| 84 |
+
text_percent = 0.3
|
| 85 |
+
min_text_len_in_percent = 0.022
|
| 86 |
+
vedges_points_line_error = 0.3
|
| 87 |
+
ila_points_line_error = 0.3
|
| 88 |
+
video_contrast = 1
|
| 89 |
+
video_gamma = 1
|
| 90 |
+
clear_txt_folders = 1
|
| 91 |
+
join_subs_and_correct_time = 1
|
| 92 |
+
clear_image_logical = 0
|
| 93 |
+
clean_rgb_images_after_run = 0
|
| 94 |
+
min_sub_duration = 0
|
| 95 |
+
def_string_for_empty_sub = [sub_duration]
|
| 96 |
+
txt_dw = 5
|
| 97 |
+
txt_dy = 5
|
| 98 |
+
use_ISA_images_for_search_subtitles = 1
|
| 99 |
+
use_ILA_images_for_search_subtitles = 1
|
| 100 |
+
replace_ISA_by_filtered_version = 1
|
| 101 |
+
max_dl_down = 20
|
| 102 |
+
max_dl_up = 40
|
| 103 |
+
remove_wide_symbols = 0
|
| 104 |
+
hw_device = cpu
|
| 105 |
+
filter_descr = none
|
| 106 |
+
text_alignment = 0
|
| 107 |
+
save_each_substring_separately = 0
|
| 108 |
+
save_scaled_images = 1
|
| 109 |
+
playback_sound = 0
|
| 110 |
+
border_is_darker = 1
|
| 111 |
+
extend_by_grey_color = 0
|
| 112 |
+
allow_min_luminance = 100
|
| 113 |
+
bottom_video_image_percent_end = 0
|
| 114 |
+
top_video_image_percent_end = 0.3
|
| 115 |
+
left_video_image_percent_end = 0
|
| 116 |
+
right_video_image_percent_end = 1
|
| 117 |
+
toolbar_bitmaps_transparent_colour = 192,192,192
|
| 118 |
+
ocr_join_images_clear_dir = 1
|
| 119 |
+
ocr_join_images_join_rgb_images = 0
|
| 120 |
+
ocr_join_images_use_txt_images_data_for_join_rgb_images = 1
|
| 121 |
+
ocr_join_images_split_line = [sub_id]
|
| 122 |
+
ocr_join_images_split_line_font_size = -1
|
| 123 |
+
ocr_join_images_split_line_font_bold = 1
|
| 124 |
+
ocr_join_images_sub_id_format = [%d]
|
| 125 |
+
ocr_join_images_sub_search_by_id_format = \[%d\](.*?)\[\d+\]
|
| 126 |
+
ocr_join_images_scale = 1
|
| 127 |
+
ocr_join_images_max_number = 50
|