Forum

Author Topic: Example code for full processin chain  (Read 34196 times)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Example code for full processin chain
« Reply #15 on: August 19, 2015, 05:13:24 PM »
Hello pap014,

To init the coordinate system in 1.1 the following line should be used:
Code: [Select]
chunk.crs = PhotoScan.CoordinateSystem( CoordinateSystemEPSG)
Best regards,
Alexey Pasumansky,
Agisoft LLC

pap014

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Example code for full processin chain
« Reply #16 on: August 21, 2015, 12:46:45 PM »
Thank you very much ! I understand that chunk.ground_control doesn't exist anymore as well as other function that changed. Where can i find the new version of the function ? is it all here http://www.agisoft.com/pdf/photoscan_python_api_1_1_0.pdf ?

Thank you for your help !

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Example code for full processin chain
« Reply #17 on: August 21, 2015, 01:42:15 PM »
Hello pap014,

The link provided refers to the Python API version 1.1.

Coordinate information is now put to camera/marker property.
Best regards,
Alexey Pasumansky,
Agisoft LLC

pap014

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Example code for full processin chain
« Reply #18 on: August 24, 2015, 01:10:41 PM »
Ok, I've adapted a more recent script to export orthophotos and it looks like it works well. Do you know if it's possible to use Arcpy library for arcgis within a python script for photoscan ?
Thank you very much !

BarryReid

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Example code for full processin chain
« Reply #19 on: August 27, 2015, 09:34:33 AM »
removed
« Last Edit: August 27, 2015, 09:38:03 AM by BarryReid »

pap014

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Example code for full processin chain
« Reply #20 on: August 27, 2015, 11:28:38 AM »
hello, You mean that the possibility of using arcpy within photoscan has been removed ? thanks a lot

Blaine

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Example code for full processin chain
« Reply #21 on: August 03, 2016, 06:04:46 PM »
Could someone explain what is meant by calibration file and orientation file? I am just starting to use Python and PhotoScan.