خرید بک لینک

Vote count: 0

So I was trying to convert pixel to spatial coordinates when i found the package image_geometry. So i decided i would try to use it, i initialized it, and called the desired function, taken fro the API. Here's what i did

import image_geometry
from image_geometry import PinholeCameraModel

self.img_geo = PinholeCameraModel()
(r_x,r_y,r_z) = self.img_geo.projectPixelTo3dRay((359,285))
print(r_x)

Obviously the self.img_geo is in my init function and then later on i use the projection function, and then get that error. Any ideas whats wrong?

asked 24 secs ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 31 خرداد 1395 ساعت: 20:41

صفحه بندی