Skip to content

Commit

Permalink
fix: Update preset for n99 and standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ong committed Aug 23, 2020
1 parent 1da07ca commit ed56ef5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions nestris_ocr/calibration/presets.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# default standalone preset. Ideal for capturing
# default standalone preset. Ideal for capturing stats only
def preset_standalone(config):
# score, lines, level, stats
config["stats.enabled"] = True
Expand All @@ -15,15 +15,16 @@ def preset_dastrainer_standalone(config):
pass


# default nestris99 preset. ideal for streaming to internet.
# default nestris99 preset. ideal for connecting to n99 client
def preset_nestris99(config):
# board, score, lines, level, preview
config["stats.enabled"] = False
config["calibration.capture_field"] = True
config["calibration.capture_preview"] = True
config["network.host"] = "ec2-13-237-232-112.ap-southeast-2.compute.amazonaws.com"
config["calibraiton.capture_line_clear"] = True
config["network.host"] = "localhost"
config["network.port"] = 3338
config["network.protocol"] = "AUTOBAHN_V2"
config["network.protocol"] = "WEBSOCKET_SERVER"


def preset_none(config):
Expand Down

0 comments on commit ed56ef5

Please sign in to comment.