Agisoft Metashape
Agisoft Metashape => Python and Java API => Topic started by: WickedShell on April 04, 2013, 07:18:37 AM
-
I'd like to run Photoscan in a headless environment on a remote machine, and control everything through SSH and Python scripting, but to do this I need to be able to either start photo scan from the command line with arguments to a python script, or (even better) to be able to call Photoscan python functionality from an external python script. Is there anyway to currently go about this?
I'm interested in this from a Linux context by the way. If I have to I can probably get a full X11 session started and run it remotely over X11 transport, but that is a very inefficient way to do it, and a lot would be gained by not needing that.
-
We are really interested in that as well! I'm working on integrating PhotoScan into our image processing chain, and so far everything goes smoothly, but there is still the need for a human hand to run the scripts. Which we'd like to avoid as we have a rather large number of projects. Ideally, only "failed" projects that did not match well should be manually processed.
-
Has there been any progress on this one? I'm looking at using photoscan on GPU cluster remotely.
-
I'll add another +1 for this suggestion. Being able to do:
photoscan my_custom_script.py
would be great.
-
Bump.
I'd really like to know if this is in the pipeline or not, or could be considered for it. This would be a *very* valuable feature add for usage on remote machines. And its an issue that has come up again and is sadly making me reevaluate my entire workflow as I can not scale up to meet processing needs effectively.
-
Bump.
I'm also interested in running Photoscan in a headless environment. Please keep us posted Agisoft.
-
Hey there,
I'm also interested in this feature..running PhotoScan over python scripting without gui on remote server would be the decisionmaker for pro license purchase ::)
please let us know if this is planned for the future or already in work
-
+1
With the number of people trying to use Agisoft as part of a data pipeline, I'm really surprised Agisoft has not opened up this feature and with some form of licensing to be run as a server processing library.
-
Just want to check back in... any progress on headless mode?
-
I would like to see this, too.
-
Currently command-line access is not a planned feature for the next version.
-
Hi,
Is it possible to start a python-script (for batch processing) without starting Photoscan/GUI? Or is it only possible in the console in Photoscan?
-
Hello Mike11,
PhotoScan Python scripts cannot be run from command line and always require GUI.
-
Okay...Someone told me command line processing without GUI was added in a previous version (0.83 professional) and I wanted to check if he was right.
-
Hello Mike11,
It has been added in 0.8.3 and removed in 0.8.4.
-
Okay
Is it planned to add the function again? What was the reason to remove this function?
Many thanks for your reply!!
-
Please can we get this added! It is crazy necessary for many workflows!
-
Hello, is there a way I can call an photoscan python script from the command line instead of console inside photoscan?
-
Hello,
For a project, I want to use a computer more powerful to process my pictures. To do that, I have to provide a script that will be called outside of photoscan.
Is it possible to load a python script without opening photoscan or to open photoscan and then load the python script without using the GUI?
Thank you
-
Hi,
I would be interested also in a GUI-less version. Any plans for this ?
Thx
Julien
-
Just adding more support to this. Being able to run headless or batches would be huge!
Kevin
-
yep, it would be awesome to run python scripts GUI-less! Are there any plans for this?
-
Hello,
my question is, as said in the title, if Agisoft doesnt like it, if Photoscan is used without its GUI.
Hello Mike11,
PhotoScan Python scripts cannot be run from command line and always require GUI.
Best regards,
Alexey Pasumansky,
AgiSoft LLC
http://www.agisoft.com/forum/index.php?topic=3734.0 (http://www.agisoft.com/forum/index.php?topic=3734.0)
Regards
-
Hello all,
In the version 1.3 it would be possible to run the processing script from the command-line, by passing the script as an argument without the need to open GUI.
For example, for Windows version it is:
photoscan.exe -r script.py
-
this sounds like a great feature :)
-
Hi
In the change log for version 1.3 it is written:
Added support for running scripts from command line.
Added advanced Python console.
Is it any documentation for this?
m
-
Hi
I found photoscan --help
m