-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ability to choose .ini file at startup. Added more settings on .ini file and on the GUI
- Loading branch information
Showing
5 changed files
with
207 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,37 @@ | ||
[INTEGRATION] | ||
commander = False | ||
log4om = True | ||
log4om = False | ||
|
||
[OCR] | ||
language = train | ||
whitelist = .1234567890 | ||
debug = True | ||
debug = False | ||
confidence = 40 | ||
framedelta = 0.036 | ||
|
||
[CAMERA] | ||
device = 2 | ||
frame_width = 352 | ||
frame_height = 288 | ||
brightness = 6 | ||
device = 1 | ||
frame_width = 640 | ||
frame_height = 480 | ||
brightness = 100 | ||
exposure = 0 | ||
|
||
[PREPROCESS] | ||
brightness = 61 | ||
brightness = 105 | ||
slant = 0.95 | ||
threshold = 252 | ||
threshold = 197 | ||
autoroi = False | ||
invert = True | ||
scale = 200 | ||
rotate180 = True | ||
rotate180 = False | ||
|
||
[POSTPROCESS] | ||
strip = , . | ||
nodecimal = False | ||
|
||
[VOICE] | ||
enabled = False | ||
volume = 0.25 | ||
volume = 0.5 | ||
rate = 125 | ||
welcome = Welcome to py Radio O C R | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[INTEGRATION] | ||
commander = False | ||
log4om = False | ||
|
||
[OCR] | ||
language = train | ||
whitelist = .1234567890 | ||
debug = False | ||
confidence = 40 | ||
framedelta = 0.3 | ||
|
||
[CAMERA] | ||
device = 2 | ||
frame_width = 640 | ||
frame_height = 480 | ||
brightness = 120 | ||
exposure = 0 | ||
|
||
[PREPROCESS] | ||
brightness = 0 | ||
slant = 1.0 | ||
threshold = 103 | ||
autoroi = False | ||
invert = False | ||
scale = 100 | ||
rotate180 = False | ||
|
||
[POSTPROCESS] | ||
strip = , . | ||
nodecimal = False | ||
|
||
[VOICE] | ||
enabled = False | ||
volume = 1.0 | ||
rate = 125 | ||
welcome = Welcome to py Radio O C R | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[INTEGRATION] | ||
commander = False | ||
log4om = False | ||
|
||
[OCR] | ||
language = train | ||
whitelist = .1234567890 | ||
debug = False | ||
confidence = 40 | ||
framedelta = 0.036 | ||
|
||
[CAMERA] | ||
device = 1 | ||
frame_width = 640 | ||
frame_height = 480 | ||
brightness = 100 | ||
exposure = 0 | ||
|
||
[PREPROCESS] | ||
brightness = 105 | ||
slant = 0.95 | ||
threshold = 197 | ||
autoroi = False | ||
invert = True | ||
scale = 200 | ||
rotate180 = False | ||
|
||
[POSTPROCESS] | ||
strip = , . | ||
nodecimal = False | ||
|
||
[VOICE] | ||
enabled = False | ||
volume = 0.5 | ||
rate = 125 | ||
welcome = Welcome to py Radio O C R | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[INTEGRATION] | ||
commander = False | ||
log4om = False | ||
|
||
[OCR] | ||
language = train | ||
whitelist = .1234567890 | ||
debug = True | ||
confidence = 40 | ||
framedelta = 0.3 | ||
|
||
[CAMERA] | ||
device = 0 | ||
frame_width = 352 | ||
frame_height = 288 | ||
brightness = 5 | ||
exposure = 0 | ||
|
||
[PREPROCESS] | ||
brightness = 61 | ||
slant = 0.95 | ||
threshold = 252 | ||
autoroi = False | ||
invert = True | ||
scale = 200 | ||
rotate180 = True | ||
|
||
[POSTPROCESS] | ||
strip = , . | ||
nodecimal = False | ||
|
||
[VOICE] | ||
enabled = False | ||
volume = 1.0 | ||
rate = 125 | ||
welcome = Welcome to py Radio O C R | ||
|
Oops, something went wrong.