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

Pages: [1]
1
Python and Java API / Marker CoOrd placement in portrait oriented images
« on: November 21, 2017, 06:33:26 AM »
I have some XY marker locations computed from landmark detection outside photoscan - these work for landscape oriented photos (5184x3456), however PS fails to change the image dimensions for portrait images (90' rotation), so the coordinates are off when read in from txt file and projected with a python script.

Is there any easy fix to compensate?

 

2
Python and Java API / Re: Auto process on start
« on: March 12, 2014, 07:39:37 PM »
Have support confirmed this functionality is for sure deprecated? It does seem like trying to grab:
Code: [Select]
doc = PhotoScan.Application.documentfrom a script that autoruns on startup from your 'Scripts' directory does indeed return None.

The workaround of
Code: [Select]
newdoc = PhotoScan.Document()
PhotoScan.Application.document = newdoc

fails as the document attribute of the Application object is read only...

I guess the only way, as suggested, is to place the script under a custom menu item and have the user start it from there. Shame to lose some degree of automation though :(


Pages: [1]