Forum

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 - tuqubao

Pages: [1]
1
We are working on a project that import some 2D points on capture image as markers in PhotoScan,then got the 3D coordinates of these 2D points on processed model.All the process was done by using python script.

Now,we got some troubles.If we import markers via an txt file,the txt file includes the 2D coordinates on image.We use this way(marker.projection[camera] = (imgX,imgY)) to add marker on image,but it can't estimated the marker's position on other image unless you use the Right+Click>Create Marker on one image.Right click way can estimate the marker's position on other image automatically.

How to use python script to achieve the same effect in using the Right+Click>Create Marker. Just add marker on one image,then estimate the marker's position on other image automatically.

By the way,I confuse about the new python script API Utils.createMarkers(chunk,projections) method,the document show that projections parameter is the list of(camera,x,y,r)tuple,what's the r mean? 

Thanks

2
Python and Java API / Re: Need help with addMarker method
« on: July 23, 2017, 04:25:29 PM »
Hello tpubben,

You need to have at least two projections for the marker on the aligned photos to have information about its estimated position in the space.

I also question. when my project is rendering finished, I add a marker to one photos by mouse click frome inside photoscan's photos's window,  another 2d coordinate  will automate add to the other photos ,and I can get the marker 3d coordinate info by the python api. I do the thing right by mamual, but when I add marker by coder , I can't get the right marker 3d coordinate .
this is why and how, please.

3
Python and Java API / Re: Need help with addMarker method
« on: July 23, 2017, 04:17:23 PM »
 :)

Pages: [1]