Forum

Author Topic: Command line access  (Read 12447 times)

olihar

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Command line access
« on: May 15, 2011, 04:45:00 PM »
I haven't been able to find anything about this.

Is there a commend line access to Photoscan.

If not, is this planned? as this could be such a great feature.

Denis Rodikov

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Command line access
« Reply #1 on: May 17, 2011, 01:14:38 PM »
Hello!

We are working at extending Python with some PhotoScan classes and embedding it into PhotoScan. So we are interested which features are the most necessary.

Best regards, Denis Rodikov, AgiSoft LLC

jan

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: Command line access
« Reply #2 on: May 17, 2011, 02:53:28 PM »
It would be great if one can get access and run photoscan completely from a remote computer from a terminal. In this way, one could upload photos to a remote computer, process the data with photoscan remotely with ssh access, and at the end of all processes (alignment, geo-building, texturing) download the result (e.g. psz file, orthophoto, ...) to the local client. Unfortunately placing markers would be impossible from a terminal in my opinion.
« Last Edit: May 17, 2011, 04:29:09 PM by jan »

olihar

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: Command line access
« Reply #3 on: May 19, 2011, 07:47:35 PM »
I indeed think this could be interesting to be able to run the whole process in one go through the command line, in steps of all at once.

As well with the possibility to input your own data if wanted, for example a bundle.out file or your own mesh. Just to name 2 things.

WickedAndy

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Command line access
« Reply #4 on: July 01, 2011, 07:04:51 PM »
python access would be fantastic! but some commandline options such as the following would be really handy.

photoscan -i framelist.txt -c camerafile.xml -o modelout.obj -t -v
               -i , input image files for processing for chunk "could also contain path to calibration.xml"
               -c , input camera "same as Import Cameras.."
               -o , output model, format determind by extension
               -t , generate textures
               -v , verbose shell output
                                        -a {output.xml} , perform initial alignment optional save camerafile.xml



just a start, but for batching a sequence this would be a lifesaver.

adamski

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Command line access
« Reply #5 on: March 05, 2012, 01:58:26 AM »
This looks to be an oldish request, but please consider this an additional 'yes please, add command line support'.

As per WickedAndy, command line access with options would be great.

I'd also be really happy to the Python interface, for example laying out all the required options in a python script and typing 'runMyPhotoscanJob.py' into the terminal.

Thanks!
Adam


wyrmhal

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Command line access
« Reply #6 on: March 04, 2013, 01:27:52 AM »
It seems the Python API has been fully implemented yet, though it's only available for the professional edition.
Is a CLI implementation still planned? And if so, could it be possible to use it with the standard edition?