ha4t.aircv.settings module

class Settings[源代码]

基类:object

DEBUG = False
LOG_DIR = None
LOG_FILE = 'log.txt'
static RESIZE_METHOD(w, h, sch_resolution, src_resolution, design_resolution=(960, 640))

图像缩放规则: COCOS中的MIN策略.

CVSTRATEGY = ['mstpl', 'tpl', 'sift', 'brisk']
KEYPOINT_MATCHING_PREDICTION = True
THRESHOLD = 0.7
THRESHOLD_STRICT = None
OPDELAY = 0.1
FIND_TIMEOUT = 20
FIND_TIMEOUT_TMP = 3
PROJECT_ROOT = ''
SNAPSHOT_QUALITY = 10
IMAGE_MAXSIZE = None
SAVE_IMAGE = True