Forum

Author Topic: Load Reference not working  (Read 4186 times)

felipe

  • Newbie
  • *
  • Posts: 5
    • View Profile
Load Reference not working
« on: October 08, 2017, 07:37:14 PM »
Hello,

I´m using de load reference this directory and return sucess result and Align Camera.

Code: [Select]
chunk0.addPhotos(['c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09993.JPG','c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09994.JPG','c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09995.JPG','c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09996.JPG','c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09997.JPG','c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09998.JPG','c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09999.JPG'])
chunk0.loadReference('c:\\__Imagens_a_processar\\1576z1\\Fotos\\voo 1\\Direita\\GEOAG_CAM_DIR_100.txt',PhotoScan.ReferenceFormat.ReferenceFormatCSV, '[n|y|x|z|c|b|a|Y|X|Z]', ' ',skip_rows=1)

If i´m using this directory, load references not work. But load all photos the same directory.
Code: [Select]
chunk1.addPhotos(['c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09993.JPG','c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09994.JPG','c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09995.JPG','c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09996.JPG','c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09997.JPG','c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09998.JPG','c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\DSC09999.JPG'])
chunk1.loadReference('c:\\__Imagens_a_processar\\1577z1_1588z1\\Fotos\\voo 1\\Esquerda\\GEOAG_CAM_DIR_100.txt',PhotoScan.ReferenceFormat.ReferenceFormatCSV, '[n|y|x|z|c|b|a|Y|X|Z]', ' ',skip_rows=1)

The reference files is the same for both cases.

Thanks

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15472
    • View Profile
Re: Load Reference not working
« Reply #1 on: October 08, 2017, 10:13:42 PM »
Hello felipe,

Do you have any error messages in the Console pane?

Also does the load reference operation works from GUI for the second case?
Best regards,
Alexey Pasumansky,
Agisoft LLC