Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)
That's it!
//Eigen::MatrixXd src = pointsToMatrix(pointsA[i]); | |
//Eigen::MatrixXd dst = pointsToMatrix(pointsB[j]); | |
//Eigen::Matrix4d cR_t = Eigen::umeyama(src, dst, true); | |
//Eigen::Matrix4d R_t = Eigen::umeyama(src, dst, false); | |
//Eigen::Matrix3d R = R_t.block(0,0,3,3); | |
//Eigen::Vector3d t = R_t.block(0,3,3,1); |
ffmpeg -i shame-run.mov -r 24/1 test/output%03d.jpg |
Using Python's built-in defaultdict we can easily define a tree data structure:
def tree(): return defaultdict(tree)
That's it!