def initNetTables(self): from nt3656 import Nt3656 self.nt3656 = Nt3656()
import os.path import datetime import json import numpy import remi.gui as gui from remi.gui import * from remi import start, App from calibrateutils import CalibrateTool #from plotlywidget import PlotlyWidget # Read in config values from nt3656 import Nt3656 nt3656 = Nt3656() hsvValuesRead = False userhome = os.path.expanduser("~") exec(open(os.path.join(userhome, "dreadbots_config.py")).read()) LABEL_CAPTURED = "Captured (click to toggle)" LABEL_ANNOTATED = "Live Annotation (click to toggle)" class MyEncoder(json.JSONEncoder): def default(self, obj): if isinstance(obj, numpy.integer): return int(obj) elif isinstance(obj, numpy.floating):