Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: mks_gis on August 31, 2018, 03:42:35 PM

Title: How do you access total tie point number in Python
Post by: mks_gis on August 31, 2018, 03:42:35 PM
Hi,

 In the tie point information PS gives you y of x tie points. You can get the active number of tie points (y) by using len([i for i in chunk.point_cloud.points]). How do I access x, i.e the original number of tie points in Python, I can't find it in the reference doc?

Cheers
M.
Title: Re: How do you access total tie point number in Python
Post by: Alexey Pasumansky on August 31, 2018, 06:40:44 PM
Hello mks_gis,

number of valid tie points should be accessed via len(chunk.point_cloud.points) and total number of tie points via len(chunk.point_cloud.tracks).
Title: Re: How do you access total tie point number in Python
Post by: mks_gis on September 01, 2018, 04:06:06 PM
Thanks Alexey!