Auto Track Node API (PyAutoTrackNode class)
This is the class for manipulating Auto Track nodes in the tracking tree. This class inherits from the generic PyNode class.
void autoTrack()
- run the auto tracking - equivalent to pressing the "Auto-Track" button in the GUI.
int getCandidateNumber()
- returns the number of candidate feature tracks.
void setCandidateNumber(int)
- sets the number of candidate feature tracks to the specified value.
int getTargetNumber()
- returns the number of target feature tracks.
void setTargetNumber(int)
- sets the number of target feature tracks to the specified value.
int getWindowSize()
- returns the window size.
void setWindowSize(int)
- sets the window size to the specified value.
float[2] getSearchRange()
- returns a tuple of 2 floats for the x and y values of the feature tracking search range.
void setSearchRange(int x, int y)
- sets the feature tracking search range to the specified values.
float getPickThreshold()
- returns the feature picking threshold.
void setPickThreshold(float)
- sets the feature picking threshold to the specified value.
int getMinLength()
- returns the minimum track length.
void setMinLength(int)
- sets the minimum track length to the specified value.
float getFailureThreshold()
- returns the tracking failure threshold.
void setFailureThreshold(float)
- sets the tracking failure threshold to the specified value.
int getChannels()
- returns the tracking colour channels as an integer where the value is the combination of:
- 1= Red
- 2= Blue
- 4= Green
void setChannels(int)
- sets the tracking colour channels to the specified value.
int getFeatureScale()
- returns the feature selection scale as an integer where the value is:
- 0= Small
- 1= Large
void setFeatureScale(int)
- sets the feature selection scale to the specified value
int getImageProxy()
- returns the proxy level for feature tracking as an integer where the values is:
- 0= None
- 1= Third
- 2= Half
- 3= Quarter
void setImageProxy(int)
- sets the proxy level for feature tracking to the specified value.
int getSearchMode()
- returns the tracking search mode as an integer where the value is:
- 0= Better Speed
- 1= Better Accuracy
- 2= Optical Flow
void setSearchMode(int)
- sets the tracking search mode to the specified value.
int getDeformation()
- returns the reference window deformation mode as an integer where the value is the combination of:
- 1= Rotate
- 2= Skew
- 4= Scale
void setDeformation(int)
- sets the reference window deformation mode to the specified value.
int getConsistency()
- returns the tracking consistency checking mode as an integer where the values is:
- 0= None
- 1= Free Camera
- 2= Rotation Only
- 3= Unconstrained
void setConsistency(int)
- sets the tracking consistency checking mode to the specified value.
int getBacktrack()
- returns whether back tracking is performed where the value is 1=yes, 0=no.
void setBacktrack(int)
- sets whether back tracking is performed to the specified value.
int getSpread()
- returns whether trackers are spread evenly around the image the where the value is 1=yes, 0=no.
void setSpread(int)
- sets whether trackers are spread evenly around the image to the specified value.
int getBlurImage()
- returns whether the image is blurred before tracking where the value is 1=yes, 0=no.
void setBlurImage(int)
- sets whether the image is blurred before tracking to the specified value.
int getIllumination()
- returns whether illumination changes are allowed for during tracking where the value is 1=yes, 0=no.
void setIllumination(int)
- sets whether illumination changes are allowed for during tracking to the specified value.
int getFromFrame()
- returns the start frame for tracking.
void setFromFrame(int)
- sets the start frame for tracking to the specified value.
int getToFrame()
- returns the end frame for tracking.
void setToFrame(int)
- sets the end frame for tracking to the specified value.