Forum

Author Topic: workflow-automatic  (Read 4376 times)

harald

  • Newbie
  • *
  • Posts: 1
    • View Profile
workflow-automatic
« on: November 06, 2014, 06:03:51 PM »
hello,

I have the following request. I am a absolutely beginner in Python.
I need a script that performs the following.
(to now is: the chunks already created and the photos are loaded)

-Align Photos (for each chunk)
-Build Dense cloud (for each chunk)
-Build Mesh ((for each chunk)
-Align Chunks (All chunks)
-merge chunks

I don't want to call on [Workflow >> batch process] because I have to control the program via cmd.

I know this link will be declared like this:
  http://www.agisoft.com/forum/index.php?topic=1881.0

but I can not rewrite so far that the code runs .

The next question would be how can I run the script via cmd.

Ex .:

'C: .. \ photoscan.exe' "C: \ Phyton33 \ photoscan.py"
???
 
would be nice if someone could help me. (sorry for my nescience :-[)

With very best regards
Harald

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14853
    • View Profile
Re: workflow-automatic
« Reply #1 on: November 06, 2014, 06:06:31 PM »
Hello Harald,

Processing scripts could be only run from PhotoScan GUI using Run Script dialog, it is not possible to run the script from the command line.
Best regards,
Alexey Pasumansky,
Agisoft LLC