forked from mathewthe2/Game2Text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ini
74 lines (62 loc) · 1.57 KB
/
config.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[APPEARANCE]
fontsize = 29
darktheme = true
selection_color = hotpink
selection_line_width = 1
[APPCONFIG]
browser = default
host = localhost
port = 0
[ANKICONFIG]
ankiserver = http://127.0.0.1:8765
deck = 日本語
model = Anime
cardtags = Game2Text
anki_dictionary = jmdict_english
[OCRCONFIG]
engine = Tesseract Default
tesseract_language = jpn
ocr_space_language = jpn
oem = 3
extra_options = "-c chop_enable=T -c use_new_state_cost=F -c segment_segcost_rating=F -c enable_new_segsearch=0 -c language_model_ngram_on=0 -c textord_force_make_prop_words=F -c edges_max_children_per_outline=40"
[TRANSLATIONCONFIG]
translation_service = Papago
source_lang = ja
target_lang = en
[LOGCONFIG]
launchlogwindow = false
currentsessionmaxlogsize = 30
lastsessionmaxlogsize = 15
logimages = true
logimagetype = jpg
logimagequality = 1.0
resize_screenshot = false
resize_screenshot_max_width = 1280
resize_screenshot_max_height = 720
logaudio = false
logaudiotype = mp3
logaudioduration = 7.0
logaudioframes = 512
logaudiohost = Windows WASAPI
logaudiodevice = CABLE Input (VB-Audio Virtual Cable)
gamescriptfile =
[SCRIPTMATCHCONFIG]
confidence_threshold = 85
match_limit = 5
[TEXTHOOKERCONFIG]
remove_repeat = true
remove_spaces = true
[WINDOWS_HOTKEYS]
refresh_ocr = <ctrl>+q
add_to_anki = <shift>+e
record_audio = <ctrl>+l
[MAC_HOTKEYS]
refresh_ocr = <cmd>+b
add_to_anki = <shift>+e
record_audio = <cmd>+l
[LINUX_HOTKEYS]
refresh_ocr = <ctrl>+q
add_to_anki = <shift>+e
record_audio = <ctrl>+l
[PATHS]
textractor = default