Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - adams

Pages: [1]
Python and Java API / Import OPK from ASCII file and convert them to YPR
« on: September 19, 2016, 02:40:12 PM »

Is it possible to import OPK from ASCII file, and then convert them to Yaw,Pitch, Roll   using script below:

Code: [Select]
#to convert opk into ypr
yaw, pitch, roll = PhotoScan.utils.mat2ypr(PhotoScan.utils.opk2mat(PhotoScan.Vector((omega, phi, kappa))).t())

I have no idea how to import OPK from ASCII file (ID, X, Y, Z, omega, phi kappa) without numpy...

I count on your support

Pages: [1]