Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: sarko on September 06, 2012, 02:50:19 AM

Title: Increasing number of point
Post by: sarko on September 06, 2012, 02:50:19 AM
So, I've had a fun day of learning about the PhotoScan API.  I have a couple questions that I'm hoping someone can answer. 

1.  Is there any planned date for release of the ability to alignPhotos and filter by mask?  That is a pretty important feature and a time saver. 

2.  When I run my python script from from the Tools->Run Script menu it does not seem to be using the preferences that PhotoScan has set.  In my case, I would like to detect more than 40000 points per image, but that is the default and all I can get.  My preferences are set to 150000, but they seem to be ignored.  Is there a way to correct this? 

I guess that is about it for now.  I like the API for now and thank you for providing it. 


Title: Re: Increasing number of point
Post by: Alexey Pasumansky on September 06, 2012, 09:16:53 AM
Hello Scott,

Both this features are implemented in Python API of PhotoScan Pro 0.9.0.

Code: [Select]
chunk.matchPhotos(accuracy=’high’, preselection=’disabled’, filter_mask=True, point_limit=150000)
chunk.alignPhotos()