Forum

Author Topic: starting  (Read 5685 times)

jan

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
starting
« on: March 02, 2012, 12:37:04 AM »
Hello,

where to find PhotoScan.py?

as I understand with my little knowledge about python, has to be somewhere,

because the tutorial begins with

import PhotoScan

I've found a map in photoscan-pro/python/lib/python3.2 with a lot of *.py files; but no file has the name PhotoScan.py

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 9263
    • View Profile
Re: starting
« Reply #1 on: March 02, 2012, 02:02:57 PM »
Hello Jan,

PhotoScan is a built-in module in PhotoScan.
Best regards,
Alexey Pasumansky,
AgiSoft LLC

jan

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: starting
« Reply #2 on: March 02, 2012, 09:53:46 PM »
Hello Alexey,

but I don't know how to access it.

If I open a python console, by typing python in a terminal in Ubuntu Linux; and type 'import Photoscan' (without quotes)

I get the following error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named PhotoScan

Do I have to open the python console in a specific folder, or what else could I do wrong?

I use the latest PhotoScan version 0.8.4.1289,

I'm using Ubuntu 10.04 LTS

regards

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 9263
    • View Profile
Re: starting
« Reply #3 on: March 02, 2012, 10:31:03 PM »
Hello Jan,

Currently PhotoScan Python module is only accessible from PhotoScan GUI.
Best regards,
Alexey Pasumansky,
AgiSoft LLC

jan

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
Re: starting
« Reply #4 on: March 03, 2012, 06:42:58 PM »
Does anybody know if it is possible to access the GUI of photoscan on a remote linux machine, from a windows machine with xming and x11-forwarding enabled putty.

I always run into this error:
xlib: extension "NV-GLX" missing on display "localhost:11.0"

google didn't help much. Maybe this is just not possible with photoscan?

Is there anyhow a way to use photoscan remotely from a to z:

1) uploading pictures as photoscan input to the remote machine (of course no problem)
2) starting and running photoscan remotely (all steps)
3) downloading photoscan output (e.g. orthophoto)

?

kind regards,
Jan

adamski

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: starting
« Reply #5 on: March 05, 2012, 01:54:23 AM »
Hello Jan,

Currently PhotoScan Python module is only accessible from PhotoScan GUI.

Ah! I am in the same position as Jan - I would like to run photoscan on a big compute box from a remote machine so invoking the whole process from a command-line script is very desirable!

I take it, that this means I need to open the photoscan GUI over the network in order to make it go?

Thanks

Adam