1
Python and Java API / Setting region size based on markers
« on: October 03, 2014, 07:07:25 PM »
Hi,
i`m doing python script, that would load pictures, find automatic markers (12bit), align cameras when i put manually 4 marker coordinates (in metres). I`m trying to create region based on those 3 real world markers, but i can`t properly do it taking from markers.
I tried taking it from markers.position, from groundControl.coord, still no luck. I have triangle of markers on ground and would like to take center and x,y size from that, and the z and height size from the last one. Anybody did something similiar? I found a lot scripts for rotating, but no for size/center. Rotating is not the issue here, as the scene is properly roteted because of that 3-marker-triangle on ground.
Any help appreciated
i`m doing python script, that would load pictures, find automatic markers (12bit), align cameras when i put manually 4 marker coordinates (in metres). I`m trying to create region based on those 3 real world markers, but i can`t properly do it taking from markers.
I tried taking it from markers.position, from groundControl.coord, still no luck. I have triangle of markers on ground and would like to take center and x,y size from that, and the z and height size from the last one. Anybody did something similiar? I found a lot scripts for rotating, but no for size/center. Rotating is not the issue here, as the scene is properly roteted because of that 3-marker-triangle on ground.
Any help appreciated