Skip to content

Commit

Permalink
New features and bug fixes
Browse files Browse the repository at this point in the history
Added ability to choose .ini file at startup. 
Added more settings on .ini file and on the GUI
  • Loading branch information
VA3HDL authored Feb 2, 2023
1 parent 9f3a25a commit 1bec69a
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 51 deletions.
22 changes: 12 additions & 10 deletions config.ini
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

37 changes: 37 additions & 0 deletions config_hdcam.ini
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

37 changes: 37 additions & 0 deletions config_logi_c920.ini
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

37 changes: 37 additions & 0 deletions config_logi_exp.ini
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

Loading

0 comments on commit 1bec69a

Please sign in to comment.