Export the Featuretracks of Nuke's CameraTracker Node into a txt file
Export CameraTracker's Featuretracks
Updated: 29 July 2019
Author: henrietta
Compatible Nuke versions: All
Compatibility:
Export the Featuretracks of Nuke's CameraTracker
My supervisor found the script on the following website.
It wasn't working properly, so I started dissecting the Node myself, which resulted in this python file.
Installation:
- Copy create_featuretracks_from_cameratracker.py into your nuke environment
- Insert following two lines into your menu.py
import create_featuretracks_from_cameratracker
nuke.addOnCreate(create_featuretracks_from_cameratracker.create_knob, nodeClass='CameraTracker')
The resulting txt file is formatted in a way, so that PFTrack can handle the information. Enclosed in the README.txt file is a description of how you can modify the output file to your liking.