blender/release/scripts/presets/tracking_settings/fast_motion.py
Sergey Sharybin 57b62881f4 Added track weight to presets
Useful for cases when you need to create bunch of witness tracks.
2014-02-19 18:43:36 +06:00

19 lines
590 B
Python

import bpy
settings = bpy.context.edit_movieclip.tracking.settings
settings.default_pattern_size = 31
settings.default_search_size = 151
settings.default_motion_model = 'LocRot'
settings.use_default_brute = True
settings.use_default_normalization = True
settings.use_default_mask = False
settings.default_frames_limit = 0
settings.default_pattern_match = 'PREV_FRAME'
settings.default_margin = 0
settings.use_default_red_channel = True
settings.use_default_green_channel = True
settings.use_default_blue_channel = True
settings.default_correlation_min = 0.6
settings.default_weight = 1.0